Skip to main content

On my Windows 7 PC, I've used Windows Live Movie Maker and Windows Media Encoder extensively to make and edit videos (I've also used other software like "Showbiz", "Super C" and "AVIdemux"). Recently I wanted to create a "grid mosaic" in a 2x2 arrangement of source videos in a target video. After some flailing around and gnashing of teeth, I found out about ffmpeg, downloaded the Windows "build" from the ffmpeg.org website, and have installed it on my PC. I tried using a command in the cmd window (aka "DOS") for the simple task of converting a WMV video (with an unusual aspect ratio) to AVI, and that worked out fine. At first the output image was pretty low-grade, but adding -b:v 3M fixed that up. Then, for my real objective, following this example I had found online, all as one line:

After some flailing around and gnashing of teeth, I found out about ffmpeg -i 1, downloaded the Windows "build" from the ffmpeg.avi -i 2org website, and have installed it on my PC.avi I tried using a command in the cmd window -i 3.avi(aka "DOS") for the simple task of converting a WMV video -i 4(with an unusual aspect ratio) to AVI, and that worked out fine.avi -filter_complex "nullsrc=size=640x480 [base]; [0:v] setpts=PTS At first the output image was pretty low-STARTPTSgrade, scale=320x240 [upperleft]; [1:v] setpts=PTSbut adding -STARTPTS, scale=320x240 [upperright]; [2b:v] setpts=PTS-STARTPTSv 3M fixed that up. Then, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTSfor my real objective, scale=320x240 [lowerright]; [base][upperleft] overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=1following this example I had found online:y=240 [tmp3]; [tmp3][lowerright]

ffmpeg -i 1.avi -i 2.avi -i 3.avi -i 4.avi -filter_complex "nullsrc=size=640x480 [base]; 
[0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright]; [base][upperleft] 
overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=1:y=240 [tmp3]; [tmp3][lowerright] 

overlay=shortest=1:x=320:y=240" -c:v libx264 output.mkv

ffmpeg -i PatrShdY.wmv -i TJC.wmv -i TwSlRawD.wmv -i NightmrC.wmv -filter_complex "nullsrc=size=1056x594 [base]; [0:v] setpts=PTS-STARTPTS, scale=528x297 [ul]; [1:v] setpts=PTS-STARTPTS, scale=528x297 [ur]; [2:v] setpts=PTS-STARTPTS, scale=528x297 [ll]; [3:v] setpts=PTS-STARTPTS, scale=528x297 [lr]; [base][ul] overlay=shortest=1 [t1]; [t1][ur] overlay=shortest=1:x=528 [t2]; [t2][ll] overlay=shortest=1:y=297 [t3]; [t3][lr] overlay=shortest=1:x=528:y=297" -b:v 3M mos1.wmv

ffmpeg -i PatrShdY.wmv -i TJC.wmv -i TwSlRawD.wmv -i NightmrC.wmv -filter_complex "nullsrc=size=1056x594 [base]; 
[0:v] setpts=PTS-STARTPTS, scale=528x297 [ul]; [1:v] setpts=PTS-STARTPTS, scale=528x297 [ur]; [2:v] setpts=PTS-STARTPTS, scale=528x297 [ll]; [3:v] setpts=PTS-STARTPTS, scale=528x297 [lr]; 
[base][ul] overlay=shortest=1 [t1]; [t1][ur] overlay=shortest=1:x=528 [t2]; [t2][ll] overlay=shortest=1:y=297 [t3]; [t3][lr] overlay=shortest=1:x=528:y=297" -b:v 3M mos1.wmv

On my Windows 7 PC, I've used Windows Live Movie Maker and Windows Media Encoder extensively to make and edit videos (I've also used other software like "Showbiz", "Super C" and "AVIdemux"). Recently I wanted to create a "grid mosaic" in a 2x2 arrangement of source videos in a target video. After some flailing around and gnashing of teeth, I found out about ffmpeg, downloaded the Windows "build" from the ffmpeg.org website, and have installed it on my PC. I tried using a command in the cmd window (aka "DOS") for the simple task of converting a WMV video (with an unusual aspect ratio) to AVI, and that worked out fine. At first the output image was pretty low-grade, but adding -b:v 3M fixed that up. Then, for my real objective, following this example I had found online, all as one line:

ffmpeg -i 1.avi -i 2.avi -i 3.avi -i 4.avi -filter_complex "nullsrc=size=640x480 [base]; [0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright]; [base][upperleft] overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=1:y=240 [tmp3]; [tmp3][lowerright] overlay=shortest=1:x=320:y=240" -c:v libx264 output.mkv

ffmpeg -i PatrShdY.wmv -i TJC.wmv -i TwSlRawD.wmv -i NightmrC.wmv -filter_complex "nullsrc=size=1056x594 [base]; [0:v] setpts=PTS-STARTPTS, scale=528x297 [ul]; [1:v] setpts=PTS-STARTPTS, scale=528x297 [ur]; [2:v] setpts=PTS-STARTPTS, scale=528x297 [ll]; [3:v] setpts=PTS-STARTPTS, scale=528x297 [lr]; [base][ul] overlay=shortest=1 [t1]; [t1][ur] overlay=shortest=1:x=528 [t2]; [t2][ll] overlay=shortest=1:y=297 [t3]; [t3][lr] overlay=shortest=1:x=528:y=297" -b:v 3M mos1.wmv

On my Windows 7 PC, I've used Windows Live Movie Maker and Windows Media Encoder extensively to make and edit videos (I've also used other software like "Showbiz", "Super C" and "AVIdemux"). Recently I wanted to create a "grid mosaic" in a 2x2 arrangement of source videos in a target video.

After some flailing around and gnashing of teeth, I found out about ffmpeg, downloaded the Windows "build" from the ffmpeg.org website, and have installed it on my PC. I tried using a command in the cmd window (aka "DOS") for the simple task of converting a WMV video (with an unusual aspect ratio) to AVI, and that worked out fine. At first the output image was pretty low-grade, but adding -b:v 3M fixed that up. Then, for my real objective, following this example I had found online:

ffmpeg -i 1.avi -i 2.avi -i 3.avi -i 4.avi -filter_complex "nullsrc=size=640x480 [base]; 
[0:v] setpts=PTS-STARTPTS, scale=320x240 [upperleft]; [1:v] setpts=PTS-STARTPTS, scale=320x240 [upperright]; [2:v] setpts=PTS-STARTPTS, scale=320x240 [lowerleft]; [3:v] setpts=PTS-STARTPTS, scale=320x240 [lowerright]; [base][upperleft] 
overlay=shortest=1 [tmp1]; [tmp1][upperright] overlay=shortest=1:x=320 [tmp2]; [tmp2][lowerleft] overlay=shortest=1:y=240 [tmp3]; [tmp3][lowerright] 

overlay=shortest=1:x=320:y=240" -c:v libx264 output.mkv

ffmpeg -i PatrShdY.wmv -i TJC.wmv -i TwSlRawD.wmv -i NightmrC.wmv -filter_complex "nullsrc=size=1056x594 [base]; 
[0:v] setpts=PTS-STARTPTS, scale=528x297 [ul]; [1:v] setpts=PTS-STARTPTS, scale=528x297 [ur]; [2:v] setpts=PTS-STARTPTS, scale=528x297 [ll]; [3:v] setpts=PTS-STARTPTS, scale=528x297 [lr]; 
[base][ul] overlay=shortest=1 [t1]; [t1][ur] overlay=shortest=1:x=528 [t2]; [t2][ll] overlay=shortest=1:y=297 [t3]; [t3][lr] overlay=shortest=1:x=528:y=297" -b:v 3M mos1.wmv
deleted 5160 characters in body
Source Link
AJ Henderson
  • 19.4k
  • 4
  • 25
  • 46

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it; the size of it will require 3 further "answer" posts -- see below. Here's the start:

ffmpeg version N-87867-g0655810072 Copyright (c) 2000-2017 the FFmpeg developers

  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11
va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100
Input #0, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Guessed Channel Layout for Input Stream #1.1 : mono
Input #1, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #1:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #1:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Guessed Channel Layout for Input Stream #2.1 : mono
Input #2, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #2:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #2:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Input #3, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #3:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #3:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Stream mapping:
  Stream #0:0 (mpeg4) -> setpts (graph 0)
  Stream #1:0 (msmpeg4) -> setpts (graph 0)
  Stream #2:0 (msmpeg4) -> setpts (graph 0)
  Stream #3:0 (mpeg4) -> setpts (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 00000000005a9980] using SAR=1/1
[libx264 @ 00000000005a9980] using cpu capabilities: MMX2 SSE2Slow LZCNT SSSE3 S
lowPalignr
[libx264 @ 00000000005a9980] profile High, level 3.0
[libx264 @ 00000000005a9980] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf57.84.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SA
R 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.108.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 22050 Hz, stereo, fltp, 192 k
b/s
    Metadata:
      encoder         : Lavc57.108.100 ac3
frame=    1 fps=0.9 q=0.0 size=       0kB time=00:00:00.61 bitrate=   0.0kbits/s
frame=   39 fps= 24 q=0.0 size=       0kB time=00:00:02.07 bitrate=   0.0kbits/s
frame=   46 fps= 21 q=0.0 size=       0kB time=00:00:02.35 bitrate=   0.0kbits/s
frame=   53 fps= 20 q=28.0 size=       1kB time=00:00:02.63 bitrate=   2.8kbits/
frame=   60 fps= 18 q=28.0 size=       1kB time=00:00:02.91 bitrate=   2.5kbits/
frame=   67 fps= 18 q=28.0 size=       1kB time=00:00:03.19 bitrate=   2.3kbits/
frame=   74 fps= 17 q=28.0 size=       1kB time=00:00:03.40 bitrate=   2.2kbits/
frame=   80 fps= 17 q=28.0 size=       1kB time=00:00:03.68 bitrate=   2.0kbits/
frame=   87 fps= 16 q=28.0 size=       1kB time=00:00:03.95 bitrate=   1.9kbits/
frame=   94 fps= 16 q=28.0 size=       1kB time=00:00:04.23 bitrate=   1.7kbits/
frame=   99 fps= 16 q=28.0 size=       1kB time=00:00:04.44 bitrate=   1.7kbits/
frame=  104 fps= 15 q=28.0 size=       1kB time=00:00:04.65 bitrate=   1.6kbits/

https://pastebin.com/6DrjGPmA

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it; the size of it will require 3 further "answer" posts -- see below. Here's the start:

ffmpeg version N-87867-g0655810072 Copyright (c) 2000-2017 the FFmpeg developers

  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11
va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100
Input #0, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Guessed Channel Layout for Input Stream #1.1 : mono
Input #1, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #1:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #1:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Guessed Channel Layout for Input Stream #2.1 : mono
Input #2, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #2:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #2:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Input #3, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #3:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #3:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Stream mapping:
  Stream #0:0 (mpeg4) -> setpts (graph 0)
  Stream #1:0 (msmpeg4) -> setpts (graph 0)
  Stream #2:0 (msmpeg4) -> setpts (graph 0)
  Stream #3:0 (mpeg4) -> setpts (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 00000000005a9980] using SAR=1/1
[libx264 @ 00000000005a9980] using cpu capabilities: MMX2 SSE2Slow LZCNT SSSE3 S
lowPalignr
[libx264 @ 00000000005a9980] profile High, level 3.0
[libx264 @ 00000000005a9980] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf57.84.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SA
R 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.108.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 22050 Hz, stereo, fltp, 192 k
b/s
    Metadata:
      encoder         : Lavc57.108.100 ac3
frame=    1 fps=0.9 q=0.0 size=       0kB time=00:00:00.61 bitrate=   0.0kbits/s
frame=   39 fps= 24 q=0.0 size=       0kB time=00:00:02.07 bitrate=   0.0kbits/s
frame=   46 fps= 21 q=0.0 size=       0kB time=00:00:02.35 bitrate=   0.0kbits/s
frame=   53 fps= 20 q=28.0 size=       1kB time=00:00:02.63 bitrate=   2.8kbits/
frame=   60 fps= 18 q=28.0 size=       1kB time=00:00:02.91 bitrate=   2.5kbits/
frame=   67 fps= 18 q=28.0 size=       1kB time=00:00:03.19 bitrate=   2.3kbits/
frame=   74 fps= 17 q=28.0 size=       1kB time=00:00:03.40 bitrate=   2.2kbits/
frame=   80 fps= 17 q=28.0 size=       1kB time=00:00:03.68 bitrate=   2.0kbits/
frame=   87 fps= 16 q=28.0 size=       1kB time=00:00:03.95 bitrate=   1.9kbits/
frame=   94 fps= 16 q=28.0 size=       1kB time=00:00:04.23 bitrate=   1.7kbits/
frame=   99 fps= 16 q=28.0 size=       1kB time=00:00:04.44 bitrate=   1.7kbits/
frame=  104 fps= 15 q=28.0 size=       1kB time=00:00:04.65 bitrate=   1.6kbits/

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it:

https://pastebin.com/6DrjGPmA

Adding part 1 of report
Source Link

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it; the size of it will require 3 further "answer" posts -- see below. Here's the start:

ffmpeg version N-87867-g0655810072 Copyright (c) 2000-2017 the FFmpeg developers

  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11
va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100
Input #0, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Guessed Channel Layout for Input Stream #1.1 : mono
Input #1, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #1:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #1:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Guessed Channel Layout for Input Stream #2.1 : mono
Input #2, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #2:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #2:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Input #3, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #3:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #3:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Stream mapping:
  Stream #0:0 (mpeg4) -> setpts (graph 0)
  Stream #1:0 (msmpeg4) -> setpts (graph 0)
  Stream #2:0 (msmpeg4) -> setpts (graph 0)
  Stream #3:0 (mpeg4) -> setpts (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 00000000005a9980] using SAR=1/1
[libx264 @ 00000000005a9980] using cpu capabilities: MMX2 SSE2Slow LZCNT SSSE3 S
lowPalignr
[libx264 @ 00000000005a9980] profile High, level 3.0
[libx264 @ 00000000005a9980] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf57.84.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SA
R 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.108.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 22050 Hz, stereo, fltp, 192 k
b/s
    Metadata:
      encoder         : Lavc57.108.100 ac3
frame=    1 fps=0.9 q=0.0 size=       0kB time=00:00:00.61 bitrate=   0.0kbits/s
frame=   39 fps= 24 q=0.0 size=       0kB time=00:00:02.07 bitrate=   0.0kbits/s
frame=   46 fps= 21 q=0.0 size=       0kB time=00:00:02.35 bitrate=   0.0kbits/s
frame=   53 fps= 20 q=28.0 size=       1kB time=00:00:02.63 bitrate=   2.8kbits/
frame=   60 fps= 18 q=28.0 size=       1kB time=00:00:02.91 bitrate=   2.5kbits/
frame=   67 fps= 18 q=28.0 size=       1kB time=00:00:03.19 bitrate=   2.3kbits/
frame=   74 fps= 17 q=28.0 size=       1kB time=00:00:03.40 bitrate=   2.2kbits/
frame=   80 fps= 17 q=28.0 size=       1kB time=00:00:03.68 bitrate=   2.0kbits/
frame=   87 fps= 16 q=28.0 size=       1kB time=00:00:03.95 bitrate=   1.9kbits/
frame=   94 fps= 16 q=28.0 size=       1kB time=00:00:04.23 bitrate=   1.7kbits/
frame=   99 fps= 16 q=28.0 size=       1kB time=00:00:04.44 bitrate=   1.7kbits/
frame=  104 fps= 15 q=28.0 size=       1kB time=00:00:04.65 bitrate=   1.6kbits/

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it; the size of it will require 3 further "answer" posts -- see below.

The result of THIS reported the creation of 4+ minutes of video (and not all "frame= 1") -- it wasn't still images, but it was properly PLACED images that were a flickering, flashing jumbled mess with screwed-up time flow, file size 41.4 Mb. I've been requested to supply the full report on it; the size of it will require 3 further "answer" posts -- see below. Here's the start:

ffmpeg version N-87867-g0655810072 Copyright (c) 2000-2017 the FFmpeg developers

  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
lib --enable-gmp --enable-libvidstab --enable-cuda --enable-cuvid --enable-d3d11
va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100
Input #0, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Guessed Channel Layout for Input Stream #1.1 : mono
Input #1, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #1:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #1:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Guessed Channel Layout for Input Stream #2.1 : mono
Input #2, avi, from 'WareMorg.avi':
  Duration: 00:09:56.37, start: 0.000000, bitrate: 417 kb/s
    Stream #2:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 320x240, 283 kb/
s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #2:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, mono, s16, 1
28 kb/s
Input #3, avi, from 'asianpho.avi':
  Duration: 00:04:13.36, start: 0.000000, bitrate: 1027 kb/s
    Stream #3:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], 977 kb/s, 25 fps, 25 tbr, 25 tbn, 30k tbc
    Stream #3:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16p, 39 kb
/s
Stream mapping:
  Stream #0:0 (mpeg4) -> setpts (graph 0)
  Stream #1:0 (msmpeg4) -> setpts (graph 0)
  Stream #2:0 (msmpeg4) -> setpts (graph 0)
  Stream #3:0 (mpeg4) -> setpts (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (mp3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 00000000005a9980] using SAR=1/1
[libx264 @ 00000000005a9980] using cpu capabilities: MMX2 SSE2Slow LZCNT SSSE3 S
lowPalignr
[libx264 @ 00000000005a9980] profile High, level 3.0
[libx264 @ 00000000005a9980] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=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_pski
p=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=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=2
5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.6
0 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf57.84.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SA
R 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.108.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 22050 Hz, stereo, fltp, 192 k
b/s
    Metadata:
      encoder         : Lavc57.108.100 ac3
frame=    1 fps=0.9 q=0.0 size=       0kB time=00:00:00.61 bitrate=   0.0kbits/s
frame=   39 fps= 24 q=0.0 size=       0kB time=00:00:02.07 bitrate=   0.0kbits/s
frame=   46 fps= 21 q=0.0 size=       0kB time=00:00:02.35 bitrate=   0.0kbits/s
frame=   53 fps= 20 q=28.0 size=       1kB time=00:00:02.63 bitrate=   2.8kbits/
frame=   60 fps= 18 q=28.0 size=       1kB time=00:00:02.91 bitrate=   2.5kbits/
frame=   67 fps= 18 q=28.0 size=       1kB time=00:00:03.19 bitrate=   2.3kbits/
frame=   74 fps= 17 q=28.0 size=       1kB time=00:00:03.40 bitrate=   2.2kbits/
frame=   80 fps= 17 q=28.0 size=       1kB time=00:00:03.68 bitrate=   2.0kbits/
frame=   87 fps= 16 q=28.0 size=       1kB time=00:00:03.95 bitrate=   1.9kbits/
frame=   94 fps= 16 q=28.0 size=       1kB time=00:00:04.23 bitrate=   1.7kbits/
frame=   99 fps= 16 q=28.0 size=       1kB time=00:00:04.44 bitrate=   1.7kbits/
frame=  104 fps= 15 q=28.0 size=       1kB time=00:00:04.65 bitrate=   1.6kbits/
Preparing to add report on second malformed video
Source Link
Loading
Source Link
Loading