[FFmpeg-trac] #4201(undetermined:new): Error Application provided invalid, non monotonically increasing dts to muxer Logitech C920
FFmpeg
trac at avcodec.org
Sat Dec 20 18:51:16 CET 2014
#4201: Error Application provided invalid, non monotonically increasing dts to
muxer Logitech C920
-------------------------------------+-------------------------------------
Reporter: | Type: defect
lobothefoots | Priority: normal
Status: new | Version:
Component: | unspecified
undetermined | Blocked By:
Keywords: H264 stream | Reproduced by developer: 0
copy C920 |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: Getting this error "Application provided invalid, non
monotonically increasing dts to muxer" while trying to copy the HW H264
stream from my Logitech C920 webcam.
How to reproduce:
{{{
ffmpeg started on 2014-12-20 at 11:47:31
Report written to "ffmpeg-20141220-114731.log"
Command line:
ffmpeg -report -f dshow -vcodec h264 -video_size 1920x1080 -i
"video=Logitech HD Pro Webcam C920" -copyinkf -c copy -t 60
"e:\\cam\\video\\ANAUY\\enr_2014-12-20__11H47m31s.h264"
ffmpeg version N-68585-gc89751a Copyright (c) 2000-2014 the FFmpeg
developers
built on Dec 19 2014 01:09:59 with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-
libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
decklink --enable-zlib
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 16.100 / 56. 16.100
libavformat 56. 16.101 / 56. 16.101
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 4.100 / 5. 4.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'dshow'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'h264'.
Reading option '-video_size' ... matched as AVOption 'video_size' with
argument '1920x1080'.
Reading option '-i' ... matched as input file with argument
'video=Logitech HD Pro Webcam C920'.
Reading option '-copyinkf' ... matched as option 'copyinkf' (copy initial
non-keyframes) with argument '1'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option '-t' ... matched as option 't' (record or transcode
"duration" seconds of audio/video) with argument '60'.
Reading option 'e:\cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264' ...
matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file video=Logitech HD Pro Webcam C920.
Applying option f (force format) with argument dshow.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument h264.
Successfully parsed a group of options.
Opening an input file: video=Logitech HD Pro Webcam C920.
[dshow @ 00000000003be0a0] All info found
Input #0, dshow, from 'video=Logitech HD Pro Webcam C920':
Duration: N/A, start: 83810.056000, bitrate: N/A
Stream #0:0, 28, 1/10000000: Video: h264 (Constrained Baseline) (H264
/ 0x34363248), yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9], 62.50 tbr,
10000k tbn, 60 tbc
Successfully opened the file.
Parsing a group of options: output file
e:\cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264.
Applying option copyinkf (copy initial non-keyframes) with argument 1.
Applying option c (codec name) with argument copy.
Applying option t (record or transcode "duration" seconds of audio/video)
with argument 60.
Successfully parsed a group of options.
Opening an output file: e:\cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264.
Successfully opened the file.
Output #0, h264, to 'e:\cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264':
Metadata:
encoder : Lavf56.16.101
Stream #0:0, 0, 1/30: Video: h264 (H264 / 0x34363248), yuvj420p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 62.50 tbr, 30 tbn, 30 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 12 >= 12
frame= 39 fps=0.0 q=-1.0 size= 661kB time=00:00:01.63
bitrate=3316.8kbits/s
frame= 51 fps= 51 q=-1.0 size= 845kB time=00:00:02.10
bitrate=3297.3kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 72 >= 72
frame= 63 fps= 42 q=-1.0 size= 1030kB time=00:00:02.63
bitrate=3203.7kbits/s
frame= 76 fps= 38 q=-1.0 size= 1231kB time=00:00:03.16
bitrate=3184.8kbits/s
frame= 87 fps= 35 q=-1.0 size= 1400kB time=00:00:03.63
bitrate=3157.1kbits/s
frame= 99 fps= 33 q=-1.0 size= 1585kB time=00:00:04.10
bitrate=3166.6kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 132 >= 132
frame= 111 fps= 32 q=-1.0 size= 1764kB time=00:00:04.63
bitrate=3119.6kbits/s
frame= 124 fps= 31 q=-1.0 size= 1964kB time=00:00:05.16
bitrate=3113.3kbits/s
frame= 135 fps= 30 q=-1.0 size= 2132kB time=00:00:05.63
bitrate=3099.8kbits/s
frame= 147 fps= 29 q=-1.0 size= 2313kB time=00:00:06.10
bitrate=3106.5kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 192 >= 192
frame= 160 fps= 29 q=-1.0 size= 2512kB time=00:00:06.66
bitrate=3086.5kbits/s
frame= 172 fps= 29 q=-1.0 size= 2693kB time=00:00:07.16
bitrate=3078.6kbits/s
frame= 183 fps= 28 q=-1.0 size= 2862kB time=00:00:07.63
bitrate=3071.9kbits/s
frame= 195 fps= 28 q=-1.0 size= 3047kB time=00:00:08.10
bitrate=3081.3kbits/s
frame= 208 fps= 28 q=-1.0 size= 3245kB time=00:00:08.66
bitrate=3067.6kbits/s
frame= 220 fps= 27 q=-1.0 size= 3429kB time=00:00:09.16
bitrate=3064.2kbits/s
frame= 231 fps= 27 q=-1.0 size= 3594kB time=00:00:09.60
bitrate=3067.2kbits/s
frame= 243 fps= 27 q=-1.0 size= 3778kB time=00:00:10.10
bitrate=3064.1kbits/s
frame= 256 fps= 27 q=-1.0 size= 3977kB time=00:00:10.66
bitrate=3054.4kbits/s
frame= 268 fps= 27 q=-1.0 size= 4161kB time=00:00:11.16
bitrate=3052.5kbits/s
frame= 279 fps= 27 q=-1.0 size= 4328kB time=00:00:11.60
bitrate=3056.5kbits/s
frame= 291 fps= 26 q=-1.0 size= 4509kB time=00:00:12.10
bitrate=3053.0kbits/s
frame= 304 fps= 26 q=-1.0 size= 4729kB time=00:00:12.66
bitrate=3058.2kbits/s
frame= 316 fps= 26 q=-1.0 size= 4904kB time=00:00:13.16
bitrate=3051.1kbits/s
frame= 327 fps= 26 q=-1.0 size= 5070kB time=00:00:13.60
bitrate=3054.1kbits/s
frame= 340 fps= 26 q=-1.0 size= 5266kB time=00:00:14.16
bitrate=3045.3kbits/s
frame= 352 fps= 26 q=-1.0 size= 5446kB time=00:00:14.66
bitrate=3041.9kbits/s
frame= 364 fps= 26 q=-1.0 size= 5631kB time=00:00:15.16
bitrate=3041.4kbits/s
frame= 375 fps= 26 q=-1.0 size= 5798kB time=00:00:15.60
bitrate=3044.5kbits/s
frame= 388 fps= 26 q=-1.0 size= 6000kB time=00:00:16.16
bitrate=3040.1kbits/s
frame= 400 fps= 26 q=-1.0 size= 6179kB time=00:00:16.66
bitrate=3037.3kbits/s
frame= 412 fps= 26 q=-1.0 size= 6360kB time=00:00:17.16
bitrate=3034.8kbits/s
frame= 423 fps= 26 q=-1.0 size= 6529kB time=00:00:17.63
bitrate=3033.1kbits/s
frame= 436 fps= 26 q=-1.0 size= 6726kB time=00:00:18.16
bitrate=3033.2kbits/s
frame= 448 fps= 26 q=-1.0 size= 6911kB time=00:00:18.66
bitrate=3032.8kbits/s
frame= 460 fps= 26 q=-1.0 size= 7092kB time=00:00:19.16
bitrate=3031.2kbits/s
frame= 472 fps= 25 q=-1.0 size= 7273kB time=00:00:19.66
bitrate=3029.5kbits/s
frame= 484 fps= 25 q=-1.0 size= 7458kB time=00:00:20.16
bitrate=3029.7kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 612 >= 612
frame= 496 fps= 25 q=-1.0 size= 7641kB time=00:00:20.66
bitrate=3028.8kbits/s
frame= 508 fps= 25 q=-1.0 size= 7825kB time=00:00:21.16
bitrate=3028.4kbits/s
frame= 520 fps= 25 q=-1.0 size= 8007kB time=00:00:21.66
bitrate=3027.3kbits/s
frame= 532 fps= 25 q=-1.0 size= 8188kB time=00:00:22.16
bitrate=3026.0kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 672 >= 672
frame= 544 fps= 25 q=-1.0 size= 8373kB time=00:00:22.66
bitrate=3026.1kbits/s
frame= 556 fps= 25 q=-1.0 size= 8556kB time=00:00:23.16
bitrate=3025.5kbits/s
frame= 568 fps= 25 q=-1.0 size= 8739kB time=00:00:23.66
bitrate=3025.0kbits/s
frame= 580 fps= 25 q=-1.0 size= 8921kB time=00:00:24.16
bitrate=3024.1kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 732 >= 732
frame= 592 fps= 25 q=-1.0 size= 9101kB time=00:00:24.66
bitrate=3022.6kbits/s
frame= 604 fps= 25 q=-1.0 size= 9309kB time=00:00:25.16
bitrate=3030.1kbits/s
frame= 616 fps= 25 q=-1.0 size= 9490kB time=00:00:25.66
bitrate=3029.0kbits/s
frame= 628 fps= 25 q=-1.0 size= 9678kB time=00:00:26.16
bitrate=3029.9kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 792 >= 792
frame= 640 fps= 25 q=-1.0 size= 9857kB time=00:00:26.66
bitrate=3028.1kbits/s
frame= 652 fps= 25 q=-1.0 size= 10042kB time=00:00:27.16
bitrate=3028.2kbits/s
frame= 664 fps= 25 q=-1.0 size= 10223kB time=00:00:27.66
bitrate=3026.9kbits/s
frame= 676 fps= 25 q=-1.0 size= 10406kB time=00:00:28.16
bitrate=3026.4kbits/s
frame= 688 fps= 25 q=-1.0 size= 10591kB time=00:00:28.66
bitrate=3026.7kbits/s
frame= 700 fps= 25 q=-1.0 size= 10771kB time=00:00:29.16
bitrate=3025.3kbits/s
frame= 712 fps= 25 q=-1.0 size= 10956kB time=00:00:29.66
bitrate=3025.3kbits/s
frame= 724 fps= 25 q=-1.0 size= 11137kB time=00:00:30.16
bitrate=3024.4kbits/s
frame= 736 fps= 25 q=-1.0 size= 11320kB time=00:00:30.66
bitrate=3024.0kbits/s
frame= 748 fps= 25 q=-1.0 size= 11507kB time=00:00:31.16
bitrate=3024.6kbits/s
frame= 760 fps= 25 q=-1.0 size= 11687kB time=00:00:31.66
bitrate=3023.4kbits/s
frame= 772 fps= 25 q=-1.0 size= 11871kB time=00:00:32.16
bitrate=3023.2kbits/s
frame= 784 fps= 25 q=-1.0 size= 12053kB time=00:00:32.66
bitrate=3022.6kbits/s
frame= 796 fps= 25 q=-1.0 size= 12236kB time=00:00:33.16
bitrate=3022.2kbits/s
frame= 808 fps= 25 q=-1.0 size= 12423kB time=00:00:33.66
bitrate=3022.9kbits/s
frame= 820 fps= 25 q=-1.0 size= 12602kB time=00:00:34.16
bitrate=3021.5kbits/s
frame= 832 fps= 25 q=-1.0 size= 12786kB time=00:00:34.66
bitrate=3021.4kbits/s
frame= 844 fps= 25 q=-1.0 size= 12969kB time=00:00:35.16
bitrate=3021.1kbits/s
frame= 856 fps= 25 q=-1.0 size= 13152kB time=00:00:35.66
bitrate=3020.7kbits/s
frame= 868 fps= 25 q=-1.0 size= 13339kB time=00:00:36.16
bitrate=3021.4kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1092 >= 1092
frame= 880 fps= 25 q=-1.0 size= 13518kB time=00:00:36.66
bitrate=3020.3kbits/s
frame= 892 fps= 25 q=-1.0 size= 13703kB time=00:00:37.16
bitrate=3020.2kbits/s
frame= 904 fps= 25 q=-1.0 size= 13910kB time=00:00:37.66
bitrate=3025.1kbits/s
frame= 916 fps= 25 q=-1.0 size= 14093kB time=00:00:38.16
bitrate=3025.0kbits/s
frame= 928 fps= 25 q=-1.0 size= 14276kB time=00:00:38.66
bitrate=3024.5kbits/s
frame= 940 fps= 25 q=-1.0 size= 14459kB time=00:00:39.16
bitrate=3024.3kbits/s
frame= 952 fps= 25 q=-1.0 size= 14645kB time=00:00:39.66
bitrate=3024.4kbits/s
frame= 964 fps= 25 q=-1.0 size= 14826kB time=00:00:40.16
bitrate=3023.7kbits/s
frame= 976 fps= 25 q=-1.0 size= 15009kB time=00:00:40.66
bitrate=3023.5kbits/s
frame= 988 fps= 25 q=-1.0 size= 15192kB time=00:00:41.16
bitrate=3023.1kbits/s
frame= 1000 fps= 25 q=-1.0 size= 15376kB time=00:00:41.66
bitrate=3023.0kbits/s
frame= 1012 fps= 25 q=-1.0 size= 15559kB time=00:00:42.16
bitrate=3022.7kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1272 >= 1272
frame= 1024 fps= 25 q=-1.0 size= 15742kB time=00:00:42.66
bitrate=3022.6kbits/s
frame= 1036 fps= 25 q=-1.0 size= 15926kB time=00:00:43.16
bitrate=3022.4kbits/s
frame= 1048 fps= 25 q=-1.0 size= 16109kB time=00:00:43.66
bitrate=3022.1kbits/s
frame= 1060 fps= 25 q=-1.0 size= 16292kB time=00:00:44.16
bitrate=3021.9kbits/s
frame= 1072 fps= 25 q=-1.0 size= 16475kB time=00:00:44.66
bitrate=3021.6kbits/s
frame= 1084 fps= 25 q=-1.0 size= 16658kB time=00:00:45.16
bitrate=3021.3kbits/s
frame= 1096 fps= 25 q=-1.0 size= 16841kB time=00:00:45.66
bitrate=3021.0kbits/s
frame= 1109 fps= 25 q=-1.0 size= 17040kB time=00:00:46.20
bitrate=3021.4kbits/s
frame= 1120 fps= 25 q=-1.0 size= 17207kB time=00:00:46.66
bitrate=3020.6kbits/s
frame= 1132 fps= 25 q=-1.0 size= 17390kB time=00:00:47.16
bitrate=3020.3kbits/s
frame= 1144 fps= 25 q=-1.0 size= 17574kB time=00:00:47.66
bitrate=3020.3kbits/s
frame= 1157 fps= 25 q=-1.0 size= 17772kB time=00:00:48.20
bitrate=3020.6kbits/s
frame= 1168 fps= 25 q=-1.0 size= 17940kB time=00:00:48.66
bitrate=3019.9kbits/s
frame= 1180 fps= 25 q=-1.0 size= 18124kB time=00:00:49.16
bitrate=3019.7kbits/s
frame= 1192 fps= 25 q=-1.0 size= 18307kB time=00:00:49.66
bitrate=3019.5kbits/s
frame= 1205 fps= 25 q=-1.0 size= 18525kB time=00:00:50.20
bitrate=3023.0kbits/s
frame= 1216 fps= 25 q=-1.0 size= 18691kB time=00:00:50.66
bitrate=3022.0kbits/s
frame= 1228 fps= 25 q=-1.0 size= 18874kB time=00:00:51.16
bitrate=3021.8kbits/s
frame= 1240 fps= 25 q=-1.0 size= 19057kB time=00:00:51.66
bitrate=3021.6kbits/s
frame= 1253 fps= 25 q=-1.0 size= 19256kB time=00:00:52.20
bitrate=3021.9kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1572 >= 1572
frame= 1264 fps= 25 q=-1.0 size= 19423kB time=00:00:52.66
bitrate=3021.1kbits/s
frame= 1276 fps= 25 q=-1.0 size= 19607kB time=00:00:53.16
bitrate=3021.0kbits/s
frame= 1288 fps= 25 q=-1.0 size= 19790kB time=00:00:53.66
bitrate=3020.8kbits/s
frame= 1301 fps= 25 q=-1.0 size= 19988kB time=00:00:54.20
bitrate=3021.0kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1632 >= 1632
frame= 1312 fps= 25 q=-1.0 size= 20156kB time=00:00:54.66
bitrate=3020.5kbits/s
frame= 1324 fps= 25 q=-1.0 size= 20339kB time=00:00:55.16
bitrate=3020.3kbits/s
frame= 1336 fps= 24 q=-1.0 size= 20522kB time=00:00:55.66
bitrate=3020.0kbits/s
frame= 1349 fps= 25 q=-1.0 size= 20720kB time=00:00:56.20
bitrate=3020.2kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1692 >= 1692
frame= 1360 fps= 24 q=-1.0 size= 20888kB time=00:00:56.66
bitrate=3019.7kbits/s
frame= 1372 fps= 24 q=-1.0 size= 21071kB time=00:00:57.16
bitrate=3019.4kbits/s
frame= 1384 fps= 24 q=-1.0 size= 21255kB time=00:00:57.66
bitrate=3019.4kbits/s
frame= 1397 fps= 24 q=-1.0 size= 21453kB time=00:00:58.20
bitrate=3019.6kbits/s
[h264 @ 0000000002be2660] Application provided invalid, non monotonically
increasing dts to muxer in stream 0: 1752 >= 1752
frame= 1408 fps= 24 q=-1.0 size= 21620kB time=00:00:58.66
bitrate=3019.0kbits/s
frame= 1420 fps= 24 q=-1.0 size= 21804kB time=00:00:59.16
bitrate=3018.9kbits/s
frame= 1432 fps= 24 q=-1.0 size= 21987kB time=00:00:59.66
bitrate=3018.7kbits/s
No more output streams to write to, finishing.
frame= 1440 fps= 24 q=-1.0 Lsize= 22109kB time=00:01:00.00
bitrate=3018.6kbits/s
video:22109kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
Input file #0 (video=Logitech HD Pro Webcam C920):
Input stream #0:0 (video): 1441 packets read (22655609 bytes);
Total: 1441 packets (22655609 bytes) demuxed
Output file #0 (e:\cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264):
Output stream #0:0 (video): 1440 packets muxed (22639730 bytes);
Total: 1440 packets (22639730 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000002bc2400] Statistics: 0 seeks, 1444 writeouts
}}}
Mediainfos of the resulting file:
{{{
General
Complete name :
E:\Cam\video\ANAUY\enr_2014-12-20__11H47m31s.h264
Format : AVC
Format/Info : Advanced Video Codec
File size : 21.6 MiB
Overall bit rate mode : Constant
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline at L4.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Bit rate mode : Constant
Bit rate : 3 000 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Full
}}}
I need to use -copyinkf else nothing is captured.
Feel free to ask for more infos
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4201>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list