
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (83)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
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 (6218)
-
Prevent output in error log when ffmpeg job is initiated via PHP's shell_exec()
19 janvier 2016, par JakeI’m getting the entire output of the ffmpeg command printed to my server’s error.log — but as far as I can tell, the jobs complete successfully with no error.
Is there any way to suppress the output ? I have seen people append stuff like
>/dev/null 2>/dev/null &
to their command, however that forces the command to return immediately and the job runs in the background. Unfortunately, I need the job to run in the foreground, because I need to do stuff with the output once the job is done.Here’s the command I am running...
shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1280x720 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1280x720.mp4');
Here’s the output I am seeing...
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] ffmpeg version N-77432-gc0f67e1 Copyright (c) 2000-2015 the FFmpeg developers
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] built with gcc 4.4.5 (Debian 4.4.5-8)
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] configuration: --prefix=/usr --enable-nonfree --enable-libfreetype --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libfdk-aac --enable-libmp3lame --enable-libopus
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libavutil 55. 11.100 / 55. 11.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libavcodec 57. 19.100 / 57. 19.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libavformat 57. 20.100 / 57. 20.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libavdevice 57. 0.100 / 57. 0.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libavfilter 6. 21.100 / 6. 21.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libswscale 4. 0.100 / 4. 0.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libswresample 2. 0.101 / 2. 0.101
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] libpostproc 54. 0.100 / 54. 0.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test-video.mp4':
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Metadata:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] major_brand : mp42
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] minor_version : 0
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] compatible_brands: mp42mp41
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] creation_time : 2015-07-14 22:13:20
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Duration: 00:00:10.51, start: 0.000000, bitrate: 17178 kb/s
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 17170 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Metadata:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] creation_time : 2015-07-14 22:13:20
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] handler_name : Alias Data Handler
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] encoder : AVC Coding
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (test-video-480p.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Codec AVOption profile () specified for output file #0 (test-video-480p.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] using SAR=1280/1281
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] profile High, level 3.0
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] [libx264 @ 0x4518ea0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=24.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Output #0, mp4, to 'test-video-480p.mp4':
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Metadata:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] major_brand : mp42
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] minor_version : 0
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] compatible_brands: mp42mp41
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] encoder : Lavf57.20.100
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default)
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Metadata:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] creation_time : 2015-07-14 22:13:20
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] handler_name : Alias Data Handler
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] encoder : Lavc57.19.100 libx264
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Side data:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] unknown side data type 10 (24 bytes)
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Stream mapping:
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[Tue Jan 19 17:10:59 2016] [error] [client XXX.XXX.XXX.XXX] Press [q] to stop, [?] for help
[Tue Jan 19 17:11:00 2016] [error] [client XXX.XXX.XXX.XXX] frame= 24 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x \r
[Tue Jan 19 17:11:00 2016] [error] [client XXX.XXX.XXX.XXX] frame= 53 fps= 51 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x \r
[Tue Jan 19 17:11:02 2016] [error] [client XXX.XXX.XXX.XXX] frame= 62 fps= 25 q=29.0 size= 75kB time=00:00:00.00 bitrate=N/A speed= 0x \r
[Tue Jan 19 17:11:02 2016] [error] [client XXX.XXX.XXX.XXX] frame= 68 fps= 20 q=29.0 size= 90kB time=00:00:00.25 bitrate=2946.8kbits/s speed=0.0745x \r
[Tue Jan 19 17:11:03 2016] [error] [client XXX.XXX.XXX.XXX] frame= 74 fps= 18 q=29.0 size= 103kB time=00:00:00.50 bitrate=1689.9kbits/s speed=0.12x \r
[Tue Jan 19 17:11:04 2016] [error] [client XXX.XXX.XXX.XXX] frame= 80 fps= 16 q=29.0 size= 115kB time=00:00:00.75 bitrate=1258.5kbits/s speed=0.148x \r
[Tue Jan 19 17:11:05 2016] [error] [client XXX.XXX.XXX.XXX] frame= 86 fps= 15 q=29.0 size= 128kB time=00:00:01.00 bitrate=1049.4kbits/s speed=0.175x \r
[Tue Jan 19 17:11:05 2016] [error] [client XXX.XXX.XXX.XXX] frame= 92 fps= 15 q=29.0 size= 140kB time=00:00:01.25 bitrate= 917.2kbits/s speed=0.201x \r
[Tue Jan 19 17:11:06 2016] [error] [client XXX.XXX.XXX.XXX] frame= 94 fps= 14 q=29.0 size= 146kB time=00:00:01.33 bitrate= 895.4kbits/s speed=0.196x \r
[Tue Jan 19 17:11:07 2016] [error] [client XXX.XXX.XXX.XXX] frame= 100 fps= 13 q=29.0 size= 158kB time=00:00:01.58 bitrate= 816.6kbits/s speed=0.211x \r -
ffmpeg android unable to build
2 janvier 2014, par nmxprimeMy goal is to build
ffmpeg static libraries
so that i can use them with jni and call directly the functions defined in ffmpeg to encode series of images as h264 video stream and render it on screen using GLSurfaceVIew in android 2.3.6.Using https://www.ffmpeg.org/doxygen/0.6/api-example_8c-source.html i came to know that by having the required .so files and headers i can do that.
I followed Android NDK & FFMPEG build and many others. Everywhere i found reference to the build scripts by roman10.
I use Ubunthu 12.0.4 LTS with android-ndk-r9 and ffmpeg-0.10 source !
Below is the built script i used !
NDK=~/android-ndk-r9
PLATFORM=$NDK/platforms/android-8/arch-arm/
#PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.7/prebuilt/windows
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
function build_one
{
./configure --target-os=linux \
--prefix=$PREFIX \
--enable-cross-compile \
--extra-libs="-lgcc" \
--arch=arm \
--cc=$PREBUILT/bin/arm-linux-androideabi-gcc-4.8 \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--nm=$PREBUILT/bin/arm-linux-androideabi-nm \
--sysroot=$PLATFORM \
--extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " \
--disable-shared \
--enable-static \
--extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \
--disable-everything \
--enable-demuxer=mov \
--enable-demuxer=h264 \
--disable-ffplay \
--enable-protocol=file \
--enable-avformat \
--enable-avcodec \
--enable-decoder=rawvideo \
--enable-decoder=mjpeg \
--enable-decoder=h263 \
--enable-decoder=mpeg4 \
--enable-decoder=h264 \
--enable-parser=h264 \
--disable-network \
--enable-zlib \
--disable-avfilter \
--disable-avdevice \
--disable-asm \
$ADDITIONAL_CONFIGURE_FLAG
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
}
#arm v7vfpv3
CPU=armv7-a
OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
PREFIX=./android/$CPU
ADDITIONAL_CONFIGURE_FLAG=
build_oneWhen i run the script(
test_build.sh
) i get followingUnknown option "".
See ./configure --help for available options.
./test_build.sh: line 34: --nm=/home/user/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-nm: No such file or directory
CC ffmpeg.o
CC cmdutils.o
CC libavdevice/alldevices.o
CC libavdevice/avdevice.o
CC libavdevice/dv1394.o
ffmpeg.c: In function âopt_input_fileâ:
ffmpeg.c:3698:9: warning: âloop_inputâ is deprecated (declared at libavformat/avformat.h:1049) [-Wdeprecated-declarations]
ffmpeg.c: In function âopt_output_fileâ:
ffmpeg.c:4483:9: warning: âloop_outputâ is deprecated (declared at libavformat/avformat.h:1025) [-Wdeprecated-declarations]
CC libavdevice/fbdev.o
CC libavdevice/lavfi.o
CC libavdevice/oss_audio.o
CC libavdevice/v4l2.o
CC libavfilter/af_aconvert.o
libavfilter/af_aconvert.c:53:5: warning: function declaration isnât a prototype[-Wstrict-prototypes]
libavfilter/af_aconvert.c:105:5: warning: function declaration isnât a prototype[-Wstrict-prototypes]
CC libavfilter/af_aformat.o
CC libavfilter/af_amerge.o
CC libavfilter/af_anull.o
CC libavfilter/af_aresample.o
CC libavfilter/af_ashowinfo.o
CC libavfilter/af_asplit.o
CC libavfilter/af_astreamsync.o
CC libavfilter/af_earwax.o
CC libavfilter/af_pan.o
CC libavfilter/af_silencedetect.o
CC libavfilter/af_volume.o
CC libavfilter/allfilters.o
CC libavfilter/asink_anullsink.o
libavfilter/af_volume.c: In function âfilter_samplesâ:
./libavutil/arm/intmath.h:104:5: error: invalid 'asm': invalid operand code 'R'
./libavutil/arm/intmath.h:104:5: error: invalid 'asm': invalid operand code 'R'
make: *** [libavfilter/af_volume.o] Error 1
make: *** Waiting for unfinished jobs....
./test_build.sh: line 61: /home/user/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ar: cannot execute binary file
./test_build.sh: line 62: /home/user/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-ld: cannot binary fileHow can i get it work, or am i trying in wrong way ? Any help is appriciated !!
Also if some one point me out the reason for errors. I dont' know why nm is showing error although it exist on specified path !
Thank You -
Revision 36958 : Petite mise à jour de base de donnée... Pixelformat n’est pas un int mais ...
5 avril 2010, par kent1@… — LogPetite mise à jour de base de donnée... Pixelformat n’est pas un int mais un string
On ne refile pas de valeurs hallucinantes à l’encodeur non plus