
Recherche avancée
Autres articles (47)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8688)
-
How to configure FFMPEG to generate position independent code on IOS
8 juillet 2013, par madadiI am developing an app on iOS which makes use of FFMPEG for video decoding. I want to get 'position independent code' of FFMPEG working on my app.
--enable-pic
option in the FFMPEG configuration generates position independent code only if I set--disable-asm
. I concluded this when I ran the otool on my app(otool -hv 'appname'
). Below are the details :If I set
--enable-pic
alone, below is the output with otool :magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC ARM V7 0x00 EXECUTE 29 3724 NOUNDEFS DYLDLINK TWOLEVEL WEAK_DEFINES BINDS_TO_WEAKIf I set
--enable-pic
and--disable-asm
below is the output with otool,magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC ARM V7 0x00 EXECUTE 51 5520 NOUNDEFS DYLDLINK TWOLEVEL WEAK_DEFINES BINDS_TO_WEAK **PIE**Below are my configuration settings for FFMPEG(build-ffmpeg-ios.sh) :
if [ `uname` = "Darwin" ]; then
SEDCMD="sed -i '' "
else
SEDCMD="sed -i "
fi
make clean
./configure \
--prefix=$PREFIX \
--enable-version3 \
--enable-static \
--disable-shared \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-postproc \
--enable-small \
--cross-prefix="$DEVROOT/usr/bin/" \
--enable-cross-compile \
--target-os=darwin \
--arch=$ARCH \
--cpu=$CPU \
--cc="$CC" \
--as="$AS" \
--extra-cflags="$CFLAGS" \
--extra-ldflags="$CFLAGS" \
--disable-symver \
--disable-debug \
--disable-indevs \
--disable-encoders \
--disable-bsfs \
--enable-pic \
--disable-filters \
$CONFIGURE_FLAGS || exit 1;
$SEDCMD 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/g' config.h
make install || exit 1;And below is the make file I use(iOS.mk) :
FFMPEG_LIBS := libavcodec.a libavformat.a libavutil.a libswscale.a
IOS_ARMV7_FFMPEG_LIB := $(addprefix build/ios/armv7/lib/, $(FFMPEG_LIBS))
IOS_UNI_FFMPEG_LIB := $(addprefix build/ios/universal/lib/, $(FFMPEG_LIBS))
IPHONE_SDK_VERSION := "5.0"
IPHONE_DEPLOY_SDK := "3.2"
ALL_IOS_LIBS := $(IOS_UNI_FFMPEG_LIB)
build/ios/universal/lib/%.a : build/ios/armv7/lib/%.a
mkdir -p build/ios/universal/lib
lipo -create -output $@ $^
$(IOS_ARMV7_FFMPEG_LIB):
export PREFIX="`$(ABSPATH) build/ios/armv7`" && \
export ARCH="arm" && \
export CPU="cortex-a8" && \
export IOS_BASE_SDK="$(IPHONE_SDK_VERSION)" && \
export IOS_DEPLOY_TGT="$(IPHONE_DEPLOY_SDK)" && \
export CONFIGURE_FLAGS="--enable-neon" && \
export PATH="`$(ABSPATH) venders`:$$PATH" && \
cd venders/ffmpeg && bash ../iphone-compile.sh arm7 ../build-ffmpeg-ios.shCan someone please help me with getting the FFMPEG up and running with both 'pic' and assembly optimization enabled. Without assembly optimizastion, FFMPEG would not be helpful to me as the video decoding is extremely slow.
-
Live Video Stream support for android ?
9 juin 2014, par Mike ReadI have a live video feed in m3u8 format and works great in iphone android doesnt support it.
Im planing to convert the feed using ffmpeg and just wondering what the best format/codec/protocol works best with the lowest version of android possible.thanks so much !
-
how to fix the delay when play a ts stream via udp
4 juin 2013, par user2223169I want to play udp ts stream on iPhone using ffmepg, but the video delayed almost 1s, so my question is how to fix the delay, currently I think I can specify the fifo_size, just like udp ://@:1234 ?fifo_size=1024, but the player can't play with this configuration, anybody knows how to reduce the buffer size to reduce the delay ?
Thanks :)