Recherche avancée

Médias (91)

Autres articles (107)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Support de tous types de médias

    10 avril 2011

    Contrairement à 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) (...)

Sur d’autres sites (7099)

  • Playing videos on iPhone after video conversion using ffmpeg

    12 juillet 2013, par Shashi

    It is a backend API(developed in Ruby on Rails) which is used by iphone and android mobiles to upload the videos. API is converting uploaded videos to MP4 format. I am using paperclip-ffmpeg gem for video conversion at backend. Here is what I used :

    has_attached_file :video ,
                 :styles=>{
                   :medium=>{ :geometry=>"480x360",:format=>'mp4',:streaming => true,
                       :convert_options => { :output =>
                                           {
                                             :acodec => 'aac',
                                             :ac => 2 ,
                                             :strict => 'experimental',
                                             'b:a' => '160k',

                                             :vcodec => 'libx264',
                                             :preset => 'slow',
                                             'profile:v' => 'baseline',
                                             :level => '30',
                                             :maxrate => '10000000',
                                             :bufsize => '10000000',
                                             'b:v' => '750k',
                                             :f => 'mp4',
                                             :threads => '0'
                                           }
                                       } },
                     :thumb => { :geometry => "160x120", :format => 'jpg', :time => 2 },
                     :thumb_large => { :geometry => "520x390", :format => 'jpg', :time => 2}
                   }, :processors => [:ffmpeg, :qtfaststart],
           :path => path/to/store/video,
           :url => url/of/video

    Problems I am facing are :

    When user uploads videos from android mobile it works perfect on android but does not play on iPhone. One more strange thing happens when user upload videos from iPhone, then it play perfect just after video upload, but after some time(2 or 3 hours) it stops to play those videos.

    How can I get rid of both these issues ? Any suggestion would be appreciated. Thanks

    @Michael, here is the detailed log for the video conversion uploaded by android mobile

    ffmpeg version git-2013-05-28-ced0307 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 28 2013 07:45:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopus --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.100 / 55. 12.100
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       creation_time   : 2013-06-19 15:39:02
     Duration: 00:00:25.88, start: 0.000000, bitrate: 16700 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 16829 kb/s, 29.75 fps, 30 tbr, 90k tbn, 180k tbc
       Metadata:
         rotate          : 90
         creation_time   : 2013-06-19 15:39:02
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 122 kb/s
       Metadata:
         creation_time   : 2013-06-19 15:39:02
         handler_name    : SoundHandle
    [libx264 @ 0x2613c00] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
    [libx264 @ 0x2613c00] profile Constrained Baseline, level 3.0
    [libx264 @ 0x2613c00] 264 - core 133 r2 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=abr mbtree=1 bitrate=750 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=10000 nal_hrd=none ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 0
       compatible_brands: isom3gp4
       encoder         : Lavf55.7.100
       Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x360, q=-1--1, 750 kb/s, 15360 tbn, 30 tbc
       Metadata:
         rotate          : 90
         creation_time   : 2013-06-19 15:39:02
         handler_name    : VideoHandle
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 160 kb/s
       Metadata:
         creation_time   : 2013-06-19 15:39:02
         handler_name    : SoundHandle
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> aac)
    Press [q] to stop, [?] for help
    frame=  765 fps= 19 q=-1.0 Lsize=    2621kB time=00:00:25.88 bitrate= 829.4kbits/s dup=7 drop=0    
    video:2093kB audio:504kB subtitle:0 global headers:0kB muxing overhead 0.878228%
    [libx264 @ 0x2613c00] frame I:4     Avg QP:25.48  size: 11731
    [libx264 @ 0x2613c00] frame P:761   Avg QP:26.71  size:  2754
    [libx264 @ 0x2613c00] mb I  I16..4: 33.0%  0.0% 67.0%
    [libx264 @ 0x2613c00] mb P  I16..4:  2.1%  0.0%  0.9%  P16..4: 47.2%  9.5%  3.4%  0.0%  0.0%    skip:36.9%
    [libx264 @ 0x2613c00] final ratefactor: 23.58
    [libx264 @ 0x2613c00] coded y,uvDC,uvAC intra: 31.9% 54.5% 9.5% inter: 11.9% 24.4% 0.5%
    [libx264 @ 0x2613c00] i16 v,h,dc,p: 25% 33%  7% 34%
    [libx264 @ 0x2613c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 14%  9% 14% 10% 10% 11%  8%  7%
    [libx264 @ 0x2613c00] i8c dc,h,v,p: 50% 25% 17%  9%
    [libx264 @ 0x2613c00] ref P L0: 67.6% 15.2% 10.1%  3.9%  3.2%
    [libx264 @ 0x2613c00] kb/s:672.30
    ffmpeg version git-2013-05-28-ced0307 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 28 2013 07:45:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopus --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.100 / 55. 12.100
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100 octet-stream\r\n" name="video" tempfile=#tmp/RackMultipart20130620-28711-187049m>>
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
     Duration: 00:00:25.91, start: 0.021333, bitrate: 828 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 672 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s
       Metadata:
         handler_name    : SoundHandler
    [libx264 @ 0x326d820] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
    [libx264 @ 0x326d820] profile Constrained Baseline, level 3.0
    [libx264 @ 0x326d820] 264 - core 133 r2 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=abr mbtree=1 bitrate=750 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=10000 vbv_bufsize=10000 nal_hrd=none ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-130rd1i.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
       Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 480x270, q=-1--1, 750 kb/s, 15360 tbn, 30 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 160 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> aac)
    Press [q] to stop, [?] for help
    frame=  766 fps= 38 q=-1.0 Lsize=    2666kB time=00:00:25.90 bitrate= 843.2kbits/s dup=1 drop=0    
    video:2138kB audio:505kB subtitle:0 global headers:0kB muxing overhead 0.863633%
    [libx264 @ 0x326d820] frame I:4     Avg QP:20.82  size: 11283
    [libx264 @ 0x326d820] frame P:762   Avg QP:22.03  size:  2813
    [libx264 @ 0x326d820] mb I  I16..4: 19.9%  0.0% 80.1%
    [libx264 @ 0x326d820] mb P  I16..4:  1.7%  0.0%  1.1%  P16..4: 49.3% 20.6%  7.0%  0.0%  0.0%    skip:20.3%
    [libx264 @ 0x326d820] final ratefactor: 19.24
    [libx264 @ 0x326d820] coded y,uvDC,uvAC intra: 43.4% 76.7% 29.0% inter: 23.0% 44.6% 1.7%
    [libx264 @ 0x326d820] i16 v,h,dc,p: 23% 29%  9% 39%
    [libx264 @ 0x326d820] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 21%  9% 11% 10% 10% 11%  8%  8%
    [libx264 @ 0x326d820] i8c dc,h,v,p: 44% 26% 18% 12%
    [libx264 @ 0x326d820] ref P L0: 74.0% 13.1%  7.7%  3.0%  2.1%
    [libx264 @ 0x326d820] kb/s:685.81
    ffmpeg version git-2013-05-28-ced0307 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 28 2013 07:45:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopus --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.100 / 55. 12.100
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
     Duration: 00:00:25.91, start: 0.021333, bitrate: 828 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 672 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s
       Metadata:
         handler_name    : SoundHandler
    Output #0, image2, to '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-1bdslpu.jpg':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
       Stream #0:0(eng): Video: mjpeg, yuvj420p, 160x90, q=2-31, 200 kb/s, 90k tbn, 30 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A dup=0 drop=57    
    video:4kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.479303%
    ffmpeg version git-2013-05-28-ced0307 Copyright (c) 2000-2013 the FFmpeg developers
     built on May 28 2013 07:45:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopus --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.100 / 55. 12.100
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
     Duration: 00:00:25.91, start: 0.021333, bitrate: 828 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x360, 672 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s
       Metadata:
         handler_name    : SoundHandler
    Output #0, image2, to '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-1vp4al6.jpg':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.7.100
       Stream #0:0(eng): Video: mjpeg, yuvj420p, 520x292, q=2-31, 200 kb/s, 90k tbn, 30 tbc
       Metadata:
         rotate          : 90
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> mjpeg)
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A dup=0 drop=57    
    video:19kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.113677%


    Started POST "/api/v1/videos/create" for 69.42.0.13 at 2013-06-20 09:41:50 -0500
    Command :: file -b --mime '/tmp/RackMultipart20130620-28711-187049m'
    [paperclip] [ffmpeg] ffmpeg -i "/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l" 2>&1
    [paperclip] [ffmpeg] Command Success
    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: 'RackMultipart20130620-28711-187049m20130620-28711-2x7b7l' + 'mp4'
    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Resize
    [paperclip] [ffmpeg] Convert Options: 640x360
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -i :source -acodec aac -ac 2 -strict experimental -b:a 160k -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b:v 750k -f mp4 -threads 0 -s 640x360 -y :dest
    Command :: ffmpeg -i '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l' -acodec aac -ac 2 -strict experimental -b:a 160k -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b:v 750k -f mp4 -threads 0 -s 640x360 -y '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p.mp4'
    [paperclip] [qt-faststart] :source :dest
    Command :: qt-faststart '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p.mp4' '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl.mp4'
    [paperclip] [ffmpeg] ffmpeg -i "/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4" 2>&1
    [paperclip] [ffmpeg] Command Success
    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: 'RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06' + 'mp4'
    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Resize
    [paperclip] [ffmpeg] Convert Options: 480x270
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -i :source -acodec aac -ac 2 -strict experimental -b:a 160k -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b:v 750k -f mp4 -threads 0 -s 480x270 -y :dest
    Command :: ffmpeg -i '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4' -acodec aac -ac 2 -strict experimental -b:a 160k -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -b:v 750k -f mp4 -threads 0 -s 480x270 -y '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-130rd1i.mp4'
    [paperclip] [qt-faststart] :source :dest
    Command :: qt-faststart '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-130rd1i.mp4' '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-130rd1i20130620-28711-snde6v.mp4'
    [paperclip] [ffmpeg] ffmpeg -i "/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4" 2>&1
    [paperclip] [ffmpeg] Command Success
    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: 'RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06' + 'jpg'
    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Resize
    [paperclip] [ffmpeg] Convert Options: 160x90
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -ss 2 -i :source -s 160x90 -vframes 1 -f image2 -y :dest
    Command :: ffmpeg -ss 2 -i '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4' -s 160x90 -vframes 1 -f image2 -y '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-1bdslpu.jpg'
    [paperclip] [ffmpeg] ffmpeg -i "/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4" 2>&1
    [paperclip] [ffmpeg] Command Success
    [paperclip] [ffmpeg] Making...
    [paperclip] [ffmpeg] Building Destination File: 'RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06' + 'jpg'
    [paperclip] [ffmpeg] Destination File Built
    [paperclip] [ffmpeg] Adding Geometry
    [paperclip] [ffmpeg] Extracting Target Dimensions
    [paperclip] [ffmpeg] Target Size is Available
    [paperclip] [ffmpeg] Keeping Aspect Ratio
    [paperclip] [ffmpeg] Resize
    [paperclip] [ffmpeg] Convert Options: 520x292
    [paperclip] [ffmpeg] Adding Format
    [paperclip] [ffmpeg] Adding Source
    [paperclip] [ffmpeg] Building Parameters
    [paperclip] [ffmpeg] -ss 2 -i :source -s 520x292 -vframes 1 -f image2 -y :dest
    Command :: ffmpeg -ss 2 -i '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi06.mp4' -s 520x292 -vframes 1 -f image2 -y '/tmp/RackMultipart20130620-28711-187049m20130620-28711-2x7b7l20130620-28711-uibd1p20130620-28711-1tgemjl20130620-28711-15qsi0620130620-28711-1vp4al6.jpg'
    [paperclip] Saving attachments.
  • Problems with frame rate on video conversion using ffmpeg with libx264 [migrated]

    29 mai 2013, par Lars Schroeter

    I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it works well (small file, fast transcoding). What is the problem and how can I solve it ? I don't want to set a fixed frame rate because I guess it's better to leave it the same as source, isn't it ?.

    Maybe the problem is something else, because I found many examples in web where the -r option isn't used. Also transcoding to a different format or with a different source works well without -r option (I tried with ffmpeg 0.7.15 and also 1.2.1). The videos are provided by the users of my website and automatically converted to be suitable for the web. So I need the most general command for automatic conversion.

    In the following ffmpeg output you will find this two suspicious messages :

    • Frame rate very high for a muxer not effciciently supporting it. Please consider specifiying a lower framerate, a different muxer or -vsync 2
    • MB rate (36000000) > level limit (983040)

    The ffmpeg command and output (without -r option) :

    ffmpeg -i '/tmp/standort_aquarium.mp4' -vcodec libx264 output.mp4
    ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers built on Feb 22 2013 07:18:58 with gcc 4.4.5 configuration : —enable-libdc1394 —prefix=/usr —extra-cflags='-Wall -g ' —cc='ccache cc' —enable-shared —enable-libmp3lame —enable-gpl —enable-libvorbis —enable-pthreads —enable-libfaac —enable-libxvid —enable-postproc —enable-x11grab —enable-libgsm —enable-libtheora —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-libspeex —enable-nonfree —disable-stripping —enable-avfilter —enable-libdirac —disable-decoder=libdirac —enable-libfreetype —enable-libschroedinger —disable-encoder=libschroedinger —enable-version3 —enable-libopenjpeg —enable-libvpx —enable-librtmp —extra-libs=-lgcrypt —disable-altivec —disable-armv5te —disable-armv6 —disable-vis
    libavutil 50. 43. 0 / 50. 43. 0
    libavcodec 52.123. 0 / 52.123. 0
    libavformat 52.111. 0 / 52.111. 0
    libavdevice 52. 5. 0 / 52. 5. 0
    libavfilter 1. 80. 0 / 1. 80. 0
    libswscale 0. 14. 1 / 0. 14. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/standort_aquarium.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    Duration : 00:00:18.24, start : 0.000000, bitrate : 2095 kb/s
    Stream #0.0(und) : Video : mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2001 kb/s, 14.97 fps, 30k tbr, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [mp4 @ 0x20eed80] Frame rate very high for a muxer not effciciently supporting it.
    Please consider specifiying a lower framerate, a different muxer or -vsync 2
    [buffer @ 0x20f8820] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param :
    [libx264 @ 0x20efde0] Default settings detected, using medium profile
    [libx264 @ 0x20efde0] using SAR=1/1
    [libx264 @ 0x20efde0] MB rate (36000000) > level limit (983040)
    [libx264 @ 0x20efde0] using cpu capabilities : MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x20efde0] profile High, level 5.1
    [libx264 @ 0x20efde0] 264 - core 118 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=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=25 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 'output.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    encoder : Lavf52.111.0
    Stream #0.0(und) : Video : libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : libfaac, 48000 Hz, mono, s16, 64 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream mapping :
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop, [?] for help
    frame=542630 fps=132 q=33.0 Lsize= 77226kB time=00:00:18.08 bitrate=34976.2kbits/s dup=542358 drop=0
    video:68604kB audio:143kB global headers:0kB muxing overhead 12.333275%
    frame I:2174 Avg QP:18.72 size : 25040
    [libx264 @ 0x20efde0] frame P:136846 Avg QP:25.27 size : 56
    [libx264 @ 0x20efde0] frame B:403610 Avg QP:32.99 size : 20
    [libx264 @ 0x20efde0] consecutive B-frames : 0.8% 0.0% 0.1% 99.1%
    [libx264 @ 0x20efde0] mb I I16..4 : 5.5% 83.3% 11.1%
    [libx264 @ 0x20efde0] mb P I16..4 : 0.0% 0.0% 0.0% P16..4 : 0.5% 0.0% 0.0% 0.0% 0.0% skip:99.4%
    [libx264 @ 0x20efde0] mb B I16..4 : 0.0% 0.0% 0.0% B16..8 : 0.0% 0.0% 0.0% direct : 0.0% skip:100.0% L0:21.2% L1:78.8% BI : 0.0%
    [libx264 @ 0x20efde0] 8x8 transform intra:83.1% inter:85.2%
    [libx264 @ 0x20efde0] coded y,uvDC,uvAC intra : 91.2% 95.8% 80.7% inter : 0.0% 0.1% 0.0%
    [libx264 @ 0x20efde0] i16 v,h,dc,p : 13% 40% 12% 35%
    [libx264 @ 0x20efde0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 34% 15% 4% 4% 5% 6% 7% 8%
    [libx264 @ 0x20efde0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 20% 38% 6% 4% 6% 6% 8% 6% 6%
    [libx264 @ 0x20efde0] i8c dc,h,v,p : 39% 32% 19% 10%
    [libx264 @ 0x20efde0] Weighted P-Frames : Y:0.0% UV:0.0%
    [libx264 @ 0x20efde0] ref P L0 : 91.5% 5.2% 2.8% 0.4% 0.0%
    [libx264 @ 0x20efde0] ref B L0 : 55.7% 43.5% 0.8%
    [libx264 @ 0x20efde0] ref B L1 : 97.9% 2.1%
    [libx264 @ 0x20efde0] kb/s:31071.04

    The ffmpeg command and output with the -r 24 option :

    ffmpeg -i '/tmp/standort_aquarium.mp4' -r 30000/1001 -vcodec libx264 output.mp4
    ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb 22 2013 07:18:58 with gcc 4.4.5
    configuration : —enable-libdc1394 —prefix=/usr —extra-cflags='-Wall -g ' —cc='ccache cc' —enable-shared —enable-libmp3lame —enable-gpl —enable-libvorbis —enable-pthreads —enable-libfaac —enable-libxvid —enable-postproc —enable-x11grab —enable-libgsm —enable-libtheora —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-libspeex —enable-nonfree —disable-stripping —enable-avfilter —enable-libdirac —disable-decoder=libdirac —enable-libfreetype —enable-libschroedinger —disable-encoder=libschroedinger —enable-version3 —enable-libopenjpeg —enable-libvpx —enable-librtmp —extra-libs=-lgcrypt —disable-altivec —disable-armv5te —disable-armv6 —disable-vis
    libavutil 50. 43. 0 / 50. 43. 0
    libavcodec 52.123. 0 / 52.123. 0
    libavformat 52.111. 0 / 52.111. 0
    libavdevice 52. 5. 0 / 52. 5. 0
    libavfilter 1. 80. 0 / 1. 80. 0
    libswscale 0. 14. 1 / 0. 14. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/standort_aquarium.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    Duration : 00:00:18.24, start : 0.000000, bitrate : 2095 kb/s
    Stream #0.0(und) : Video : mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2001 kb/s, 14.97 fps, 30k tbr, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [buffer @ 0x132e820] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param :
    [libx264 @ 0x1325de0] Default settings detected, using medium profile
    [libx264 @ 0x1325de0] using SAR=1/1
    [libx264 @ 0x1325de0] using cpu capabilities : MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x1325de0] profile High, level 3.0
    [libx264 @ 0x1325de0] 264 - core 118 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=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=25 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 'output.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    encoder : Lavf52.111.0
    Stream #0.0(und) : Video : libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : libfaac, 48000 Hz, mono, s16, 64 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream mapping :
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop, [?] for help
    frame= 542 fps= 36 q=29.0 Lsize= 2059kB time=00:00:18.01 bitrate= 936.3kbits/s dup=270 drop=0
    video:1904kB audio:143kB global headers:0kB muxing overhead 0.609224%
    frame I:3 Avg QP:22.39 size : 14773
    [libx264 @ 0x1325de0] frame P:514 Avg QP:23.98 size : 3675
    [libx264 @ 0x1325de0] frame B:25 Avg QP:27.44 size : 643
    [libx264 @ 0x1325de0] consecutive B-frames : 93.7% 0.0% 1.1% 5.2%
    [libx264 @ 0x1325de0] mb I I16..4 : 16.4% 78.3% 5.3%
    [libx264 @ 0x1325de0] mb P I16..4 : 1.6% 6.3% 0.3% P16..4 : 30.8% 8.6% 3.1% 0.0% 0.0% skip:49.4%
    [libx264 @ 0x1325de0] mb B I16..4 : 0.4% 0.7% 0.0% B16..8 : 13.2% 1.6% 0.2% direct : 0.3% skip:83.6% L0:50.0% L1:47.1% BI : 2.9%
    [libx264 @ 0x1325de0] 8x8 transform intra:77.1% inter:83.1%
    [libx264 @ 0x1325de0] coded y,uvDC,uvAC intra : 62.0% 76.4% 24.4% inter : 17.9% 26.3% 2.3%
    [libx264 @ 0x1325de0] i16 v,h,dc,p : 14% 60% 13% 13%
    [libx264 @ 0x1325de0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 35% 33% 2% 3% 3% 3% 3% 4%
    [libx264 @ 0x1325de0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 40% 12% 4% 7% 7% 7% 5% 4%
    [libx264 @ 0x1325de0] i8c dc,h,v,p : 46% 34% 16% 4%
    [libx264 @ 0x1325de0] Weighted P-Frames : Y:8.0% UV:4.5%
    [libx264 @ 0x1325de0] ref P L0 : 65.6% 16.7% 8.8% 7.9% 0.9%
    [libx264 @ 0x1325de0] ref B L0 : 85.9% 13.3% 0.8%
    [libx264 @ 0x1325de0] ref B L1 : 88.7% 11.3%
    [libx264 @ 0x1325de0] kb/s:862.28

    The video source is temporarily available under : https://www.dropbox.com/s/4xg147z77u40g87/standort_aquarium.mp4

  • ffmpeg video stitching error (error while opening decoder...)

    24 mai 2013, par Revoluzifer

    I'm trying to stitch nine videos into one grid using this command :

    /usr/local/bin/ffmpeg -loglevel debug
    -i ./woohoo/7_video.mp4 -i ./woohoo/5_video.mp4 -i ./woohoo/6_video.mp4
    -i ./woohoo/2_video.mp4 -i ./woohoo/8_video.mp4 -i ./woohoo/0_video.mp4
    -i ./woohoo/3_video.mp4 -i ./woohoo/1_video.mp4 -i ./woohoo/10_video.mp4
    -filter_complex "
       [0:0]pad=iw:ih[a];[1:0]scale=w=iw/4:h=ih/4[b];[2:0]scale=w=iw/4:h=ih/4[c];
       [3:0]scale=w=iw/4:h=ih/4[d];[4:0]scale=w=iw/4:h=ih/4[e];
       [5:0]scale=w=iw/4:h=ih/4[f];[6:0]scale=w=iw/4:h=ih/4[g];
       [7:0]scale=w=iw/4:h=ih/4[h];[8:0]scale=w=iw/4:h=ih/4[i];
       [0:0]scale=w=iw/4:h=ih/4[j];
       [a][b]overlay=0*w:0*h[k];[k][c]overlay=1*w:0*h[l];[l][d]overlay=2*w:0*h[m];
       [m][e]overlay=0*w:1*h[n];[n][f]overlay=1*w:1*h[o];[o][g]overlay=2*w:1*h[p];
       [p][h]overlay=0*w:2*h[q];[q][i]overlay=1*w:2*h[r];[r][j]overlay=2*w:2*h
       "
    -c:v libx264 -an -r 30 -q:v 0 -threads 0 ./woohoo/10_video_out.mp4

    I'm running Ubuntu 10.04 LTS

    The complete output given by ffmpeg looks like this :

    ffmpeg version N-52943-g500220a Copyright (c) 2000-2013 the FFmpeg developers
     built on May 23 2013 16:44:21 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
     configuration: --enable-gpl --enable-version3 --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
     libavutil      52. 30.100 / 52. 30.100
     libavcodec     55.  7.100 / 55.  7.100
     libavformat    55.  4.101 / 55.  4.101
     libavdevice    55.  0.100 / 55.  0.100
     libavfilter     3. 63.101 /  3. 63.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Splitting the commandline.

    (...)

    Successfully parsed a group of options.
    Parsing a group of options: input file ./woohoo/7_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/7_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] File position before avformat_find_stream_info() is 969848
    [h264 @ 0x291aa80] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] File position after avformat_find_stream_info() is 19245
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/7_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.93, start: 0.000000, bitrate: 519 kb/s
       Stream #0:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 516 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/5_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/5_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] File position before avformat_find_stream_info() is 990829
    [h264 @ 0x2920340] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] File position after avformat_find_stream_info() is 15914
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/5_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.93, start: 0.000000, bitrate: 530 kb/s
       Stream #1:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 528 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/6_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/6_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] File position before avformat_find_stream_info() is 709220
    [h264 @ 0x2935f60] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] File position after avformat_find_stream_info() is 22467
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/6_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.00, start: 0.000000, bitrate: 378 kb/s
       Stream #2:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 375 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/2_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/2_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] File position before avformat_find_stream_info() is 928241
    [h264 @ 0x29b1040] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] File position after avformat_find_stream_info() is 28508
    Input #3, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/2_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.87, start: 0.000000, bitrate: 499 kb/s
       Stream #3:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 496 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/8_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/8_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] File position before avformat_find_stream_info() is 1038553
    [h264 @ 0x29b3cc0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] File position after avformat_find_stream_info() is 20282
    Input #4, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/8_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 552 kb/s
       Stream #4:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 549 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/0_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/0_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] File position before avformat_find_stream_info() is 1158061
    [h264 @ 0x2a318e0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] File position after avformat_find_stream_info() is 19639
    Input #5, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/0_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 616 kb/s
       Stream #5:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 614 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/3_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/3_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] File position before avformat_find_stream_info() is 1102892
    [h264 @ 0x2ab4f00] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] File position after avformat_find_stream_info() is 22585
    Input #6, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/3_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 586 kb/s
       Stream #6:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 583 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/1_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/1_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] File position before avformat_find_stream_info() is 933389
    [h264 @ 0x2ad7d80] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] File position after avformat_find_stream_info() is 20610
    Input #7, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/1_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.97, start: 0.000000, bitrate: 498 kb/s
       Stream #7:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 495 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/10_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/10_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] File position before avformat_find_stream_info() is 933355
    [h264 @ 0x2ada4a0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] File position after avformat_find_stream_info() is 21283
    Input #8, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/10_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 496 kb/s
       Stream #8:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 493 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: output file ./woohoo/10_video_out.mp4.
    Applying option c:v (codec name) with argument libx264.
    Applying option an (disable audio) with argument 1.
    Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
    Applying option q:v (use fixed quality scale (VBR)) with argument 0.
    Successfully parsed a group of options.
    Opening an output file: ./woohoo/10_video_out.mp4.
    [Parsed_pad_0 @ 0x2cb42a0] Setting 'width' to value 'iw'
    [Parsed_pad_0 @ 0x2cb42a0] Setting 'height' to value 'ih'
    [Parsed_scale_1 @ 0x2cb58a0] Setting 'w' to value 'iw/4'
    [Parsed_scale_1 @ 0x2cb58a0] Setting 'h' to value 'ih/4'
    [Parsed_scale_1 @ 0x2cb58a0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_2 @ 0x2cb6a60] Setting 'w' to value 'iw/4'
    [Parsed_scale_2 @ 0x2cb6a60] Setting 'h' to value 'ih/4'
    [Parsed_scale_2 @ 0x2cb6a60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_3 @ 0x2cb7920] Setting 'w' to value 'iw/4'
    [Parsed_scale_3 @ 0x2cb7920] Setting 'h' to value 'ih/4'
    [Parsed_scale_3 @ 0x2cb7920] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_4 @ 0x2cb8580] Setting 'w' to value 'iw/4'
    [Parsed_scale_4 @ 0x2cb8580] Setting 'h' to value 'ih/4'
    [Parsed_scale_4 @ 0x2cb8580] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_5 @ 0x2d2f0c0] Setting 'w' to value 'iw/4'
    [Parsed_scale_5 @ 0x2d2f0c0] Setting 'h' to value 'ih/4'
    [Parsed_scale_5 @ 0x2d2f0c0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_6 @ 0x2d302a0] Setting 'w' to value 'iw/4'
    [Parsed_scale_6 @ 0x2d302a0] Setting 'h' to value 'ih/4'
    [Parsed_scale_6 @ 0x2d302a0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_7 @ 0x2d31060] Setting 'w' to value 'iw/4'
    [Parsed_scale_7 @ 0x2d31060] Setting 'h' to value 'ih/4'
    [Parsed_scale_7 @ 0x2d31060] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_8 @ 0x2d31d60] Setting 'w' to value 'iw/4'
    [Parsed_scale_8 @ 0x2d31d60] Setting 'h' to value 'ih/4'
    [Parsed_scale_8 @ 0x2d31d60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_9 @ 0x2d32c60] Setting 'w' to value 'iw/4'
    [Parsed_scale_9 @ 0x2d32c60] Setting 'h' to value 'ih/4'
    [Parsed_scale_9 @ 0x2d32c60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_overlay_10 @ 0x2cb69a0] Setting 'x' to value '0*w'
    [Parsed_overlay_10 @ 0x2cb69a0] Setting 'y' to value '0*h'
    [Parsed_overlay_11 @ 0x2cb6420] Setting 'x' to value '1*w'
    [Parsed_overlay_11 @ 0x2cb6420] Setting 'y' to value '0*h'
    [Parsed_overlay_12 @ 0x2d2ee20] Setting 'x' to value '2*w'
    [Parsed_overlay_12 @ 0x2d2ee20] Setting 'y' to value '0*h'
    [Parsed_overlay_13 @ 0x2cb7220] Setting 'x' to value '0*w'
    [Parsed_overlay_13 @ 0x2cb7220] Setting 'y' to value '1*h'
    [Parsed_overlay_14 @ 0x2d322e0] Setting 'x' to value '1*w'
    [Parsed_overlay_14 @ 0x2d322e0] Setting 'y' to value '1*h'
    [Parsed_overlay_15 @ 0x2d2fba0] Setting 'x' to value '2*w'
    [Parsed_overlay_15 @ 0x2d2fba0] Setting 'y' to value '1*h'
    [Parsed_overlay_16 @ 0x2cb83a0] Setting 'x' to value '0*w'
    [Parsed_overlay_16 @ 0x2cb83a0] Setting 'y' to value '2*h'
    [Parsed_overlay_17 @ 0x2cb8480] Setting 'x' to value '1*w'
    [Parsed_overlay_17 @ 0x2cb8480] Setting 'y' to value '2*h'
    [Parsed_overlay_18 @ 0x2d30d80] Setting 'x' to value '2*w'
    [Parsed_overlay_18 @ 0x2d30d80] Setting 'y' to value '2*h'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 0:0 @ 0x2d36880] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 1:0 @ 0x2d2e780] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 3:0 @ 0x2d318e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 6:0 @ 0x2d33380] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [format @ 0x2d382c0] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuv444p]
    [format @ 0x2d382c0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuv444p'
    Successfully opened the file.
    [AVFilterGraph @ 0x2cb0e80] query_formats: 31 queried, 30 merged, 0 already done, 0 delayed
    [Parsed_pad_0 @ 0x2cb42a0] w:640 h:360 -> w:640 h:360 x:0 y:0 color:0x000000FF
    [Parsed_scale_1 @ 0x2cb58a0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_10 @ 0x2cb69a0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_2 @ 0x2cb6a60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_11 @ 0x2cb6420] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_3 @ 0x2cb7920] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_12 @ 0x2d2ee20] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_4 @ 0x2cb8580] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_13 @ 0x2cb7220] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_5 @ 0x2d2f0c0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_14 @ 0x2d322e0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_6 @ 0x2d302a0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_15 @ 0x2d2fba0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_7 @ 0x2d31060] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_16 @ 0x2cb83a0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_8 @ 0x2d31d60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_17 @ 0x2cb8480] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_9 @ 0x2d32c60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_18 @ 0x2d30d80] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [libx264 @ 0x2d38ae0] using mv_range_thread = 24
    [libx264 @ 0x2d38ae0] using SAR=1/1
    [libx264 @ 0x2d38ae0] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
    [libx264 @ 0x2d38ae0] profile High, level 3.0
    [libx264 @ 0x2d38ae0] 264 - core 132 r2310 76a5c3a - 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=-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=25 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
    [h264 @ 0x291aa80] detected 8 logical cores
    [h264 @ 0x2920340] detected 8 logical cores
    [h264 @ 0x2935f60] detected 8 logical cores
    [h264 @ 0x29b1040] detected 8 logical cores
    [h264 @ 0x29b3cc0] detected 8 logical cores
    Output #0, mp4, to './woohoo/10_video_out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
       Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/30, q=-1--1, 90k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 (h264) -> pad
     Stream #0:0 (h264) -> scale
     Stream #1:0 (h264) -> scale
     Stream #2:0 (h264) -> scale
     Stream #3:0 (h264) -> scale
     Stream #4:0 (h264) -> scale
     Stream #5:0 (h264) -> scale
     Stream #6:0 (h264) -> scale
     Stream #7:0 (h264) -> scale
     Stream #8:0 (h264) -> scale
     overlay -> Stream #0:0 (libx264)
    Error while opening decoder for input stream #4:0
    [AVIOContext @ 0x2d2fea0] Statistics: 0 seeks, 0 writeouts
    [AVIOContext @ 0x28dd8e0] Statistics: 71559 bytes read, 2 seeks
    [AVIOContext @ 0x291fae0] Statistics: 70647 bytes read, 2 seeks
    [AVIOContext @ 0x2931c40] Statistics: 71199 bytes read, 2 seeks
    [AVIOContext @ 0x2935e40] Statistics: 71399 bytes read, 2 seeks
    [AVIOContext @ 0x29b3480] Statistics: 71339 bytes read, 2 seeks
    [AVIOContext @ 0x2a2e180] Statistics: 69591 bytes read, 2 seeks
    [AVIOContext @ 0x2a317c0] Statistics: 71147 bytes read, 2 seeks
    [AVIOContext @ 0x2ab4de0] Statistics: 71363 bytes read, 2 seeks
    [AVIOContext @ 0x2c3ab00] Statistics: 71647 bytes read, 2 seeks

    The error line

    Error while opening decoder for input stream #4:0

    seems to be kind of random to me - at least the streams, ffmpeg fails on changes from time to time.