
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (72)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (7645)
-
Revision 6989 : On continue le nettoyage du code le but étant de réduire la taille du ...
10 octobre 2012, par kent1 — LogOn continue le nettoyage du code le but étant de réduire la taille du code et de simplifier l’ensemble
Passage en version 1.1.2 de la librairie. -
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.
-
Android : Native Code, libx264
11 septembre 2011, par NadavRubI am working with Android OS, my aim is doing propriotary imgproc and send the result as H264 video stream out of the device, for this, I will need to use a compression tool, I have considered the open source libx264 ( which got compiled on the Android env quite easily ).
Having that said, does libx264 will know to identify the underling CPU/instruction set, OR, would I need to maintain a specialized binary for each CPU type ( eg. Nvidia/ARM ) ?
The last thing I want is to maintain a specific version of code/binary for each CPU type...
Any help would be appreciated.
Nadav