
Recherche avancée
Autres articles (24)
-
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6037)
-
Building ffmpeg for Android on Windows through MinGW
23 mai 2012, par HarishI'm trying to build ffmpeg for Android on Windows through MiNGW but facing the below problem :
AR libavcodec/libavcodec.a
LD ffmpeg_g.exe
LD ffplay_g.exe
LD ffprobe_g.exe
INSTALL libavcodec/libavcodec.a
CP ffmpeg.exe
STRIP ffmpeg.exe
CP ffprobe.exe
STRIP ffprobe.exe
CP ffplay.exe
STRIP ffplay.exe
INSTALL install-progs-yes
INSTALL ffmpeg.exe
INSTALL ffplay.exe
INSTALL ffprobe.exe
d:\android-ndk-r8\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: cannot open output file ./android/armv7-a/libffmpeg.so: No such file or directory
libavcodec/tscc.c: In function 'decode_frame':
libavcodec/tscc.c:97:24: warning: assignment discards qualifiers from pointer target type
./libavcodec/avcodec.h:40:0: fatal error: when writing output to : Invalid argument
compilation terminated.
libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init':This is my build script :
NDK=/d/android-ndk-r8
PLATFORM=$NDK/platforms/android-9/arch-arm/
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
function build_one_r6
{
./configure \
--disable-shared \
--enable-static \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-postproc \
--enable-small \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--enable-cross-compile \
--target-os=linux \
--extra-cflags="-I$PLATFORM/usr/include" \
--extra-ldflags="-L$PLATFORM/usr/lib -nostdlib" \
--arch=arm \
--disable-symver \
--disable-debug \
--disable-stripping \
$ADDITIONAL_CONFIGURE_FLAG
sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h
make clean
make -j4 install
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
$PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib - soname libffmpeg.so -shared -nostdlib -z,noexecstack -Bsymbolic --whole-archive --no- undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog --warn-once --dynamic- linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a
}
CPU=armv7-a
OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
PREFIX=./android/$CPU
ADDITIONAL_CONFIGURE_FLAG=Any idea what I'm missing here ? Please note that I was able to build ffmpeg for Windows desktop successfully so I assume the setup is correct.
-
Building ffmpeg for Android in Windows through cygwin : cannot execute binary file
22 mai 2012, par HarishI'm trying to build ffmpeg for Android in Cygwin and the build script (http://www.roman10.net/how-to-build-ffmpeg-for-android/) is giving me a problem on the below line :
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
/home/pxb743/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/lin
ux-x86/bin/arm-linux-androideabi-gcc : /home/pxb743/android-ndk-r5b/toolchains/ar
m-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc : cann
ot execute binary filefile ./arm-linux-androideabi-ar
./arm-linux-androideabi-ar : ELF 32-bit LSB executable, Intel 80386, version 1 (S
YSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, strippedCan anyone please help me in identifying where the problem is ? Cygwin environment or NDK version (Tried with several versions) or ffmpeg (I could build ffmpeg for Windows Desktop successfully)
-
avutil : Include io.h with a separate condition from windows console functions
30 novembre 2012, par Martin Storsjöavutil : Include io.h with a separate condition from windows console functions