[FFmpeg-user] Re attempt #2: JPGs->video1 ; MOV -> Mp4 video2 ; Concatenate - video2 audio OK but video is slow . .

Philip Rhoades phil at pricom.com.au
Wed Mar 27 03:03:59 EET 2019


Carl,

There has been some improvement - I will top-post for clarity but the 
slow motion video has disappeared and the only remaining problem is that 
the audio and video are out of sync:

I stuck with concat because it alllows me to specify image files more 
conveniently in the concat_demuxer?.txt file:

ffmpeg -f concat -i concat_demuxer1.txt -vf scale=1024:576 -r 30000/1001 
output1.mp4
ffmpeg -f concat -i concat_demuxer2.txt -vf scale=1024:576 -r 30000/1001 
output2.mp4
ffmpeg -f concat -i concat_demuxer3.txt -vf scale=1024:576 -r 30000/1001 
output3.mp4

- see attached output.

for i in 1 2 3
do
   ffmpeg -ar 44100 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero \
     -i output${i}.mp4 \
     -vcodec copy \
     -acodec aac \
     -shortest output${i}_silent.mp4
done

- see attached output.

#!/bin/sh

ffmpeg -f concat -i inputs.txt -vcodec copy -acodec copy 
2019-03-22_#1_XR_ClimateEmergencyDeclarationDayNSW_LoRes.mp4

- see attached output.

Thanks,

Phil.


On 2019-03-27 10:48, Carl Eugen Hoyos wrote:
> 2019-03-27 0:23 GMT+01:00, Philip Rhoades <phil at pricom.com.au>:
> 
>> On 2019-03-27 07:22, Carl Eugen Hoyos wrote:
>>> 2019-03-26 21:15 GMT+01:00, Philip Rhoades <phil at pricom.com.au>:
>>> 
>>>> I converted 21 JPGs to a video with:
>>> 
>>> Usually, converting jpgs with the image2 input works better than
>>> concat.
>> 
>> Right - I will try that.
> 
> This is probably not your issue but the concat demuxer
> has the disadvantage that the console output is not
> very helpful.
> 
>>>>    ffmpeg -f concat -i concat_demuxer1.txt -vf scale=1024:576 -r 
>>>> 29.97
>>> 
>>> This framerate is never correct, a possible frame rate is 30000/1001
>> 
>> Hmm . . I was just using what was reported for the frame for the MOVs 
>> .
>> . so using:
>> 
>>    "-r 30000/1001"
>> 
>> is OK?
> 
> It is better if that is the framerate of the mov (as I assume).
> 
>>> You can add the audio already in this step.
>> 
>> I did have a few attempts at that but couldn't get it working so I
>> resorted to a two-step process - I will have another look.
>> 
>> 
>>>> output1.mp4
>>>> 
>>>> I then added a silent audio track with:
>>>> 
>>>>    ffmpeg -ar 44100 -acodec pcm_s16le -f s16le -ac 2 -channel_layout
>>>> 2.1
>>> 
>>> The channel number and layout do not match.
>> 
>> Should it be just "stereo"?
> 
> Or drop channel_layout, for -ac 2 it should not be needed.
> 
>>>> -i /dev/zero \
>>>>      -i output${i}.mp4 \
>>>>      -vcodec copy \
>>>>      -acodec aac \
>>>>      -shortest output${i}_silent.mp4
>>> 
>>>> I had another MOV file (fr=29.97) that I converted with:
>>>> 
>>>>    newfn=`basename $fn .MOV`
>>>>    ffmpeg  -i $fn -vf scale=1024:576 ./${newfn}.mp4
>>>> 
>>>> When I concatenate them with (and other converted JPGs and MOVS on 
>>>> the
>>>> end) using:
>>>> 
>>>>    ffmpeg -f concat -i inputs.txt -vcodec copy -acodec copy \
>>>> 2019-03-22_#1_XR_ClimateEmergencyDeclarationDayNSW_LoRes.mp4
>>>> 
>>>> the concat succeeds OK but when I play the video, the audio is OK 
>>>> but
>>>> then when it gets to the converted MOV section, people are moving in
>>>> slow motion . .
>>>> 
>>>> Another odd thing, the first 21 converted JPGs at 4 sec each 
>>>> correctly
>>>> shows 84 sec when viewed with mpv but when the converted MOV starts 
>>>> it
>>>> jumps to ~3m 50s . .
>>>> 
>>>> So there is at least one problem but maybe two?  Can anyone tell me
>>>> what
>>>> I am missing?
>>> 
>>> You may have to re-encode, feel free to provide the complete, uncut
>>> console output.
> 
> ..feel free to provide the complete, uncut console output for the
> command line you already tried and also ffmpeg -i output for
> the input files (as concat doesn't show it).
> 
> Carl Eugen

-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  phil at pricom.com.au
-------------- next part --------------
ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, concat, from 'concat_demuxer1.txt':
  Duration: 00:01:24.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1024x576 [SAR 350:350 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x55f9d7d75540] using SAR=1/1
[libx264 @ 0x55f9d7d75540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55f9d7d75540] profile High 4:2:2, level 3.1, 4:2:2 8-bit
[libx264 @ 0x55f9d7d75540] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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
Output #0, mp4, to 'output1.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=  361 fps=0.0 q=29.0 size=     256kB time=00:00:10.07 bitrate= 208.2kbits/s dup=357 drop=0 speed=16.3x    
frame=  600 fps=528 q=29.0 size=     512kB time=00:00:18.05 bitrate= 232.4kbits/s dup=594 drop=0 speed=15.9x    
frame=  840 fps=506 q=29.0 size=    1024kB time=00:00:26.05 bitrate= 321.9kbits/s dup=832 drop=0 speed=15.7x    
[swscaler @ 0x55f9d8122e40] deprecated pixel format used, make sure you did set range correctly
    Last message repeated 1 times
More than 1000 frames duplicated
frame= 1080 fps=493 q=29.0 size=    1024kB time=00:00:34.06 bitrate= 246.2kbits/s dup=1070 drop=0 speed=15.6x    
[swscaler @ 0x55f9d80209c0] deprecated pixel format used, make sure you did set range correctly
    Last message repeated 1 times
frame= 1440 fps=496 q=29.0 size=    1536kB time=00:00:46.07 bitrate= 273.1kbits/s dup=1427 drop=0 speed=15.9x    
frame= 1799 fps=488 q=29.0 size=    1792kB time=00:00:58.05 bitrate= 252.9kbits/s dup=1783 drop=0 speed=15.7x    
frame= 2159 fps=488 q=29.0 size=    2304kB time=00:01:10.07 bitrate= 269.4kbits/s dup=2140 drop=0 speed=15.9x    
frame= 2399 fps=486 q=29.0 size=    2816kB time=00:01:18.07 bitrate= 295.5kbits/s dup=2378 drop=0 speed=15.8x    
frame= 2517 fps=458 q=-1.0 Lsize=    3033kB time=00:01:23.88 bitrate= 296.2kbits/s dup=2496 drop=0 speed=15.3x    
video:3002kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.009632%
[libx264 @ 0x55f9d7d75540] frame I:21    Avg QP:14.66  size:142037
[libx264 @ 0x55f9d7d75540] frame P:630   Avg QP:14.80  size:    59
[libx264 @ 0x55f9d7d75540] frame B:1866  Avg QP:13.67  size:    29
[libx264 @ 0x55f9d7d75540] consecutive B-frames:  0.8%  0.2%  2.1% 96.8%
[libx264 @ 0x55f9d7d75540] mb I  I16..4: 27.5% 56.4% 16.1%
[libx264 @ 0x55f9d7d75540] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.3%  0.0%  0.0%  0.0%  0.0%    skip:99.7%
[libx264 @ 0x55f9d7d75540] 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: 0.0% L1:100.0% BI: 0.0%
[libx264 @ 0x55f9d7d75540] 8x8 transform intra:56.4% inter:61.0%
[libx264 @ 0x55f9d7d75540] coded y,uvDC,uvAC intra: 69.6% 69.3% 60.3% inter: 0.0% 0.1% 0.0%
[libx264 @ 0x55f9d7d75540] i16 v,h,dc,p: 96%  0%  3%  1%
[libx264 @ 0x55f9d7d75540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 18%  5%  5%  5%  9%  6% 11%
[libx264 @ 0x55f9d7d75540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 21%  9%  7%  8%  9% 10%  8% 10%
[libx264 @ 0x55f9d7d75540] i8c dc,h,v,p: 59% 15% 21%  5%
[libx264 @ 0x55f9d7d75540] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x55f9d7d75540] ref P L0: 96.4%  0.2%  1.7%  1.6%
[libx264 @ 0x55f9d7d75540] ref B L1: 93.3%  6.7%
[libx264 @ 0x55f9d7d75540] kb/s:292.78


ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, concat, from 'concat_demuxer2.txt':
  Duration: 00:00:12.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1024x576 [SAR 350:350 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x558386cc3d80] using SAR=1/1
[libx264 @ 0x558386cc3d80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x558386cc3d80] profile High 4:2:2, level 3.1, 4:2:2 8-bit
[libx264 @ 0x558386cc3d80] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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
Output #0, mp4, to 'output2.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=  241 fps=0.0 q=29.0 size=       0kB time=00:00:06.07 bitrate=   0.1kbits/s dup=238 drop=0 speed=  11x    
frame=  359 fps=0.0 q=-1.0 Lsize=     421kB time=00:00:11.87 bitrate= 290.4kbits/s dup=356 drop=0 speed=14.1x    
video:416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.208885%
[libx264 @ 0x558386cc3d80] frame I:3     Avg QP:15.85  size:136832
[libx264 @ 0x558386cc3d80] frame P:90    Avg QP:16.97  size:    81
[libx264 @ 0x558386cc3d80] frame B:266   Avg QP:13.67  size:    29
[libx264 @ 0x558386cc3d80] consecutive B-frames:  0.8%  0.6%  1.7% 96.9%
[libx264 @ 0x558386cc3d80] mb I  I16..4: 26.0% 50.4% 23.6%
[libx264 @ 0x558386cc3d80] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.7%  0.0%  0.0%  0.0%  0.0%    skip:99.3%
[libx264 @ 0x558386cc3d80] 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:33.3% L1:66.7% BI: 0.0%
[libx264 @ 0x558386cc3d80] 8x8 transform intra:50.4% inter:73.6%
[libx264 @ 0x558386cc3d80] coded y,uvDC,uvAC intra: 72.4% 71.4% 62.4% inter: 0.0% 0.2% 0.0%
[libx264 @ 0x558386cc3d80] i16 v,h,dc,p: 96%  0%  4%  0%
[libx264 @ 0x558386cc3d80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 14%  6%  6%  7%  7%  9% 11%
[libx264 @ 0x558386cc3d80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 16%  9%  7%  7%  8%  8% 10%  9%
[libx264 @ 0x558386cc3d80] i8c dc,h,v,p: 53% 11% 29%  7%
[libx264 @ 0x558386cc3d80] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x558386cc3d80] ref P L0: 91.3%  0.7%  4.0%  4.1%
[libx264 @ 0x558386cc3d80] kb/s:284.11


ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, concat, from 'concat_demuxer3.txt':
  Duration: 00:00:16.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1024x576 [SAR 350:350 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x560af0417200] using SAR=1/1
[libx264 @ 0x560af0417200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x560af0417200] profile High 4:2:2, level 3.1, 4:2:2 8-bit
[libx264 @ 0x560af0417200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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
Output #0, mp4, to 'output3.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=  361 fps=0.0 q=29.0 size=     256kB time=00:00:10.07 bitrate= 208.2kbits/s dup=357 drop=0 speed=13.9x    
frame=  479 fps=467 q=-1.0 Lsize=     535kB time=00:00:15.88 bitrate= 276.2kbits/s dup=475 drop=0 speed=15.5x    
video:529kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.215917%
[libx264 @ 0x560af0417200] frame I:4     Avg QP:14.20  size:129332
[libx264 @ 0x560af0417200] frame P:120   Avg QP:16.03  size:   113
[libx264 @ 0x560af0417200] frame B:355   Avg QP:13.67  size:    29
[libx264 @ 0x560af0417200] consecutive B-frames:  0.8%  0.4%  1.9% 96.9%
[libx264 @ 0x560af0417200] mb I  I16..4: 25.2% 66.4%  8.4%
[libx264 @ 0x560af0417200] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  1.3%  0.0%  0.0%  0.0%  0.0%    skip:98.7%
[libx264 @ 0x560af0417200] 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: 0.0% L1:100.0% BI: 0.0%
[libx264 @ 0x560af0417200] 8x8 transform intra:66.6% inter:53.8%
[libx264 @ 0x560af0417200] coded y,uvDC,uvAC intra: 73.5% 70.3% 55.7% inter: 0.0% 0.3% 0.0%
[libx264 @ 0x560af0417200] i16 v,h,dc,p: 97%  0%  3%  0%
[libx264 @ 0x560af0417200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 22% 26%  5%  6%  5%  9%  6% 10%
[libx264 @ 0x560af0417200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 19% 11%  7%  9%  9%  9%  8% 10%
[libx264 @ 0x560af0417200] i8c dc,h,v,p: 59% 16% 20%  5%
[libx264 @ 0x560af0417200] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x560af0417200] ref P L0: 97.3%  0.1%  1.6%  1.1%
[libx264 @ 0x560af0417200] kb/s:270.81
-------------- next part --------------
ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, s16le, from '/dev/zero':
  Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'output1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.12.100
  Duration: 00:01:23.98, start: 0.000000, bitrate: 295 kb/s
    Stream #1:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], 292 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #1:0 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'output1_silent.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 292 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.18.100 aac
frame= 2517 fps=0.0 q=-1.0 Lsize=    3114kB time=00:01:23.91 bitrate= 304.0kbits/s speed= 364x    
video:3002kB audio:21kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.987467%
[aac @ 0x55b340052d00] Qavg: 65536.000


ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, s16le, from '/dev/zero':
  Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'output2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.12.100
  Duration: 00:00:11.98, start: 0.000000, bitrate: 288 kb/s
    Stream #1:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], 284 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #1:0 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'output2_silent.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 284 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.18.100 aac
frame=  359 fps=0.0 q=-1.0 Lsize=     433kB time=00:00:11.91 bitrate= 297.9kbits/s speed= 357x    
video:416kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.345285%
[aac @ 0x56201857f6c0] Qavg: 65536.000


ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, s16le, from '/dev/zero':
  Duration: N/A, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'output3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.12.100
  Duration: 00:00:15.98, start: 0.000000, bitrate: 274 kb/s
    Stream #1:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], 271 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #1:0 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'output3_silent.mp4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuvj422p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 271 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.18.100 aac
frame=  479 fps=0.0 q=-1.0 Lsize=     551kB time=00:00:15.92 bitrate= 283.6kbits/s speed= 360x    
video:529kB audio:4kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.428985%
[aac @ 0x55f6f079c780] Qavg: 65536.000
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg_concat.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20190327/bf304b4d/attachment.txt>


More information about the ffmpeg-user mailing list