concat with differing tbn in h264 streams

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

concat with differing tbn in h264 streams

S Andreason
Hi,
I am getting problems creating a single video from different cameras. I
first convert each to the desired size and codecs, so that the concat
function will work. But the video codecs are still not exactly the same,
and thus the output is getting errors and dropped video frames with time
stamp errors.

Short question, how do I force a specific 30k tbn instead of 11988 tbn
to get them the same?

Long version with complete output:
$ ffmpeg -i 20160916_0531_Conpus-250A_tripped_3299.MOV -t 11 -c:v h264
-s 640x360 -c:a copy
20160916_0531_Conpus-250A_beginTest_3299_c0t11-h640x360.mov
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-pthreads --enable-libopenjpeg --enable-nonfree
--disable-ffserver --disable-network --enable-libfreetype
--enable-libfontconfig --disable-doc --disable-htmlpages
--disable-podpages --enable-shared --enable-libvpx
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'20160916_0531_Conpus-250A_tripped_3299.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    com.apple.quicktime.make: Canon
    com.apple.quicktime.model: Canon PowerShot SX260 HS
    com.apple.quicktime.rating.user: 0.000000
    creation_time   : 2016-09-16 12:31:55
  Duration: 00:01:55.42, start: 0.000000, bitrate: 24865 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuvj420p(pc, bt709), 1280x720, 23320 kb/s, 29.97 fps, 29.97
tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2016-09-16 12:31:55
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2016-09-16 12:31:55
[swscaler @ 0x970b220] deprecated pixel format used, make sure you did
set range correctly
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x96b1c00] using cpu capabilities: none!
[libx264 @ 0x96b1c00] profile High, level 3.0
[libx264 @ 0x96b1c00] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - 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
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=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
[mov @ 0x96b0ee0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to
'20160916_0531_Conpus-250A_tripped_3299_c0t11-h640x360.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537331968
    compatible_brands: qt  CAEP
    com.apple.quicktime.make: Canon
    com.apple.quicktime.model: Canon PowerShot SX260 HS
    com.apple.quicktime.rating.user: 0.000000
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2016-09-16 12:31:55
      encoder         : Lavc57.48.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, 1536 kb/s (default)
    Metadata:
      creation_time   : 2016-09-16 12:31:55
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  330 fps=2.6 q=29.0 Lsize=    3064kB time=00:00:11.00
bitrate=2281.3kbits/s speed=0.0883x  
video:990kB audio:2063kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.350168%
[libx264 @ 0x96b1c00] frame I:2     Avg QP:23.35  size: 12112
[libx264 @ 0x96b1c00] frame P:160   Avg QP:25.88  size:  5179
[libx264 @ 0x96b1c00] frame B:168   Avg QP:28.30  size:   955
[libx264 @ 0x96b1c00] consecutive B-frames: 16.4% 35.8% 34.5% 13.3%
[libx264 @ 0x96b1c00] mb I  I16..4: 12.4% 77.2% 10.4%
[libx264 @ 0x96b1c00] mb P  I16..4:  3.1%  9.0%  0.6%  P16..4: 50.2%
18.3%  7.3%  0.0%  0.0%    skip:11.6%
[libx264 @ 0x96b1c00] mb B  I16..4:  0.1%  0.2%  0.0%  B16..8: 43.9%  
2.6%  0.3%  direct: 0.8%  skip:52.1%  L0:33.0% L1:62.0% BI: 5.0%
[libx264 @ 0x96b1c00] 8x8 transform intra:71.3% inter:82.0%
[libx264 @ 0x96b1c00] coded y,uvDC,uvAC intra: 50.4% 69.0% 25.2% inter:
20.2% 28.3% 2.6%
[libx264 @ 0x96b1c00] i16 v,h,dc,p: 32% 27% 13% 28%
[libx264 @ 0x96b1c00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 25%  4%  
5%  5%  9%  4%  6%
[libx264 @ 0x96b1c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 15%  4%
10%  8% 11%  5%  4%
[libx264 @ 0x96b1c00] i8c dc,h,v,p: 55% 19% 22%  5%
[libx264 @ 0x96b1c00] Weighted P-Frames: Y:15.0% UV:2.5%
[libx264 @ 0x96b1c00] ref P L0: 66.2% 19.5% 10.0%  3.7%  0.5%
[libx264 @ 0x96b1c00] ref B L0: 87.5% 11.1%  1.4%
[libx264 @ 0x96b1c00] ref B L1: 94.3%  5.7%
[libx264 @ 0x96b1c00] kb/s:736.21


The 2nd file is identical type to the 1st.
~/camera/solar/editing$ ffmpeg -i
20160915_1540_ConPus-250A-breaker_replacementTestLoad_trips-116.3A-43s-over100A_3297.MOV
-ss 56 -t 75 -c:v h264 -s 640x360 -c:a copy
20160915_1540_ConPus-250A-breaker_replacementTestLoad_trips-116.3A-43s-over100A_3297_c56t75-h640x360.mov

3rd file:

~/camera/solar/editing$ ffmpeg -i
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5.MOV
-c:v h264 -s 640x360 -r 29.97 -pix_fmt yuvj420p -c:a pcm_s16le -ar 48000
-ac 2  
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-pthreads --enable-libopenjpeg --enable-nonfree
--disable-ffserver --disable-network --enable-libfreetype
--enable-libfontconfig --disable-doc --disable-htmlpages
--disable-podpages --enable-shared --enable-libvpx
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf57.41.100
    comment         : HDDVR-Mobius
    comment-eng     : HDDVR-Mobius
  Duration: 00:00:05.00, start: 0.000000, bitrate: 18116 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080, 17599 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : h264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 32000 Hz,
mono, s16, 512 kb/s (default)
    Metadata:
      handler_name    : DataHandler
[swscaler @ 0x976f0c0] deprecated pixel format used, make sure you did
set range correctly
[libx264 @ 0x96e44c0] using cpu capabilities: none!
[libx264 @ 0x96e44c0] profile High, level 3.0
[libx264 @ 0x96e44c0] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - 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
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=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
[mov @ 0x9705220] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    comment-eng     : HDDVR-Mobius
    comment         : HDDVR-Mobius
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
frame=  150 fps=4.5 q=29.0 Lsize=    1059kB time=00:00:05.00
bitrate=1734.9kbits/s speed=0.149x  
video:117kB audio:938kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.424186%
[libx264 @ 0x96e44c0] frame I:1     Avg QP:21.83  size: 34103
[libx264 @ 0x96e44c0] frame P:38    Avg QP:22.09  size:  1949
[libx264 @ 0x96e44c0] frame B:111   Avg QP:24.52  size:    98
[libx264 @ 0x96e44c0] consecutive B-frames:  1.3%  0.0%  0.0% 98.7%
[libx264 @ 0x96e44c0] mb I  I16..4:  3.2% 45.3% 51.5%
[libx264 @ 0x96e44c0] mb P  I16..4:  0.3%  0.2%  0.0%  P16..4: 30.9%  
3.6%  5.4%  0.0%  0.0%    skip:59.5%
[libx264 @ 0x96e44c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 10.0%  
0.0%  0.0%  direct: 0.0%  skip:90.0%  L0:14.2% L1:85.7% BI: 0.1%
[libx264 @ 0x96e44c0] 8x8 transform intra:44.5% inter:68.2%
[libx264 @ 0x96e44c0] coded y,uvDC,uvAC intra: 63.3% 88.3% 68.8% inter:
3.6% 5.4% 0.5%
[libx264 @ 0x96e44c0] i16 v,h,dc,p: 75%  9% 10%  6%
[libx264 @ 0x96e44c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43%  6% 23%  4%  
7%  6%  4%  4%  4%
[libx264 @ 0x96e44c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 10%  6%  
9%  9%  9%  6%  8%
[libx264 @ 0x96e44c0] i8c dc,h,v,p: 43% 17% 31%  9%
[libx264 @ 0x96e44c0] Weighted P-Frames: Y:2.6% UV:2.6%
[libx264 @ 0x96e44c0] ref P L0: 71.9%  6.9% 17.4%  3.7%  0.2%
[libx264 @ 0x96e44c0] ref B L0: 84.0% 12.2%  3.8%
[libx264 @ 0x96e44c0] ref B L1: 93.4%  6.6%
[libx264 @ 0x96e44c0] kb/s:190.25


~/camera/solar/editing$ cat concat-list-3297.txt
# ffmpeg -f concat -i concat-list-3297.txt -c copy
20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov
file '20160916_0531_Conpus-250A_beginTest_3299_c0t11-h640x360.mov'
file
'20160915_1540_ConPus-250A-breaker_replacementTestLoad_trips-116.3A-43s-over100A_3297_c56t75-h640x360.mov'
file
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov'

~/camera/solar/editing$ ffmpeg -f concat -i concat-list-3297.txt -c copy
20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-pthreads --enable-libopenjpeg --enable-nonfree
--disable-ffserver --disable-network --enable-libfreetype
--enable-libfontconfig --disable-doc --disable-htmlpages
--disable-podpages --enable-shared --enable-libvpx
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9c3f2e0] Auto-inserting h264_mp4toannexb
bitstream filter
Input #0, concat, from 'concat-list-3297.txt':
  Duration: N/A, start: 0.000000, bitrate: 2272 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, 736 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s
    Metadata:
      handler_name    : DataHandler
[mov @ 0x9c453e0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to
'20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov':
  Metadata:
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p(pc),
640x360, q=2-31, 736 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, 1536 kb/s
    Metadata:
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9c3f2e0] Auto-inserting h264_mp4toannexb
bitstream filter
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x9c3f2e0] Auto-inserting h264_mp4toannexb
bitstream filterd= 109x  
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577575, current: 1030432; changing to 2577576. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577576, current: 1030832; changing to 2577577. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577577, current: 1031232; changing to 2577578. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577578, current: 1031632; changing to 2577579. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577579, current: 1032032; changing to 2577580. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577580, current: 1032432; changing to 2577581. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577581, current: 1032832; changing to 2577582. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577582, current: 1033232; changing to 2577583. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577583, current: 1033632; changing to 2577584. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577584, current: 1034032; changing to 2577585. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577585, current: 1034432; changing to 2577586. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577586, current: 1034832; changing to 2577587. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577587, current: 1035232; changing to 2577588. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577588, current: 1035632; changing to 2577589. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577589, current: 1036032; changing to 2577590. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577590, current: 1036432; changing to 2577591. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577591, current: 1036832; changing to 2577592. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577592, current: 1037232; changing to 2577593. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577593, current: 1037632; changing to 2577594. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577594, current: 1038032; changing to 2577595. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577595, current: 1038432; changing to 2577596. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577596, current: 1038832; changing to 2577597. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577597, current: 1039232; changing to 2577598. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577598, current: 1039632; changing to 2577599. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577599, current: 1040032; changing to 2577600. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577600, current: 1040432; changing to 2577601. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577601, current: 1040832; changing to 2577602. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577602, current: 1041232; changing to 2577603. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577603, current: 1041632; changing to 2577604. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577604, current: 1042032; changing to 2577605. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577605, current: 1042432; changing to 2577606. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577606, current: 1042832; changing to 2577607. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577607, current: 1043232; changing to 2577608. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577608, current: 1043632; changing to 2577609. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577609, current: 1044032; changing to 2577610. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577610, current: 1044432; changing to 2577611. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577611, current: 1044832; changing to 2577612. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577612, current: 1045232; changing to 2577613. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577613, current: 1045632; changing to 2577614. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577614, current: 1046032; changing to 2577615. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577615, current: 1046432; changing to 2577616. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577616, current: 1046832; changing to 2577617. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577617, current: 1047232; changing to 2577618. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577618, current: 1047632; changing to 2577619. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577619, current: 1048032; changing to 2577620. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577620, current: 1048432; changing to 2577621. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577621, current: 1048832; changing to 2577622. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577622, current: 1049232; changing to 2577623. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577623, current: 1049632; changing to 2577624. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577624, current: 1050032; changing to 2577625. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577625, current: 1050432; changing to 2577626. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577626, current: 1050832; changing to 2577627. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577627, current: 1051232; changing to 2577628. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577628, current: 1051632; changing to 2577629. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577629, current: 1052032; changing to 2577630. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577630, current: 1052432; changing to 2577631. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577631, current: 1052832; changing to 2577632. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577632, current: 1053232; changing to 2577633. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577633, current: 1053632; changing to 2577634. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577634, current: 1054032; changing to 2577635. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577635, current: 1054432; changing to 2577636. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577636, current: 1054832; changing to 2577637. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577637, current: 1055232; changing to 2577638. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577638, current: 1055632; changing to 2577639. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577639, current: 1056032; changing to 2577640. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577640, current: 1056432; changing to 2577641. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577641, current: 1056832; changing to 2577642. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577642, current: 1057232; changing to 2577643. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577643, current: 1057632; changing to 2577644. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577644, current: 1058032; changing to 2577645. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577645, current: 1058432; changing to 2577646. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577646, current: 1058832; changing to 2577647. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577647, current: 1059232; changing to 2577648. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577648, current: 1059632; changing to 2577649. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577649, current: 1060032; changing to 2577650. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577650, current: 1060432; changing to 2577651. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577651, current: 1060832; changing to 2577652. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577652, current: 1061232; changing to 2577653. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577653, current: 1061632; changing to 2577654. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577654, current: 1062032; changing to 2577655. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577655, current: 1062432; changing to 2577656. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577656, current: 1062832; changing to 2577657. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577657, current: 1063232; changing to 2577658. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577658, current: 1063632; changing to 2577659. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577659, current: 1064032; changing to 2577660. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577660, current: 1064432; changing to 2577661. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577661, current: 1064832; changing to 2577662. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577662, current: 1065232; changing to 2577663. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577663, current: 1065632; changing to 2577664. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577664, current: 1066032; changing to 2577665. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577665, current: 1066432; changing to 2577666. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577666, current: 1066832; changing to 2577667. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577667, current: 1067232; changing to 2577668. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577668, current: 1067632; changing to 2577669. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577669, current: 1068032; changing to 2577670. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577670, current: 1068432; changing to 2577671. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577671, current: 1068832; changing to 2577672. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577672, current: 1069232; changing to 2577673. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577673, current: 1069632; changing to 2577674. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577674, current: 1070032; changing to 2577675. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577675, current: 1070432; changing to 2577676. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577676, current: 1070832; changing to 2577677. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577677, current: 1071232; changing to 2577678. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577678, current: 1071632; changing to 2577679. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577679, current: 1072032; changing to 2577680. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577680, current: 1072432; changing to 2577681. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577681, current: 1072832; changing to 2577682. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577682, current: 1073232; changing to 2577683. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577683, current: 1073632; changing to 2577684. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577684, current: 1074032; changing to 2577685. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577685, current: 1074432; changing to 2577686. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577686, current: 1074832; changing to 2577687. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577687, current: 1075232; changing to 2577688. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577688, current: 1075632; changing to 2577689. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577689, current: 1076032; changing to 2577690. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577690, current: 1076432; changing to 2577691. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577691, current: 1076832; changing to 2577692. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577692, current: 1077232; changing to 2577693. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577693, current: 1077632; changing to 2577694. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577694, current: 1078032; changing to 2577695. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577695, current: 1078432; changing to 2577696. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577696, current: 1078832; changing to 2577697. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577697, current: 1079232; changing to 2577698. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577698, current: 1079632; changing to 2577699. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577699, current: 1080032; changing to 2577700. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577700, current: 1080432; changing to 2577701. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577701, current: 1080832; changing to 2577702. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577702, current: 1081232; changing to 2577703. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577703, current: 1081632; changing to 2577704. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577704, current: 1082032; changing to 2577705. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577705, current: 1082432; changing to 2577706. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577706, current: 1082832; changing to 2577707. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577707, current: 1083232; changing to 2577708. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577708, current: 1083632; changing to 2577709. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577709, current: 1084032; changing to 2577710. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577710, current: 1084432; changing to 2577711. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577711, current: 1084832; changing to 2577712. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577712, current: 1085232; changing to 2577713. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577713, current: 1085632; changing to 2577714. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577714, current: 1086032; changing to 2577715. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577715, current: 1086432; changing to 2577716. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577716, current: 1086832; changing to 2577717. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577717, current: 1087232; changing to 2577718. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577718, current: 1087632; changing to 2577719. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577719, current: 1088032; changing to 2577720. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577720, current: 1088432; changing to 2577721. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577721, current: 1088832; changing to 2577722. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577722, current: 1089232; changing to 2577723. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577723, current: 1089632; changing to 2577724. This may result in
incorrect timestamps in the output file.
[mov @ 0x9c453e0] Non-monotonous DTS in output stream 0:0; previous:
2577724, current: 1090032; changing to 2577725. This may result in
incorrect timestamps in the output file.
frame= 2728 fps=0.0 q=-1.0 Lsize=   22658kB time=00:01:31.02
bitrate=2039.2kbits/s speed= 108x  
video:5513kB audio:17065kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.352793%

When playing the final result, the 3rd segment has no moving video, just
the end frame.

$ mpv 20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov
Playing:
/home/sandreas/camera/solar/editing/20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov
[stream] Video (+) --vid=1 (*) (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (pcm_s16le)
File tags:
 major_brand: qt
 minor_version: 512
 compatible_brands: qt
 encoder: Lavf57.41.100
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
[vo/opengl] Missing OpenGL features: [OpenGL 2.1] [RG textures]
[vo/opengl] OpenGL version too old. Try: --vo=opengl-old
[vo/opengl] OpenGL context creation failed!
Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared
object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
xscreensaver-command: not active: idle timer reset.

AO: [pulse] 48000Hz stereo 2ch s16
VO: [xv] 640x360 => 640x360 yuv420p
AV: 00:01:25.952 / 00:01:31.012 (94%) A-V: -0.000
Non-monotonic video pts: 85.919267 <= 85.985900
AV: 00:01:25.985 / 00:01:31.012 (94%) A-V:  0.000
Jump in video pts: 85.985900 -> 85.919267
AV: 00:01:25.924 / 00:01:31.012 (94%) A-V:  0.832 D: 139
Non-monotonic video pts: 85.924033 <= 85.924167
AV: 00:01:25.924 / 00:01:31.012 (94%) A-V:  0.837 D: 140
Jump in video pts: 85.924167 -> 85.924033
AV: 00:01:30.699 / 00:01:31.012 (99%) A-V:  0.000 D: 143


Thanks,
Stewart

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: concat with differing tbn in h264 streams

Carl Eugen Hoyos-2
2016-09-16 18:28 GMT+02:00 S Andreason <[hidden email]>:

>  Duration: 00:01:55.42, start: 0.000000, bitrate: 24865 kb/s
>    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),
> yuvj420p(pc, bt709), 1280x720, 23320 kb/s, 29.97 fps, 29.97 tbr, 30k tbn,
> 60k tbc (default)

>    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
> 1920x1080, 17599 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)

The input streams have different frame rates, use the -r option when
encoding the input files (or use setpts if you prefer not to drop / duplicate
frames).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: concat with differing tbn in h264 streams

S Andreason
Carl Eugen Hoyos wrote:
> The input streams have different frame rates, use the -r option when
> encoding the input files (or use setpts if you prefer not to drop / duplicate
> frames).

Hi Carl,
Right, I used -r on file# 3:

~/camera/solar/editing$ ffmpeg -i
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5.MOV
-c:v h264 -s 640x360 -r 29.97 -pix_fmt yuvj420p -c:a pcm_s16le -ar 48000
-ac 2  
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov
Input #0,
   Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080, 17599 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)
Output #0, mov,
   Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)

Okay I'll try setpts:

~/camera/solar/editing$ ffmpeg -i
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5.MOV
-c:v h264 -s 640x360 -r 29.97 -pix_fmt yuvj420p -vf 'setpts=N/(25*TB)'
-c:a pcm_s16le -ar 48000 -ac 2  
20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-pthreads --enable-libopenjpeg --enable-nonfree
--disable-ffserver --disable-network --enable-libfreetype
--enable-libfontconfig --disable-doc --disable-htmlpages
--disable-podpages --enable-shared --enable-libvpx
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5.MOV':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf57.41.100
    comment         : HDDVR-Mobius
    comment-eng     : HDDVR-Mobius
  Duration: 00:00:05.00, start: 0.000000, bitrate: 18116 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080, 17599 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : h264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 32000 Hz,
mono, s16, 512 kb/s (default)
    Metadata:
      handler_name    : DataHandler
File
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov'
already exists. Overwrite ? [y/N] y
[swscaler @ 0xa02a600] deprecated pixel format used, make sure you did
set range correctly
[libx264 @ 0x9f9f600] using cpu capabilities: none!
[libx264 @ 0x9f9f600] profile High, level 3.0
[libx264 @ 0x9f9f600] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC
codec - Copyleft 2003-2014 - 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
lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=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
[mov @ 0x9fc0380] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to
'20160916_0601_Conpus-250A-stressTest_trips-90.5A-14m_rec_0828_c315t5-h640x360.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    comment-eng     : HDDVR-Mobius
    comment         : HDDVR-Mobius
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
frame=  180 fps=4.6 q=29.0 Lsize=    1075kB time=00:00:05.90
bitrate=1491.2kbits/s dup=30 drop=0 speed=0.151x  
video:133kB audio:938kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.453677%
[libx264 @ 0x9f9f600] frame I:1     Avg QP:21.69  size: 34281
[libx264 @ 0x9f9f600] frame P:45    Avg QP:21.99  size:  1967
[libx264 @ 0x9f9f600] frame B:134   Avg QP:24.49  size:    93
[libx264 @ 0x9f9f600] consecutive B-frames:  0.6%  0.0%  1.7% 97.8%
[libx264 @ 0x9f9f600] mb I  I16..4:  2.5% 46.1% 51.4%
[libx264 @ 0x9f9f600] mb P  I16..4:  0.2%  0.2%  0.0%  P16..4: 30.8%  
3.9%  5.3%  0.0%  0.0%    skip:59.7%
[libx264 @ 0x9f9f600] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  9.7%  
0.0%  0.0%  direct: 0.0%  skip:90.2%  L0:16.4% L1:83.5% BI: 0.1%
[libx264 @ 0x9f9f600] 8x8 transform intra:47.3% inter:66.3%
[libx264 @ 0x9f9f600] coded y,uvDC,uvAC intra: 64.4% 89.3% 70.0% inter:
3.6% 5.0% 0.5%
[libx264 @ 0x9f9f600] i16 v,h,dc,p: 84%  2% 10%  4%
[libx264 @ 0x9f9f600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39%  5% 24%  4%  
7%  6%  4%  5%  5%
[libx264 @ 0x9f9f600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 14%  9%  6%  
9%  9%  9%  5%  7%
[libx264 @ 0x9f9f600] i8c dc,h,v,p: 43% 17% 32%  8%
[libx264 @ 0x9f9f600] Weighted P-Frames: Y:2.2% UV:2.2%
[libx264 @ 0x9f9f600] ref P L0: 72.4%  6.2% 17.3%  3.9%  0.3%
[libx264 @ 0x9f9f600] ref B L0: 86.0% 11.4%  2.6%
[libx264 @ 0x9f9f600] ref B L1: 94.4%  5.6%
[libx264 @ 0x9f9f600] kb/s:180.15

~/camera/solar/editing$ ffmpeg -f concat -i concat-list-3297.txt -c copy
20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr/local --enable-gpl --enable-postproc
--enable-swscale --enable-libmp3lame --enable-libvorbis --enable-libx264
--enable-pthreads --enable-libopenjpeg --enable-nonfree
--disable-ffserver --disable-network --enable-libfreetype
--enable-libfontconfig --disable-doc --disable-htmlpages
--disable-podpages --enable-shared --enable-libvpx
--extra-cflags=-I/usr/include --extra-ldflags=-L/usr/lib/i386-linux-gnu
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x98402e0] Auto-inserting h264_mp4toannexb
bitstream filter
Input #0, concat, from 'concat-list-3297.txt':
  Duration: N/A, start: 0.000000, bitrate: 2272 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661),
yuvj420p(pc), 640x360, 736 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, s16, 1536 kb/s
    Metadata:
      handler_name    : DataHandler
File '20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov'
already exists. Overwrite ? [y/N] y
[mov @ 0x98463e0] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, mov, to
'20160915_ConPus-250A-breaker-replacementTests_3297-0828-360.mov':
  Metadata:
    encoder         : Lavf57.41.100
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuvj420p(pc),
640x360, q=2-31, 736 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
    Metadata:
      handler_name    : DataHandler
      encoder         : Lavc57.48.101 libx264
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz,
stereo, 1536 kb/s
    Metadata:
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x98402e0] Auto-inserting h264_mp4toannexb
bitstream filter
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x98402e0] Auto-inserting h264_mp4toannexb
bitstream filterd= 156x  
[mov @ 0x98463e0] Non-monotonous DTS in output stream 0:0; previous:
2577575, current: 1030432; changing to 2577576. This may result in
incorrect timestamps in the output file.
[mov @ 0x98463e0] Non-monotonous DTS in output stream 0:0; previous:
2577576, current: 1030832; changing to 2577577. This may result in
incorrect timestamps in the output file.
....clip looks same as before.


Am I doing something in the wrong order in the command line, or ...?
Stewart

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: concat with differing tbn in h264 streams

Carl Eugen Hoyos-2
2016-09-16 19:08 GMT+02:00 S Andreason <[hidden email]>:
> Carl Eugen Hoyos wrote:
>>
>> The input streams have different frame rates, use the -r option when
>> encoding the input files (or use setpts if you prefer not to drop /
>> duplicate
>> frames).
>
> Right, I used -r on file# 3:

The correct value is "-r 30000/1001" and you should probably use it
on all three sources.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: concat with differing tbn in h264 streams

S Andreason
Carl Eugen Hoyos wrote:
> The correct value is "-r 30000/1001" and you should probably use it
> on all three sources.
>  

Perfect, thank you.

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".