Recherche avancée

Médias (91)

Autres articles (62)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (1676)

  • Burn subtitles Ffmpeg Segmantation Fault error

    5 septembre 2012, par Batuhan Topbaş

    I have vps and ffmpeg latest version. I wanna burn subtitles on videos then i use this input

    ffmpeg -i ohd.avi -report -acodec copy -strict -2 -vcodec libx264 -acodec aac -sameq -vf ass=ohd.ass outputass.mp4

    But this is give me error. Segmantation Fault. See in output..

       ffmpeg started on 2012-09-05 at 10:30:37
    Report written to "ffmpeg-20120905-103037.log"
    ffmpeg version N-44073-g54ca7e3 Copyright (c) 2000-2012 the FFmpeg developers
     built on Aug 31 2012 16:15:40 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
     configuration: --enable-libfreetype --enable-libx264 --enable-gpl --enable-libfaac --enable-libass --enable-nonfree
     libavutil      51. 70.100 / 51. 70.100
     libavcodec     54. 55.100 / 54. 55.100
     libavformat    54. 25.104 / 54. 25.104
     libavdevice    54.  2.100 / 54.  2.100
     libavfilter     3. 15.101 /  3. 15.101
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 15.100 /  0. 15.100
     libpostproc    52.  0.100 / 52.  0.100
    Input #0, avi, from &#39;ohd.avi&#39;:
     Metadata:
       encoder         : Lavf54.25.104
     Duration: 00:01:00.22, start: 0.000000, bitrate: 4538 kb/s
       Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
       Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, s16, 192 kb/s
    File &#39;outputass.mp4&#39; already exists. Overwrite ? [y/N] y
    FreeType library version: 2.2.1
    [Parsed_ass_0 @ 0xa6b4b00] FreeType headers version: 2.2.1
    [Parsed_ass_0 @ 0xa6b4b00] Init
    [Parsed_ass_0 @ 0xa6b4b00] File size: 622
    [Parsed_ass_0 @ 0xa6b4b00] [0xa6b7420] Style: Default,FreeSerif,24,&amp;H00FFFFFF,&amp;H00FFFFFF,&amp;H00FFFFFF,&amp;H00C0C0C0,-1,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,1
    [Parsed_ass_0 @ 0xa6b4b00] Added subtitle file: &#39;ohd.ass&#39; (1 styles, 1 events)
    [Parsed_ass_0 @ 0xa6b4b00] Fontconfig disabled, only default font will be used.
    [graph 0 input from stream 0:0 @ 0xa6cd900] w:1280 h:720 pixfmt:yuv420p tb:1001/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
    [graph 1 input from stream 0:1 @ 0xa6b0ae0] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
    [audio format for output stream 0:1 @ 0xa6b0c60] auto-inserting filter &#39;auto-inserted resampler 0&#39; between the filter &#39;Parsed_anull_0&#39; and the filter &#39;audio format for output stream 0:1&#39;
    [auto-inserted resampler 0 @ 0xa6b17c0] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt r:44100Hz
    [libx264 @ 0xa6bfa20] using SAR=1/1
    [libx264 @ 0xa6bfa20] using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
    [libx264 @ 0xa6bfa20] profile High, level 3.1
    [libx264 @ 0xa6bfa20] 264 - core 125 r2208 d9d2288 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to &#39;outputass.mp4&#39;:
     Metadata:
       encoder         : Lavf54.25.104
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 24k tbn, 23.98 tbc
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, flt, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (ac3 -> aac)
    Press [q] to stop, [?] for help
    Segmentation fault

    What is wrong my input code ? i can't find because i am amateur.

  • Why ffmpeg convert only the first frame of gif to mp4 [closed]

    3 juin 2020, par Jayvant

    Gif has 6 frames with 2 sec delay per each.&#xA;I used following command :

    &#xA;&#xA;

    ffmpeg -i input.gif -y -an anim123.mp4 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"&#xA;

    &#xA;&#xA;

    output log :

    &#xA;&#xA;

        ffmpeg version N-85266-g1229007 Copyright (c) 2000-2017 the FFmpeg developers&#xA;      built with gcc 6.3.0 (GCC)&#xA;      configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib                                                                                            libavutil      55. 59.100 / 55. 59.100                                                                                  libavcodec     57. 90.100 / 57. 90.100                                                                                  libavformat    57. 72.100 / 57. 72.100                                                                                  libavdevice    57.  7.100 / 57.  7.100                                                                                  libavfilter     6. 83.100 /  6. 83.100&#xA;      libswscale      4.  7.100 /  4.  7.100&#xA;      libswresample   2.  8.100 /  2.  8.100&#xA;      libpostproc    54.  6.100 / 54.  6.100&#xA;Trailing options were found on the commandline.&#xA;Input #0, gif, from &#x27;input.gif&#x27;:&#xA;Duration: N/A, bitrate: N/A                                                                                               &#xA;    Stream #0:0: Video: gif, bgra, 560x315, 0.50 fps, 0.50 tbr, 100 tbn, 100 tbc&#xA;Stream mapping:                                                                                                           &#xA;    Stream #0:0 -> #0:0 (gif (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help                                                                                         &#xA;No pixel format specified, yuv444p for H.264 encoding chosen.&#xA;Use -pix_fmt yuv420p for compatibility with outdated media players.                                                     &#xA;[libx264 @ 0000000000681a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX                                     &#xA;[libx264 @ 0000000000681a00] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit                                      &#xA;[libx264 @ 0000000000681a00] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;anim123.mp4&#x27;:                                                                                         &#xA;Metadata:                                                                                                                 &#xA;    encoder         : Lavf57.72.100                                                                                         &#xA;    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 560x315, q=-1--1, 0.50 fps, 16384 tbn, 0.50 tbc                                                                                                                           &#xA;    Metadata:                                                                                                                 &#xA;    encoder         : Lavc57.90.100 libx264                                                                               &#xA;    Side data:                                                                                                                &#xA;    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 &#xA;frame=    6 fps=0.0 q=-1.0 Lsize=     338kB time=00:00:06.00 bitrate= 461.9kbits/s speed=22.9x                         &#xA; video:337kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.251471%&#xA;[libx264 @ 0000000000681a00] frame I:1     Avg QP:14.97  size: 51472                                                    &#xA;[libx264 @ 0000000000681a00] frame P:5     Avg QP:17.08  size: 58681&#xA;[libx264 @ 0000000000681a00] mb I  I16..4: 27.9% 23.6% 48.6%                                                            &#xA;[libx264 @ 0000000000681a00] mb P  I16..4: 15.0% 17.3% 48.2%  P16..4:  1.5%  0.1%  0.1%  0.0%  0.0%    skip:17.8%       &#xA;[libx264 @ 0000000000681a00] 8x8 transform intra:21.9% inter:9.4%                                                       &#xA;[libx264 @ 0000000000681a00] coded y,u,v intra: 63.8% 59.7% 55.8% inter: 2.2% 1.0% 0.6%                                 &#xA;[libx264 @ 0000000000681a00] i16 v,h,dc,p: 77% 10% 12%  0%                                                              &#xA;[libx264 @ 0000000000681a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 34%  4%  4%  4%  7%  3% 10%                         &#xA;[libx264 @ 0000000000681a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 22% 17%  6%  7%  5% 13%  5% 14%                         &#xA;[libx264 @ 0000000000681a00] Weighted P-Frames: Y:40.0% UV:20.0%&#xA;[libx264 @ 0000000000681a00] ref P L0: 40.8%  0.8% 44.6%  8.8%  5.0%&#xA;[libx264 @ 0000000000681a00] kb/s:229.92&#xA;

    &#xA;&#xA;

    Input Gif Link&#xA;

    &#xA;Video not generating properly, It takes only 1st frame in video.

    &#xA;

  • FFmpeg AVI to MP4 preserves sound, but not images [migrated]

    21 février 2013, par user1711384

    Working with FFmpeg at a conversion (any file to MP4 (H.264/AAC)) :

    ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium -b:v 880k -g 10 -pass 1 -an -f mp4 -movflags faststart /dev/null
    ffmpeg -y -i testdatei.avi -i logo.jpg -filter_complex overlay=15:15,scale=-1:720 -c:v libx264 -profile:v baseline -preset medium -b:v 880k -g 10 -pass 2 -c:a libfdk_aac -b:a 128k -movflags faststart xxx.mp4 2>&amp;1

    With MPEG and WMV file it's working. With two different AVIs it didn't work. Logfiles from path 1 aren't generated and output 1 is empty, output 2 of course generates an error.

    After removing -profile:v baseline in both commands, the video file is successfully generated, but it's not possible to play it in JW Player (sound yes, but no image).

    This is the result of the first command :

    ffmpeg version git-2013-02-20-39b0393 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb 20 2013 12:06:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 17.102 / 52. 17.102
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.100 / 54. 63.100
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 38.103 /  3. 38.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [avi @ 0x23e4d80] non-interleaved AVI
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, avi, from &#39;testdatei.avi&#39;:
     Metadata:
       date            : 2013-02-21T14:06:32+01:00
       encoder         : Adobe Premiere Pro CS6 (Windows)
     Duration: 00:00:07.57, start: 0.000000, bitrate: 30330 kb/s
       Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 29.97 tbr, 29.97 tbn, 29.97 tbc
       Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Input #1, image2, from &#39;logo.jpg&#39;:
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: mjpeg, yuvj444p, 170x82, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x23e9640] using SAR=8/9
    [libx264 @ 0x23e9640] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x23e9640] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-bit
    [libx264 @ 0x23e9640] 264 - core 129 r2 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=10 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=2pass mbtree=1 bitrate=880 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to &#39;xxx.mp4&#39;:
     Metadata:
       date            : 2013-02-21T14:06:32+01:00
       encoder         : Lavf54.63.100
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 1080x720 [SAR 8:9 DAR 4:3], q=-1--1, pass 2, 880 kb/s, 11988 tbn, 29.97 tbc
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
    Stream mapping:
     Stream #0:0 (dvvideo) -> overlay:main (graph 0)
     Stream #1:0 (mjpeg) -> overlay:overlay (graph 0)
     scale (graph 0) -> Stream #0:0 (libx264)
     Stream #0:1 -> #0:1 (pcm_s16le -> libfdk_aac)
    Press [q] to stop, [?] for help
    frame=   79 fps=0.0 q=30.0 size=     291kB time=00:00:02.58 bitrate= 922.4kbits/s  
    frame=  162 fps=162 q=30.0 size=     620kB time=00:00:05.33 bitrate= 952.9kbits/s    
    Starting second pass: moving header on top of the file"
    frame=  227 fps=154 q=32766.0 Lsize=     958kB time=00:00:07.59 bitrate=1033.5kbits/s
    video:829kB audio:120kB subtitle:0 global headers:0kB muxing overhead 0.986027%
    [libx264 @ 0x23e9640] frame I:23    Avg QP:19.11  size: 31383
    [libx264 @ 0x23e9640] frame P:68    Avg QP:23.91  size:  1240
    [libx264 @ 0x23e9640] frame B:136   Avg QP:20.27  size:   310
    [libx264 @ 0x23e9640] consecutive B-frames: 19.8%  0.9%  0.0% 79.3%
    [libx264 @ 0x23e9640] mb I  I16..4: 18.8% 68.4% 12.8%
    [libx264 @ 0x23e9640] mb P  I16..4:  0.3%  0.3%  0.0%  P16..4: 10.7%  2.3%  0.8%  0.0%  0.0%    skip:85.6%
    [libx264 @ 0x23e9640] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  9.1%  0.1%  0.0%  direct: 0.1%  skip:90.7%  L0:41.2% L1:58.6% BI: 0.2%
    [libx264 @ 0x23e9640] 8x8 transform intra:68.3% inter:97.5%
    [libx264 @ 0x23e9640] coded y,u,v intra: 53.7% 26.9% 30.8% inter: 0.5% 0.2% 0.3%
    [libx264 @ 0x23e9640] i16 v,h,dc,p: 70% 17%  1% 11%
    [libx264 @ 0x23e9640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 25% 18%  4%  3%  4%  4%  6%  8%
    [libx264 @ 0x23e9640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 29%  8%  4%  6%  6%  5%  5%  4%
    [libx264 @ 0x23e9640] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x23e9640] ref P L0: 75.9%  5.1% 11.3%  7.7%
    [libx264 @ 0x23e9640] ref B L0: 96.0%  3.1%  0.9%
    [libx264 @ 0x23e9640] ref B L1: 95.8%  4.2%
    [libx264 @ 0x23e9640] kb/s:895.99

    Output2 :

    ffmpeg version git-2013-02-20-39b0393 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb 20 2013 12:06:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 17.102 / 52. 17.102
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.100 / 54. 63.100
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 38.103 /  3. 38.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [avi @ 0x23e4d80] non-interleaved AVI
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, avi, from &#39;testdatei.avi&#39;:
     Metadata:
       date            : 2013-02-21T14:06:32+01:00
       encoder         : Adobe Premiere Pro CS6 (Windows)
     Duration: 00:00:07.57, start: 0.000000, bitrate: 30330 kb/s
       Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv411p, 720x480 [SAR 8:9 DAR 4:3], 29.97 tbr, 29.97 tbn, 29.97 tbc
       Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Input #1, image2, from &#39;logo.jpg&#39;:
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: mjpeg, yuvj444p, 170x82, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x23e9640] using SAR=8/9
    [libx264 @ 0x23e9640] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x23e9640] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-bit
    [libx264 @ 0x23e9640] 264 - core 129 r2 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=10 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=2pass mbtree=1 bitrate=880 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to &#39;xxx.mp4&#39;:
     Metadata:
       date            : 2013-02-21T14:06:32+01:00
       encoder         : Lavf54.63.100
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv444p, 1080x720 [SAR 8:9 DAR 4:3], q=-1--1, pass 2, 880 kb/s, 11988 tbn, 29.97 tbc
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
    Stream mapping:
     Stream #0:0 (dvvideo) -> overlay:main (graph 0)
     Stream #1:0 (mjpeg) -> overlay:overlay (graph 0)
     scale (graph 0) -> Stream #0:0 (libx264)
     Stream #0:1 -> #0:1 (pcm_s16le -> libfdk_aac)
    Press [q] to stop, [?] for help
    frame=   79 fps=0.0 q=30.0 size=     291kB time=00:00:02.58 bitrate= 922.4kbits/s  
    frame=  162 fps=162 q=30.0 size=     620kB time=00:00:05.33 bitrate= 952.9kbits/s    
    Starting second pass: moving header on top of the file"
    frame=  227 fps=154 q=32766.0 Lsize=     958kB time=00:00:07.59 bitrate=1033.5kbits/s
    video:829kB audio:120kB subtitle:0 global headers:0kB muxing overhead 0.986027%
    [libx264 @ 0x23e9640] frame I:23    Avg QP:19.11  size: 31383
    [libx264 @ 0x23e9640] frame P:68    Avg QP:23.91  size:  1240
    [libx264 @ 0x23e9640] frame B:136   Avg QP:20.27  size:   310
    [libx264 @ 0x23e9640] consecutive B-frames: 19.8%  0.9%  0.0% 79.3%
    [libx264 @ 0x23e9640] mb I  I16..4: 18.8% 68.4% 12.8%
    [libx264 @ 0x23e9640] mb P  I16..4:  0.3%  0.3%  0.0%  P16..4: 10.7%  2.3%  0.8%  0.0%  0.[0%    skip:85.6%
    [libx264 @ 0x23e9640] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  9.1%  0.1%  0.0%  direct: 0.1%  skip:90.7%  L0:41.2% L1:58.6% BI: 0.2%
    [libx264 @ 0x23e9640] 8x8 transform intra:68.3% inter:97.5%
    [libx264 @ 0x23e9640] coded y,u,v intra: 53.7% 26.9% 30.8% inter: 0.5% 0.2% 0.3%
    [libx264 @ 0x23e9640] i16 v,h,dc,p: 70% 17%  1% 11%
    [libx264 @ 0x23e9640] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 25% 18%  4%  3%  4%  4%  6%  8%
    [libx264 @ 0x23e9640] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 29%  8%  4%  6%  6%  5%  5%  4%
    [libx264 @ 0x23e9640] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x23e9640] ref P L0: 75.9%  5.1% 11.3%  7.7%
    [libx264 @ 0x23e9640] ref B L0: 96.0%  3.1%  0.9%
    [libx264 @ 0x23e9640] ref B L1: 95.8%  4.2%
    [libx264 @ 0x23e9640] kb/s:895.99

    Do you have a idea why AVI makes problems ? What could be the solution ?