En fait ça marche pour tous les formats sauf le mp4 et le mov
Voilà le message:
FFmpeg version SVN-rUNKNOWN, Copyright © 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-static --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-audio-oss --disable-v4l --disable-v4l2 --disable-dv1394 --disable-network --disable-ffplay --disable-opts --enable-libmp3lame --enable-gpl --enable-pp --disable-strip
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Dec 19 2007 18:00:45, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2b0b19d9f9e0]negative ctts, ignoring
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2internet.mov':
Duration: 00:02:26.4, start: 0.000000, bitrate: 639 kb/s
Stream #0.0(eng): Audio: mp4a / 0x6134706D, 32000 Hz, stereo
Stream #0.1(eng): Video: h264, yuv420p, 320x240, 14.97 fps®
Output #0, flv, to 'ez.flv':
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 14.97 fps©
Stream #0.1: Audio: libmp3lame, 32000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
Unsupported codec (id=86018) for input stream #0.0