Application provided invalid, non monotonically increasing dts to muxer in stream
Hello, When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream Theses messages are in group of 4-5 and happen around every minute. Sometime there is frames drop, see second part output bellow 4 drops are dropped, or no drop. Drops seem to lead to audio/video de-sync. How to fix that? Thanks ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ffmpeg version N-75272-g5629143 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 1.100 / 57. 1.100 libavformat 57. 0.100 / 57. 0.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 2.100 / 6. 2.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 matched as AVOption 'debug' with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'pulse'. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'. Reading option '-channel_layout' ... matched as option 'channel_layout' (set channel layout) with argument 'stereo'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-itsoffset' ... matched as option 'itsoffset' (set the input ts offset) with argument '-0.20'. Reading option '-i' ... matched as input file with argument 'alsa_input.pci-0000_00_14.2.analog-stereo'. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'. Reading option '-ts' ... matched as AVOption 'ts' with argument 'mono2abs'. Reading option '-channel' ... matched as AVOption 'channel' with argument '1'. Reading option '-video_size' ... matched as AVOption 'video_size' with argument '720x576'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuyv422'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument '/dev/video0'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'. Reading option '-level' ... matched as AVOption 'level' with argument '3'. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'. Reading option '/Store3/Test/t_20150914_1311.mkv' ... matched as output file. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-f' ... matched as option 'f' (force format) with argument 'sdl'. Reading option 'Dazzle output' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file alsa_input.pci-0000_00_14.2.analog-stereo. Applying option f (force format) with argument pulse. Applying option ar (set audio sampling rate (in Hz)) with argument 44100. Applying option ac (set number of audio channels) with argument 2. Applying option channel_layout (set channel layout) with argument stereo. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Applying option itsoffset (set the input ts offset) with argument -0.20. Successfully parsed a group of options. Opening an input file: alsa_input.pci-0000_00_14.2.analog-stereo. [pulse @ 0x2045d20] All info found Input #0, pulse, from 'alsa_input.pci-0000_00_14.2.analog-stereo': Duration: N/A, start: 1442232706.479814, bitrate: 1411 kb/s Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Successfully opened the file. Parsing a group of options: input file /dev/video0. Applying option f (force format) with argument v4l2. Applying option pix_fmt (set pixel format) with argument yuyv422. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4linux2,v4l2 @ 0x204f320] fd:6 capabilities:85220001 [video4linux2,v4l2 @ 0x204f320] Selecting input_channel: 1 [video4linux2,v4l2 @ 0x204f320] Current input_channel: 1, input_name: S-Video, input_std: ffffff [video4linux2,v4l2 @ 0x204f320] The V4L2 driver is using the interlaced mode [video4linux2,v4l2 @ 0x204f320] Current standard: PAL, id: ff, frameperiod: 1/25 [video4linux2,v4l2 @ 0x204f320] Detected monotonic timestamps, converting [video4linux2,v4l2 @ 0x204f320] All info found Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1442232707.656053, bitrate: 165888 kb/s Stream #1:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576, 1/1000000, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc Successfully opened the file. Parsing a group of options: output file /Store3/Test/t_20150914_1311.mkv. Applying option vf (set video filters) with argument drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max. Applying option c:v (codec name) with argument ffv1. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option pix_fmt (set pixel format) with argument yuv422p. Applying option c:a (codec name) with argument pcm_s16le. Successfully parsed a group of options. Opening an output file: /Store3/Test/t_20150914_1311.mkv. Successfully opened the file. Parsing a group of options: output file Dazzle output. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option f (force format) with argument sdl. Successfully parsed a group of options. Opening an output file: Dazzle output. Successfully opened the file. detected 8 logical cores [Parsed_drawbox_0 @ 0x20790a0] Setting 'x' to value '0' [Parsed_drawbox_0 @ 0x20790a0] Setting 'y' to value '0' [Parsed_drawbox_0 @ 0x20790a0] Setting 'width' to value '3' [Parsed_drawbox_0 @ 0x20790a0] Setting 'height' to value '576' [Parsed_drawbox_0 @ 0x20790a0] Setting 'color' to value 'black@1' [Parsed_drawbox_0 @ 0x20790a0] Setting 't' to value 'max' [Parsed_drawbox_1 @ 0x2079b60] Setting 'x' to value '718' [Parsed_drawbox_1 @ 0x2079b60] Setting 'y' to value '0' [Parsed_drawbox_1 @ 0x2079b60] Setting 'width' to value '3' [Parsed_drawbox_1 @ 0x2079b60] Setting 'height' to value '576' [Parsed_drawbox_1 @ 0x2079b60] Setting 'color' to value 'black@1' [Parsed_drawbox_1 @ 0x2079b60] Setting 't' to value 'max' [Parsed_drawbox_2 @ 0x207a5e0] Setting 'x' to value '0' [Parsed_drawbox_2 @ 0x207a5e0] Setting 'y' to value '0' [Parsed_drawbox_2 @ 0x207a5e0] Setting 'width' to value '720' [Parsed_drawbox_2 @ 0x207a5e0] Setting 'height' to value '3' [Parsed_drawbox_2 @ 0x207a5e0] Setting 'color' to value 'black@1' [Parsed_drawbox_2 @ 0x207a5e0] Setting 't' to value 'max' [Parsed_drawbox_3 @ 0x207b000] Setting 'x' to value '0' [Parsed_drawbox_3 @ 0x207b000] Setting 'y' to value '564' [Parsed_drawbox_3 @ 0x207b000] Setting 'width' to value '720' [Parsed_drawbox_3 @ 0x207b000] Setting 'height' to value '12' [Parsed_drawbox_3 @ 0x207b000] Setting 'color' to value 'black@1' [Parsed_drawbox_3 @ 0x207b000] Setting 't' to value 'max' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'video_size' to value '720x576' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'pix_fmt' to value '1' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'time_base' to value '1/1000000' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'pixel_aspect' to value '0/1' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 1:0 @ 0x2079960] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 1:0 @ 0x2079960] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [format @ 0x2079e40] compat: called with args=[yuv422p] [format @ 0x2079e40] Setting 'pix_fmts' to value 'yuv422p' [auto-inserted scaler 0 @ 0x207aae0] Setting 'flags' to value 'bicubic' [auto-inserted scaler 0 @ 0x207aae0] w:iw h:ih flags:'bicubic' interl:0 [Parsed_drawbox_0 @ 0x20790a0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 1:0' and the filter 'Parsed_drawbox_0' [AVFilterGraph @ 0x2077440] query_formats: 7 queried, 5 merged, 1 already done, 0 delayed [auto-inserted scaler 0 @ 0x207aae0] w:720 h:576 fmt:yuyv422 sar:0/1 -> w:720 h:576 fmt:yuv422p sar:0/1 flags:0x4 [Parsed_drawbox_0 @ 0x20790a0] x:0 y:0 w:3 h:576 color:0x108080FF [Parsed_drawbox_1 @ 0x2079b60] x:718 y:0 w:3 h:576 color:0x108080FF [Parsed_drawbox_2 @ 0x207a5e0] x:0 y:0 w:720 h:3 color:0x108080FF [Parsed_drawbox_3 @ 0x207b000] x:0 y:564 w:720 h:12 color:0x108080FF [graph 1 input from stream 0:0 @ 0x209aa40] Setting 'time_base' to value '1/44100' [graph 1 input from stream 0:0 @ 0x209aa40] Setting 'sample_rate' to value '44100' [graph 1 input from stream 0:0 @ 0x209aa40] Setting 'sample_fmt' to value 's16' [graph 1 input from stream 0:0 @ 0x209aa40] Setting 'channel_layout' to value '0x3' [graph 1 input from stream 0:0 @ 0x209aa40] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3 [audio format for output stream 0:1 @ 0x209a380] Setting 'sample_fmts' to value 's16' [AVFilterGraph @ 0x209aee0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'video_size' to value '720x576' [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'pix_fmt' to value '1' [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'time_base' to value '1/1000000' [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'pixel_aspect' to value '0/1' [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'sws_param' to value 'flags=2' [graph 2 input from stream 1:0 @ 0x2089e00] Setting 'frame_rate' to value '25/1' [graph 2 input from stream 1:0 @ 0x2089e00] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [AVFilterGraph @ 0x208ed20] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed [sdl @ 0x2075d60] w:720 h:576 fmt:yuyv422 -> w:720 h:540 Output #0, matroska, to '/Store3/Test/t_20150914_1311.mkv': Metadata: encoder : Lavf57.0.100 Stream #0:0, 0, 1/1000: Video: ffv1, 1 reference frame (FFV1 / 0x31564646), yuv422p, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.1.100 ffv1 Stream #0:1, 0, 1/1000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Metadata: encoder : Lavc57.1.100 pcm_s16le Output #1, sdl, to 'Dazzle output': Metadata: encoder : Lavf57.0.100 Stream #1:0, 0, 1/25: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.1.100 rawvideo Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> ffv1 (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native)) Stream #1:0 -> #1:0 (rawvideo (native) -> rawvideo (native)) Press [q] to stop, [?] for help Cliping frame in rate conversion by 0.000008 [matroska @ 0x2060ea0] Writing block at offset 960, size 65472, pts 0, dts 0, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 66440, size 192305, pts 200, dts 200, duration 40, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 258753, size 186380, pts 240, dts 240, duration 40, keyframe 0 Cliping frame in rate conversion by 0.002220 [matroska @ 0x2060ea0] Writing block at offset 445141, size 186258, pts 280, dts 280, duration 40, keyframe 0 Cliping frame in rate conversion by 0.002464 [matroska @ 0x2060ea0] Writing block at offset 631407, size 185207, pts 320, dts 320, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001823 [matroska @ 0x2060ea0] Writing block at offset 816622, size 186022, pts 360, dts 360, duration 40, keyframe 0 Cliping frame in rate conversion by 0.002571 [matroska @ 0x2060ea0] Writing block at offset 1002652, size 46504, pts 371, dts 371, duration 264, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 1049164, size 185227, pts 400, dts 400, duration 40, keyframe 0 Cliping frame in rate conversion by 0.000664 [matroska @ 0x2060ea0] Writing block at offset 1234399, size 186112, pts 440, dts 440, duration 40, keyframe 0 Cliping frame in rate conversion by 0.000648 [matroska @ 0x2060ea0] Writing block at offset 1420519, size 186419, pts 480, dts 480, duration 40, keyframe 0 Cliping frame in rate conversion by 0.002617 [matroska @ 0x2060ea0] Writing block at offset 1606946, size 185606, pts 520, dts 520, duration 40, keyframe 0 Cliping frame in rate conversion by 0.003288 [matroska @ 0x2060ea0] Writing block at offset 1792560, size 186121, pts 560, dts 560, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001320 [matroska @ 0x2060ea0] Writing block at offset 1978689, size 185832, pts 600, dts 600, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001488 [matroska @ 0x2060ea0] Writing block at offset 2164529, size 65472, pts 635, dts 635, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 2230009, size 186276, pts 640, dts 640, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001869 [matroska @ 0x2060ea0] Starting new cluster at offset 2416293 bytes, pts 680dts 680 [matroska @ 0x2060ea0] Writing block at offset 2416309, size 187624, pts 680, dts 680, duration 40, keyframe 1 Cliping frame in rate conversion by 0.003410 [matroska @ 0x2060ea0] Writing block at offset 2603941, size 190639, pts 720, dts 720, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001396 [matroska @ 0x2060ea0] Writing block at offset 2794588, size 172048, pts 760, dts 760, duration 40, keyframe 0 Cliping frame in rate conversion by 0.001366897kB time=00:00:01.06 bitrate=22263.7kbits/s [matroska @ 0x2060ea0] Writing block at offset 2966644, size 172009, pts 800, dts 800, duration 40, keyframe 0 Cliping frame in rate conversion by 0.003639 [matroska @ 0x2060ea0] Writing block at offset 3138661, size 89351, pts 840, dts 840, duration 40, keyframe 0 [matroska @ 0x2060ea0] Writing block at offset 3228020, size 89526, pts 880, dts 880, duration 40, keyframe 0 [matroska @ 0x2060ea0] Writing block at offset 3317554, size 89961, pts 960, dts 960, duration 40, keyframe 0 Cliping frame in rate conversion by 0.404213 [matroska @ 0x2060ea0] Writing block at offset 3407523, size 89774, pts 1000, dts 1000, duration 40, keyframe 0 Cliping frame in rate conversion by 0.402672 [matroska @ 0x2060ea0] Writing block at offset 3497305, size 45960, pts 1006, dts 1006, duration 261, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 3543273, size 89723, pts 1040, dts 1040, duration 40, keyframe 0 Cliping frame in rate conversion by 0.402763 [matroska @ 0x2060ea0] Writing block at offset 3633004, size 89648, pts 1080, dts 1080, duration 40, keyframe 0 Cliping frame in rate conversion by 0.403038 [matroska @ 0x2060ea0] Writing block at offset 3722660, size 89855, pts 1120, dts 1120, duration 40, keyframe 0 Cliping frame in rate conversion by 0.403160723kB time=00:00:01.43 bitrate=21210.1kbits/s [matroska @ 0x2060ea0] Writing block at offset 3812523, size 89951, pts 1160, dts 1160, duration 40, keyframe 0 Cliping frame in rate conversion by 0.403297 [matroska @ 0x2060ea0] Starting new cluster at offset 3902482 bytes, pts 1200dts 1200 [matroska @ 0x2060ea0] Writing block at offset 3902498, size 90108, pts 1200, dts 1200, duration 40, keyframe 1 Cliping frame in rate conversion by 0.404961 [matroska @ 0x2060ea0] Writing block at offset 3992614, size 89999, pts 1240, dts 1240, duration 40, keyframe 0 Cliping frame in rate conversion by 0.403511 [matroska @ 0x2060ea0] Writing block at offset 4082621, size 65472, pts 1266, dts 1266, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 4148101, size 90289, pts 1280, dts 1280, duration 40, keyframe 0 Cliping frame in rate conversion by 0.404060 [matroska @ 0x2060ea0] Writing block at offset 4238398, size 143085, pts 1320, dts 1320, duration 40, keyframe 0 Cliping frame in rate conversion by 0.403511 [matroska @ 0x2060ea0] Writing block at offset 4381491, size 201716 .... [matroska @ 0x2060ea0] Writing block at offset 3462757079, size 183918, pts 644360, dts 644360, duration 40, keyframe 0 Cliping frame in rate conversion by 0.471642 [matroska @ 0x2060ea0] Starting new cluster at offset 3462941005 bytes, pts 644400dts 644400 [matroska @ 0x2060ea0] Writing block at offset 3462941022, size 184063, pts 644400, dts 644400, duration 40, keyframe 1 Cliping frame in rate conversion by 0.471794958kB time=00:10:44.68 bitrate=42974.2kbits/s [matroska @ 0x2060ea0] Writing block at offset 3463125093, size 182890, pts 644440, dts 644440, duration 40, keyframe 0 Cliping frame in rate conversion by 0.471992 [matroska @ 0x2060ea0] Writing block at offset 3463307991, size 182984, pts 644480, dts 644480, duration 40, keyframe 0 Cliping frame in rate conversion by 0.472038 [matroska @ 0x2060ea0] Writing block at offset 3463490983, size 65472, pts 644518, dts 644518, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 3463556463, size 182623, pts 644520, dts 644520, duration 40, keyframe 0 Cliping frame in rate conversion by 0.472191 [matroska @ 0x2060ea0] Writing block at offset 3463739094, size 182559, pts 644560, dts 644560, duration 40, keyframe 0 Cliping frame in rate conversion by 0.472267 [matroska @ 0x2060ea0] Writing block at offset 3463921661, size 182585, pts 644600, dts 644600, duration 40, keyframe 0 Cliping frame in rate conversion by 0.472435 [matroska @ 0x2060ea0] Writing block at offset 3464104254, size 182399, pts 644640, dts 644640, duration 40, keyframe 0 Cliping frame in rate conversion by 0.472572 [matroska @ 0x2060ea0] Writing block at offset 3464286661, size 182494, pts 644680, dts 644680, duration 40, keyframe 0 [sdl @ 0x2075d60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 16112 >= -457546 *** dropping frame 16112 from stream 0 at ts -457546 [sdl @ 0x2075d60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 16112 >= -457547 *** dropping frame 16112 from stream 0 at ts -457547 [sdl @ 0x2075d60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 16112 >= -457547 *** dropping frame 16112 from stream 0 at ts -457547 [sdl @ 0x2075d60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 16112 >= -457547 *** dropping frame 16112 from stream 0 at ts -457547 [matroska @ 0x2060ea0] Writing block at offset 3464469163, size 182205, pts 644880, dts 644880, duration 40, keyframe 0 Cliping frame in rate conversion by 0.474968 [matroska @ 0x2060ea0] Writing block at offset 3464651376, size 26436, pts 644889, dts 644889, duration 150, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 3464677820, size 182280, pts 644920, dts 644920, duration 40, keyframe 0 Cliping frame in rate conversion by 0.475517 [matroska @ 0x2060ea0] Writing block at offset 3464860108, size 182296, pts 644960, dts 644960, duration 40, keyframe 0 Cliping frame in rate conversion by 0.473442 [matroska @ 0x2060ea0] Writing block at offset 3465042412, size 182693, pts 645000, dts 645000, duration 40, keyframe 0 Cliping frame in rate conversion by 0.474770 [matroska @ 0x2060ea0] Starting new cluster at offset 3465225113 bytes, pts 645040dts 645040 [matroska @ 0x2060ea0] Writing block at offset 3465225130, size 65472, pts 645039, dts 645039, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 3465290610, size 182880, pts 645040, dts 645040, duration 40, keyframe 1 Cliping frame in rate conversion by 0.475838 [matroska @ 0x2060ea0] Writing block at offset 3465473498, size 182814, pts 645080, dts 645080, duration 40, keyframe 0 Cliping frame in rate conversion by 0.476067 [matroska @ 0x2060ea0] Writing block at offset 3465656320, size 183019, pts 645120, dts 645120, duration 40, keyframe 0 Cliping frame in rate conversion by 0.474144609kB time=00:10:45.58 bitrate=42948.5kbits/s dup=0 drop=4 [matroska @ 0x2060ea0] Writing block at offset 3465839347, size 182839, pts 645160, dts 645160, duration 40, keyframe 0 Cliping frame in rate conversion by 0.475685 [matroska @ 0x2060ea0] Writing block at offset 3466022194, size 182298, pts 645200, dts 645200, duration 40, keyframe 0 Cliping frame in rate conversion by 0.476341 [matroska @ 0x2060ea0] Writing block at offset 3466204500, size 202265, pts 645240, dts 645240, duration 40, keyframe 0 Cliping frame in rate conversion by 0.474236 [matroska @ 0x2060ea0] Writing block at offset 3466406773, size 201695, pts 645280, dts 645280, duration 40, keyframe 0 Cliping frame in rate conversion by 0.476738 [matroska @ 0x2060ea0] Writing block at offset 3466608476, size 202397, pts 645320, dts 645320, duration 40, keyframe 0 Cliping frame in rate conversion by 0.476067 [matroska @ 0x2060ea0] Writing block at offset 3466810881, size 203983, pts 645360, dts 645360, duration 40, keyframe 0 Cliping frame in rate c .... [matroska @ 0x2060ea0] Writing block at offset 6491157083, size 185446, pts 1195840, dts 1195840, duration 40, keyframe 0 Cliping frame in rate conversion by 0.447639 [matroska @ 0x2060ea0] Writing block at offset 6491342537, size 184825, pts 1195880, dts 1195880, duration 40, keyframe 0 Cliping frame in rate conversion by 0.445946382kB time=00:19:55.75 bitrate=43430.3kbits/s dup=0 drop=4 [matroska @ 0x2060ea0] Writing block at offset 6491527370, size 10940, pts 1195897, dts 1195897, duration 62, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 6491538317, size 184532, pts 1195920, dts 1195920, duration 40, keyframe 0 Cliping frame in rate conversion by 0.446098 [matroska @ 0x2060ea0] Writing block at offset 6491722857, size 65472, pts 1195959, dts 1195959, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 6491788337, size 184290, pts 1195960, dts 1195960, duration 40, keyframe 0 Cliping frame in rate conversion by 0.447945 [matroska @ 0x2060ea0] Writing block at offset 6491972635, size 183924, pts 1196000, dts 1196000, duration 40, keyframe 0 Cliping frame in rate conversion by 0.448174 [matroska @ 0x2060ea0] Writing block at offset 6492156567, size 184006, pts 1196040, dts 1196040, duration 40, keyframe 0 Cliping frame in rate conversion by 0.446541 [matroska @ 0x2060ea0] Starting new cluster at offset 6492340581 bytes, pts 1196080dts 1196080 [matroska @ 0x2060ea0] Writing block at offset 6492340598, size 183964, pts 1196080, dts 1196080, duration 40, keyframe 1 Cliping frame in rate conversion by 0.448463 [matroska @ 0x2060ea0] Writing block at offset 6492524570, size 183494, pts 1196120, dts 1196120, duration 40, keyframe 0 Cliping frame in rate conversion by 0.448463 [matroska @ 0x2060ea0] Writing block at offset 6492708072, size 183357, pts 1196160, dts 1196160, duration 40, keyframe 0 Cliping frame in rate conversion by 0.446892 [matroska @ 0x2060ea0] Writing block at offset 6492891437, size 183010, pts 1196200, dts 1196200, duration 40, keyframe 0 Cliping frame in rate conversion by 0.448769 [matroska @ 0x2060ea0] Writing block at offset 6493074455, size 182802, pts 1196240, dts 1196240, duration 40, keyframe 0 Cliping frame in rate conversion by 0.448814 [matroska @ 0x2060ea0] Writing block at offset 6493257265, size 182660, pts 1196280, dts 1196280, duration 40, keyframe 0 Cliping frame in rate conversion by 0.448036 [matroska @ 0x2060ea0] Writing block at offset 6493439933, size 182936, pts 1196320, dts 1196320, duration 40, keyframe 0 Cliping frame in rate conversion by 0.447395 [matroska @ 0x2060ea0] Writing block at offset 6493622877, size 65472, pts 1196330, dts 1196330, duration 371, keyframe 1 [matroska @ 0x2060ea0] Writing block at offset 6493688357, size 183135, pts 1196360, dts 1196360, duration 40, keyframe 0 Cliping frame in rate conversion by 0.447670 [matroska @ 0x2060ea0] Writing block at offset 6493871500, size 182524, pts 1196400, dts 1196400, duration 40, keyframe 0 av_interleaved_write_frame(): Input/output error No more output streams to write to, finishing.0kB time=00:19:56.73 bitrate=43411.7kbits/s dup=0 drop=4 [matroska @ 0x2060ea0] Writing block at offset 6494054032, size 41952, pts 1196701, dts 1196701, duration 238, keyframe 1 [matroska @ 0x2060ea0] end duration = 1196939 [matroska @ 0x2060ea0] stream 0 end duration = 1196440 [matroska @ 0x2060ea0] stream 1 end duration = 1196939 frame=29901 fps= 25 q=-0.0 Lq=-0.0 size= 6341943kB time=00:19:56.73 bitrate=43412.3kbits/s dup=0 drop=4 video:30358440kB audio:206191kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #0:0 (audio): 4393 packets read (211139100 bytes); 4393 frames decoded (52784775 samples); Total: 4393 packets (211139100 bytes) demuxed Input file #1 (/dev/video0): Input stream #1:0 (video): 29905 packets read (24804403200 bytes); 29905 frames decoded; Total: 29905 packets (24804403200 bytes) demuxed Output file #0 (/Store3/Test/t_20150914_1311.mkv): Output stream #0:0 (video): 29901 frames encoded; 29901 packets muxed (6282639746 bytes); Output stream #0:1 (audio): 4393 frames encoded (52784775 samples); 4393 packets muxed (211139100 bytes); Total: 34294 packets (6493778846 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 29905 frames encoded; 29905 packets muxed (24804403200 bytes); Total: 29905 packets (24804403200 bytes) muxed 34298 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x206da00] Statistics: 14972 seeks, 223589 writeouts Conversion failed!
On 14/09/15 13:54, MrNice wrote:
Hello,
When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream
Theses messages are in group of 4-5 and happen around every minute. Sometime there is frames drop, see second part output bellow 4 drops are dropped, or no drop. Drops seem to lead to audio/video de-sync.
How to fix that? Thanks
DTS is for Display Time Stamp (nothing to do with DTS audio codec) I found some info http://ffmpeg.org/pipermail/ffmpeg-user/2011-November/003389.html https://trac.ffmpeg.org/ticket/1154 http://trac.ffmpeg.org/ticket/2212 http://forum.videohelp.com/threads/343741-Is-there-a-solution-to-this-monoto... Is it a bug?
On Tue, Sep 15, 2015 at 9:56 PM, MrNice <wxcvbn2006@iol.ie> wrote:
On 14/09/15 13:54, MrNice wrote:
Hello,
When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream
Theses messages are in group of 4-5 and happen around every minute. Sometime there is frames drop, see second part output bellow 4 drops are dropped, or no drop. Drops seem to lead to audio/video de-sync.
How to fix that? Thanks
DTS is for Display Time Stamp (nothing to do with DTS audio codec)
No, DTS stands for "decoding timestamp" (time when this buffer will be decoded on the same time axis used for presentation time) in this case as opposed to "presentation timestamp" (time when the data will be displayed in the case of video or played in the case of audio).
On 16/09/15 08:55, Robert Krüger wrote:
On Tue, Sep 15, 2015 at 9:56 PM, MrNice <wxcvbn2006@iol.ie> wrote:
On 14/09/15 13:54, MrNice wrote:
Hello,
When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream
Theses messages are in group of 4-5 and happen around every minute. Sometime there is frames drop, see second part output bellow 4 drops are dropped, or no drop. Drops seem to lead to audio/video de-sync.
How to fix that? Thanks
DTS is for Display Time Stamp (nothing to do with DTS audio codec)
No, DTS stands for "decoding timestamp" (time when this buffer will be decoded on the same time axis used for presentation time) in this case as opposed to "presentation timestamp" (time when the data will be displayed in the case of video or played in the case of audio). _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Thanks Robert for this correction. You should have knowledge in this field, any other info? Is it a bug? How to fix?
MrNice <wxcvbn2006 <at> iol.ie> writes:
When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream
The error is not unusual for transport streams containing h264, it is unexpected for alsa input. I wonder if this is a driver issue. Does it also happen if you only record audio? If not, does it also happen if you reduce the resolution of the video recording significantly? (100x100) Carl Eugen
On 16/09/15 10:08, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
When I run the following command, I get the error messages in red: Application provided invalid, non monotonically increasing dts to muxer in stream
The error is not unusual for transport streams containing h264, it is unexpected for alsa input. I wonder if this is a driver issue.
Does it also happen if you only record audio? If not, does it also happen if you reduce the resolution of the video recording significantly? (100x100)
Carl Eugen
_
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ... [matroska @ 0x208adc0] Writing block at offset 521906220, size 20780, pts 2958117, dts 2958117, duration 118, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 521927008, size 65472, pts 2958235, dts 2958235, duration 371, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 521992488, size 65472, pts 2958606, dts 2958606, duration 371, keyframe 1 [sdl @ 0x2094a60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 73964 >= 73964 [sdl @ 0x2094a60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 73967 >= 73967 [matroska @ 0x208adc0] Writing block at offset 522057968, size 41948, pts 2958977, dts 2958977, duration 238, keyframe 1 [sdl @ 0x2094a60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 73970 >= 73970 [sdl @ 0x2094a60] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 73974 >= 73974 [matroska @ 0x208adc0] Writing block at offset 522099924, size 65472, pts 2959215, dts 2959215, duration 371, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 522165404, size 26340, pts 2959586, dts 2959586, duration 149, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 522191752, size 1812, pts 2959736, dts 2959736, duration 10, keyframe 1 [matroska @ 0x208adc0] Starting new cluster at offset 522193571 bytes, pts 2960117dts 2960117 [matroska @ 0x208adc0] Writing block at offset 522193588, size 65472, pts 2959746, dts 2959746, duration 371, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 522259068, size 65472, pts 2960117, dts 2960117, duration 371, keyframe 1 [matroska @ 0x208adc0] Writing block at offset 522324548, size 40136, pts 2960488, dts 2960488, duration 228, keyframe 1 [matroska @ 0x208adc0
MrNice <wxcvbn2006 <at> iol.ie> writes:
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg? Carl Eugen
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
On 17/09/15 14:51, MrNice wrote:
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
More info after long tests. The error Application provided invalid, non monotonically increasing dts to muxer in stream 0: happens after at least 30 minutes recording. ie: Last time at 33:12 Few seconds before or after happens warning message Past duration 0.xxxx too large Following this link http://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024695.html I tried with -af aresample=async=1 but still I get the error with 1 frame dropped. [matroska @ 0x25d9de0] Writing block at offset 9113825634, size 179818, pts 2026200, dts 2026200, duration 40, keyframe 0 [matroska @ 0x25d9de0] Writing block at offset 9114005460, size 176978, pts 2026240, dts 2026240, duration 40, keyframe 0 Past duration 0.602318 too large *** dropping frame 50652 from stream 0 at ts 50650 [matroska @ 0x25d9de0] Starting new cluster at offset 9114182446 bytes, pts 2026280dts 2026280 [matroska @ 0x25d9de0] Writing block at offset 9114182463, size 180336, pts 2026280, dts 2026280, duration 40, keyframe 1 Past duration 0.601341 too large What more to do? As the errors are after 30 minutes, I could try to record by smaller parts. To be sure, I would like a way to stop recording if an error occurs. I tried -xerror but it's not working with this error. Any idea how to do?
On 19/09/15 18:02, MrNice wrote:
On 17/09/15 14:51, MrNice wrote:
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
More info after long tests. The error Application provided invalid, non monotonically increasing dts to muxer in stream 0: happens after at least 30 minutes recording. ie: Last time at 33:12 Few seconds before or after happens warning message Past duration 0.xxxx too large
Following this link http://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024695.html I tried with -af aresample=async=1 but still I get the error with 1 frame dropped.
[matroska @ 0x25d9de0] Writing block at offset 9113825634, size 179818, pts 2026200, dts 2026200, duration 40, keyframe 0 [matroska @ 0x25d9de0] Writing block at offset 9114005460, size 176978, pts 2026240, dts 2026240, duration 40, keyframe 0 Past duration 0.602318 too large *** dropping frame 50652 from stream 0 at ts 50650 [matroska @ 0x25d9de0] Starting new cluster at offset 9114182446 bytes, pts 2026280dts 2026280 [matroska @ 0x25d9de0] Writing block at offset 9114182463, size 180336, pts 2026280, dts 2026280, duration 40, keyframe 1 Past duration 0.601341 too large
What more to do?
As the errors are after 30 minutes, I could try to record by smaller parts. To be sure, I would like a way to stop recording if an error occurs. I tried -xerror but it's not working with this error. Any idea how to do? _
I was wrong: One more try and I got the error at 8:07 I need help!!!
On 19/09/15 18:16, MrNice wrote:
On 19/09/15 18:02, MrNice wrote:
On 17/09/15 14:51, MrNice wrote:
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
More info after long tests. The error Application provided invalid, non monotonically increasing dts to muxer in stream 0: happens after at least 30 minutes recording. ie: Last time at 33:12 Few seconds before or after happens warning message Past duration 0.xxxx too large
Following this link http://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024695.html I tried with -af aresample=async=1 but still I get the error with 1 frame dropped.
[matroska @ 0x25d9de0] Writing block at offset 9113825634, size 179818, pts 2026200, dts 2026200, duration 40, keyframe 0 [matroska @ 0x25d9de0] Writing block at offset 9114005460, size 176978, pts 2026240, dts 2026240, duration 40, keyframe 0 Past duration 0.602318 too large *** dropping frame 50652 from stream 0 at ts 50650 [matroska @ 0x25d9de0] Starting new cluster at offset 9114182446 bytes, pts 2026280dts 2026280 [matroska @ 0x25d9de0] Writing block at offset 9114182463, size 180336, pts 2026280, dts 2026280, duration 40, keyframe 1 Past duration 0.601341 too large
What more to do?
As the errors are after 30 minutes, I could try to record by smaller parts. To be sure, I would like a way to stop recording if an error occurs. I tried -xerror but it's not working with this error. Any idea how to do? _
I was wrong: One more try and I got the error at 8:07
I need help!!!
More info, hope this will help to find a fix or a workaround. So far I used a DVD player to test and I had usually the errors after 30 minutes capture. In fact the use case is with a S-VHS player. When I capture from blank tape (statics before the images appear) I get a lot of errors and frame drops, then errors stop when the images appear. Same appends as well (not always) when there is a change betweens 2 takes or when there is a drop in the tape. Is it the right behaviour?
On 20/09/15 11:41, MrNice wrote:
On 19/09/15 18:16, MrNice wrote:
On 19/09/15 18:02, MrNice wrote:
On 17/09/15 14:51, MrNice wrote:
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
> Does it also happen if you only record audio?
Yes it happen with the command ./ffmpeg
-f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
More info after long tests. The error Application provided invalid, non monotonically increasing dts to muxer in stream 0: happens after at least 30 minutes recording. ie: Last time at 33:12 Few seconds before or after happens warning message Past duration 0.xxxx too large
Following this link http://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024695.html I tried with -af aresample=async=1 but still I get the error with 1 frame dropped.
[matroska @ 0x25d9de0] Writing block at offset 9113825634, size 179818, pts 2026200, dts 2026200, duration 40, keyframe 0 [matroska @ 0x25d9de0] Writing block at offset 9114005460, size 176978, pts 2026240, dts 2026240, duration 40, keyframe 0 Past duration 0.602318 too large *** dropping frame 50652 from stream 0 at ts 50650 [matroska @ 0x25d9de0] Starting new cluster at offset 9114182446 bytes, pts 2026280dts 2026280 [matroska @ 0x25d9de0] Writing block at offset 9114182463, size 180336, pts 2026280, dts 2026280, duration 40, keyframe 1 Past duration 0.601341 too large
What more to do?
As the errors are after 30 minutes, I could try to record by smaller parts. To be sure, I would like a way to stop recording if an error occurs. I tried -xerror but it's not working with this error. Any idea how to do? _
I was wrong: One more try and I got the error at 8:07
I need help!!!
More info, hope this will help to find a fix or a workaround.
So far I used a DVD player to test and I had usually the errors after 30 minutes capture. In fact the use case is with a S-VHS player. When I capture from blank tape (statics before the images appear) I get a lot of errors and frame drops, then errors stop when the images appear. Same appends as well (not always) when there is a change betweens 2 takes or when there is a drop in the tape.
Is it the right behaviour?
More info, new test.
From my S-VHS player, when there is no tape inside, there is a blue image with program number in white. This is a still image, stable without any static. I captured this image and got errors and drops at very regular time. Looking at the output log, I took the time for 15 errors. All of them are separated by 16-17 seconds. Between the errors there are warning messages Past duration 0.xxxxx too large where 0.xxxxx increase at a regular time.
./ffmpeg -loglevel info -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ffmpeg version N-75272-g5629143 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 1.100 / 57. 1.100 libavformat 57. 0.100 / 57. 0.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 2.100 / 6. 2.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 Input #0, pulse, from 'alsa_input.pci-0000_00_14.2.analog-stereo': Duration: N/A, start: 1442747383.881984, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s [video4linux2,v4l2 @ 0x38d82e0] Detected monotonic timestamps, converting Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1442747385.038588, bitrate: 165888 kb/s Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc Output #0, matroska, to '/Store3/Test/t_20150920_1209.mkv': Metadata: encoder : Lavf57.0.100 Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.1.100 ffv1 Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Metadata: encoder : Lavc57.1.100 pcm_s16le Output #1, sdl, to 'Dazzle output': Metadata: encoder : Lavf57.0.100 Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.1.100 rawvideo Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> ffv1 (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native)) Stream #1:0 -> #1:0 (rawvideo (native) -> rawvideo (native)) Press [q] to stop, [?] for help Past duration 0.628471 too large0 size= 44319kB time=00:00:09.71 bitrate=37386.8kbits/s [sdl @ 0x38fef00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 232 >= 232 Past duration 0.626991 too large Past duration 0.629173 too large Past duration 0.628471 too large Past duration 0.627617 too large Past duration 0.627922 too large Past duration 0.628044 too large Past duration 0.628120 too large Last message repeated 1 times Past duration 0.630318 too large Past duration 0.629219 too large Past duration 0.628685 too large Past duration 0.628319 too large0 size= 46793kB time=00:00:09.86 bitrate=38873.3kbits/s Past duration 0.630318 too large Past duration 0.630913 too large Past duration 0.631416 too large Past duration 0.629585 too large Past duration 0.627922 too large Past duration 0.631538 too large Past duration 0.630440 too large Past duration 0.629936 too large Past duration 0.631660 too large Past duration 0.632164 too large Past duration 0.630516 too large Past duration 0.630287 too large Past duration 0.630714 too large0 size= 49324kB time=00:00:10.84 bitrate=37271.6kbits/s Past duration 0.632790 too large Past duration 0.631187 too large Past duration 0.631325 too large Past duration 0.631096 too large Past duration 0.631737 too large Past duration 0.631447 too large Past duration 0.631767 too large Past duration 0.631935 too large Past duration 0.632088 too large Past duration 0.632072 too large Past duration 0.633919 too large Past duration 0.634346 too large Past duration 0.632866 too large0 size= 51755kB time=00:00:11.21 bitrate=37814.7kbits/s Past duration 0.632713 too large Past duration 0.634544 too large Past duration 0.633171 too large Past duration 0.633247 too large Past duration 0.635017 too large Past duration 0.633568 too large Past duration 0.633766 too large Past duration 0.633919 too large Past duration 0.634087 too large Past duration 0.634148 too large Past duration 0.634422 too large Past duration 0.634514 too large0 size= 53658kB time=00:00:11.36 bitrate=38687.6kbits/s Past duration 0.634712 too large Past duration 0.634895 too large Past duration 0.634819 too large Past duration 0.637169 too large Past duration 0.635170 too large Past duration 0.637596 too large Past duration 0.635719 too large Past duration 0.635414 too large Past duration 0.637367 too large Past duration 0.635963 too large Past duration 0.636238 too large Past duration 0.636040 too large Past duration 0.636467 too large0 size= 56332kB time=00:00:12.17 bitrate=37918.9kbits/s Past duration 0.636513 too large Past duration 0.636696 too large Past duration 0.636894 too large Past duration 0.638496 too large Past duration 0.637123 too large Past duration 0.637367 too large Past duration 0.637535 too large Past duration 0.639015 too large Past duration 0.639168 too large Past duration 0.637535 too large Past duration 0.637886 too large Past duration 0.638039 too large Past duration 0.637886 too large0 size= 59000kB time=00:00:12.71 bitrate=38018.4kbits/s Past duration 0.638390 too large Past duration 0.638420 too large Past duration 0.638618 too large Past duration 0.638649 too large Past duration 0.638817 too large Past duration 0.638786 too large Past duration 0.639473 too large Past duration 0.639015 too large Past duration 0.840187 too large Past duration 0.837669 too large Past duration 0.838219 too large0 size= 60723kB time=00:00:12.86 bitrate=38672.5kbits/s Past duration 0.837761 too large Past duration 0.837914 too large Past duration 0.838036 too large Past duration 0.840691 too large Past duration 0.838341 too large Past duration 0.840736 too large Past duration 0.839943 too large Past duration 0.841225 too large Past duration 0.841072 too large Past duration 0.841362 too large Last message repeated 1 times Past duration 0.840691 too large Past duration 0.839165 too large Past duration 0.842125 too large Past duration 0.840446 too large0 size= 64001kB time=00:00:13.79 bitrate=37998.3kbits/s Past duration 0.841988 too large Past duration 0.842415 too large Past duration 0.840370 too large Past duration 0.840416 too large Past duration 0.840248 too large Past duration 0.840736 too large Past duration 0.840965 too large Past duration 0.842613 too large Past duration 0.841713 too large Past duration 0.841270 too large Past duration 0.841469 too large Past duration 0.841560 too large Past duration 0.843849 too large0 size= 66247kB time=00:00:14.21 bitrate=38180.6kbits/s Past duration 0.841972 too large Past duration 0.837975 too large Past duration 0.844490 too large Past duration 0.842293 too large Past duration 0.844688 too large Past duration 0.843987 too large Past duration 0.844719 too large Past duration 0.842949 too large Past duration 0.845268 too large Past duration 0.845192 too large0 size= 67965kB time=00:00:14.36 bitrate=38758.7kbits/s Past duration 0.843498 too large Past duration 0.843666 too large Past duration 0.845573 too large Past duration 0.845543 too large Past duration 0.846046 too large Past duration 0.846214 too large Past duration 0.845940 too large Past duration 0.846596 too large Past duration 0.846687 too large Past duration 0.846443 too large Past duration 0.844917 too large Past duration 0.847069 too large Past duration 0.845146 too large Past duration 0.847221 too large Past duration 0.845390 too large0 size= 71245kB time=00:00:15.34 bitrate=38034.5kbits/s Past duration 0.845436 too large Past duration 0.845741 too large Past duration 0.845863 too large Past duration 0.846062 too large Past duration 0.846138 too large Past duration 0.848045 too large Past duration 0.846443 too large Past duration 0.846596 too large Past duration 0.846748 too large Past duration 0.846916 too large Past duration 0.847099 too large Past duration 0.847237 too large Past duration 0.847435 too large0 size= 73740kB time=00:00:15.79 bitrate=38235.0kbits/s Past duration 0.849388 too large Past duration 0.847588 too large Past duration 0.849464 too large Past duration 0.849495 too large Past duration 0.849724 too large Past duration 0.848061 too large Past duration 0.848244 too large Past duration 0.848412 too large Past duration 0.848442 too large Past duration 0.848488 too large Past duration 0.848671 too large0 size= 75791kB time=00:00:16.23 bitrate=38238.4kbits/s Past duration 0.848869 too large Past duration 0.850838 too large Past duration 0.849037 too large Past duration 0.849098 too large [sdl @ 0x38fef00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 654 >= 654 Past duration 0.677971 too large Past duration 0.678261 too large Past duration 0.678169 too large Past duration 0.678566 too large Past duration 0.678642 too large Past duration 0.681389 too large Past duration 0.678017 too large Past duration 0.679070 too large Past duration 0.679192 too large Past duration 0.679710 too large Past duration 0.681267 too large0 size= 127127kB time=00:00:27.11 bitrate=38404.9kbits/s dup=0 drop=1 Past duration 0.681236 too large Past duration 0.679787 too large Past duration 0.679420 too large
On 20/09/15 13:06, MrNice wrote:
On 20/09/15 11:41, MrNice wrote:
On 19/09/15 18:16, MrNice wrote:
On 19/09/15 18:02, MrNice wrote:
On 17/09/15 14:51, MrNice wrote:
On 17/09/15 12:00, Carl Eugen Hoyos wrote:
MrNice <wxcvbn2006 <at> iol.ie> writes:
>> Does it also happen if you only record audio? > > Yes it happen with the command > ./ffmpeg
> -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 > -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0
Does it also happen if you only provide audio input to FFmpeg?
Carl Eugen
No error in a 50 mn recording with command ./ffmpeg -debug 1 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vn -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv
More info after long tests. The error Application provided invalid, non monotonically increasing dts to muxer in stream 0: happens after at least 30 minutes recording. ie: Last time at 33:12 Few seconds before or after happens warning message Past duration 0.xxxx too large
Following this link http://ffmpeg.org/pipermail/ffmpeg-user/2014-December/024695.html I tried with -af aresample=async=1 but still I get the error with 1 frame dropped.
[matroska @ 0x25d9de0] Writing block at offset 9113825634, size 179818, pts 2026200, dts 2026200, duration 40, keyframe 0 [matroska @ 0x25d9de0] Writing block at offset 9114005460, size 176978, pts 2026240, dts 2026240, duration 40, keyframe 0 Past duration 0.602318 too large *** dropping frame 50652 from stream 0 at ts 50650 [matroska @ 0x25d9de0] Starting new cluster at offset 9114182446 bytes, pts 2026280dts 2026280 [matroska @ 0x25d9de0] Writing block at offset 9114182463, size 180336, pts 2026280, dts 2026280, duration 40, keyframe 1 Past duration 0.601341 too large
What more to do?
As the errors are after 30 minutes, I could try to record by smaller parts. To be sure, I would like a way to stop recording if an error occurs. I tried -xerror but it's not working with this error. Any idea how to do? _
I was wrong: One more try and I got the error at 8:07
I need help!!!
More info, hope this will help to find a fix or a workaround.
So far I used a DVD player to test and I had usually the errors after 30 minutes capture. In fact the use case is with a S-VHS player. When I capture from blank tape (statics before the images appear) I get a lot of errors and frame drops, then errors stop when the images appear. Same appends as well (not always) when there is a change betweens 2 takes or when there is a drop in the tape.
Is it the right behaviour?
More info, new test.
From my S-VHS player, when there is no tape inside, there is a blue image with program number in white. This is a still image, stable without any static. I captured this image and got errors and drops at very regular time. Looking at the output log, I took the time for 15 errors. All of them are separated by 16-17 seconds. Between the errors there are warning messages Past duration 0.xxxxx too large where 0.xxxxx increase at a regular time.
Carl Eugen: If not, does it also happen if you reduce the resolution of the video recording significantly? (100x100) Yes it happen as well in a regular manner (like a pattern of time) I am stuck, can't go further in my project. What I could do to help finding a fix or workaround? ./ffmpeg -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -s 80x60 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ffmpeg version N-75272-g5629143 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 1.100 / 57. 1.100 libavformat 57. 0.100 / 57. 0.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 2.100 / 6. 2.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 Input #0, pulse, from 'alsa_input.pci-0000_00_14.2.analog-stereo': Duration: N/A, start: 1443110411.356805, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s [video4linux2,v4l2 @ 0x3acb300] Detected monotonic timestamps, converting Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1443110412.490084, bitrate: 165888 kb/s Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc Output #0, matroska, to '/Store3/Test/t_20150924_1700.mkv': Metadata: encoder : Lavf57.0.100 Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 80x60 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.1.100 ffv1 Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Metadata: encoder : Lavc57.1.100 pcm_s16le Output #1, sdl, to 'Dazzle output': Metadata: encoder : Lavf57.0.100 Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.1.100 rawvideo Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> ffv1 (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native)) Stream #1:0 -> #1:0 (rawvideo (native) -> rawvideo (native)) Press [q] to stop, [?] for help Past duration 0.623589 too large0 size= 1684kB time=00:00:07.84 bitrate=1759.5kbits/s [sdl @ 0x3af1e40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 195 >= 195 Past duration 0.623741 too large Past duration 0.623894 too large Past duration 0.623863 too large Past duration 0.625664 too large Past duration 0.626015 too large Past duration 0.626274 too large Past duration 0.626747 too large Past duration 0.624687 too large Past duration 0.625069 too large0 size= 1776kB time=00:00:08.36 bitrate=1739.7kbits/s Past duration 0.626442 too large Past duration 0.627495 too large Past duration 0.625618 too large Past duration 0.625221 too large Past duration 0.625923 too large Past duration 0.625999 too large Past duration 0.627495 too large Past duration 0.627419 too large Past duration 0.625999 too large Past duration 0.628563 too large Past duration 0.626274 too large Past duration 0.626793 too large Past duration 0.626900 too large0 size= 1886kB time=00:00:09.10 bitrate=1697.2kbits/s Past duration 0.627968 too large Past duration 0.627342 too large Past duration 0.627571 too large Past duration 0.628944 too large Past duration 0.629448 too large Past duration 0.628639 too large Past duration 0.627922 too large Past duration 0.628166 too large Past duration 0.629860 too large Past duration 0.628685 too large Past duration 0.630791 too large Past duration 0.628868 too large0 size= 2010kB time=00:00:09.71 bitrate=1695.3kbits/s Past duration 0.629097 too large Past duration 0.628975 too large Past duration 0.629417 too large Past duration 0.629585 too large Past duration 0.629570 too large Past duration 0.629646 too large Past duration 0.631340 too large Past duration 0.631889 too large Past duration 0.630287 too large Past duration 0.631966 too large Past duration 0.630592 too large Past duration 0.630760 too large Past duration 0.632591 too large0 size= 2094kB time=00:00:09.79 bitrate=1750.9kbits/s Past duration 0.630974 too large Past duration 0.631294 too large Last message repeated 1 times Past duration 0.631660 too large Past duration 0.633400 too large Past duration 0.631645 too large Past duration 0.631813 too large Past duration 0.632271 too large Past duration 0.632317 too large Past duration 0.632423 too large Past duration 0.632744 too large Past duration 0.632790 too large Past duration 0.632835 too large0 size= 2205kB time=00:00:10.60 bitrate=1703.3kbits/s Past duration 0.633110 too large Past duration 0.633324 too large Past duration 0.635048 too large Past duration 0.635139 too large Past duration 0.633842 too large Past duration 0.633949 too large Past duration 0.634041 too large Past duration 0.634270 too large Past duration 0.634422 too large Past duration 0.634544 too large Last message repeated 1 times Past duration 0.634743 too large Past duration 0.636238 too large0 size= 2330kB time=00:00:11.21 bitrate=1702.4kbits/s Past duration 0.634224 too large Past duration 0.636742 too large Past duration 0.636848 too large Past duration 0.635323 too large Past duration 0.635460 too large Past duration 0.635750 too large Past duration 0.635765 too large Past duration 0.637520 too large Past duration 0.637062 too large Past duration 0.636223 too large Past duration 0.834267 too large Past duration 0.836266 too large0 size= 2413kB time=00:00:11.36 bitrate=1739.6kbits/s Past duration 0.835670 too large Past duration 0.834862 too large Past duration 0.835167 too large Past duration 0.835274 too large Past duration 0.835442 too large Past duration 0.837624 too large Past duration 0.837791 too large Past duration 0.835793 too large Last message repeated 1 times Past duration 0.835625 too large Past duration 0.836235 too large Past duration 0.835991 too large Past duration 0.836662 too large0 size= 2524kB time=00:00:11.79 bitrate=1752.4kbits/s Past duration 0.838264 too large Past duration 0.836800 too large Past duration 0.837044 too large Past duration 0.837212 too large Past duration 0.837349 too large Past duration 0.837410 too large Past duration 0.839165 too large Past duration 0.839439 too large Past duration 0.837914 too large Past duration 0.839760 too large Past duration 0.838341 too large Last message repeated 1 times Past duration 0.839592 too large0 size= 2649kB time=00:00:12.71 bitrate=1707.1kbits/s Past duration 0.840294 too large Past duration 0.839012 too large Past duration 0.838814 too large Past duration 0.841240 too large Past duration 0.841347 too large Past duration 0.841637 too large Past duration 0.840462 too large Past duration 0.839821 too large Past duration 0.842186 too large Past duration 0.840385 too large Past duration 0.840172 too large Past duration 0.840523 too large Past duration 0.840569 too large0 size= 2731kB time=00:00:12.86 bitrate=1739.1kbits/s Past duration 0.840874 too large Past duration 0.842735 too large Past duration 0.841148 too large Past duration 0.843010 too large Past duration 0.842918 too large Past duration 0.843346 too large Past duration 0.841499 too large Past duration 0.841835 too large Past duration 0.841972 too large Past duration 0.843712 too large Past duration 0.844170 too large Past duration 0.842293 too large0 size= 2841kB time=00:00:13.60 bitrate=1710.7kbits/s Past duration 0.844261 too large Past duration 0.842812 too large Past duration 0.842949 too large Past duration 0.843086 too large Past duration 0.844948 too large Past duration 0.845268 too large Past duration 0.845024 too large Past duration 0.845772 too large Past duration 0.843620 too large Past duration 0.844017 too large Past duration 0.843971 too large Past duration 0.844398 too large Past duration 0.845924 too large0 size= 2961kB time=00:00:13.84 bitrate=1751.9kbits/s Past duration 0.844795 too large Past duration 0.846687 too large Past duration 0.846413 too large Past duration 0.846794 too large Past duration 0.845192 too large Past duration 0.845497 too large Past duration 0.845222 too large Past duration 0.845695 too large Past duration 0.845848 too large Past duration 0.845741 too large Past duration 0.846123 too large Past duration 0.847969 too large Past duration 0.848045 too large0 size= 3050kB time=00:00:14.36 bitrate=1739.4kbits/s Past duration 0.846214 too large Past duration 0.846611 too large Past duration 0.846748 too large Past duration 0.846794 too large Past duration 0.846870 too large Past duration 0.848412 too large [sdl @ 0x3af1e40] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 616 >= 616 Past duration 0.678017 too large Past duration 0.677773 too large Past duration 0.678413 too large Past duration 0.678413 too large0 size= 5279kB time=00:00:24.87 bitrate=1738.7kbits/s dup=0 drop=1 Past duration 0.678841 too large Past duration 0.678947 too large Past duration 0.679070 too large Past duration 0.678810 too large Past duration 0.680336 too large Past duration 0.679436 too large Past duration 0.679344 too large Past duration 0.679848 too large Past duration 0.679893 too large Past duration 0.679985 too large Past duration 0.680367 too large Past duration 0.682121 too large Past duration 0.680473 too large Past duration 0.680489 too large Past duration 0.681923 too large0 size= 5460kB time=00:00:25.79 bitrate=1733.7kbits/s dup=0 drop=1 Past duration 0.680565 too large Past duration 0.682899 too large Past duration 0.682945 too large Past duration 0.683922 too large Past duration 0.681740 too large Past duration 0.683464 too large Past duration 0.681496 too large Past duration 0.681816 too large Past duration 0.681969 too large Past duration 0.682365 too large Past duration 0.682671 too large Past duration 0.684395 too large Past duration 0.684715 too large0 size= 5585kB time=00:00:26.37 bitrate=1734.9kbits/s dup=0 drop=1 Past duration 0.682899 too large Past duration 0.683189 too large Past duration 0.683449 too large Past duration 0.685265 too large Past duration 0.683647 too large Past duration 0.683922 too large Past duration 0.684044 too large Past duration 0.684242 too large Past duration 0.685966 too large Past duration 0.684547 too large Past duration 0.686272 too large0 size= 5628kB time=00:00:26.74 bitrate=1724.0kbits/s dup=0 drop=1 Past duration 0.684898 too large Past duration 0.684669 too large Past duration 0.686043 too large Past duration 0.686638 too large Past duration 0.687050 too large Last message repeated 1 times Past duration 0.687248 too large Past duration 0.685936 too large Past duration 0.686073 too large Past duration 0.686287 too large Past duration 0.687843 too large Past duration 0.686485 too large Past duration 0.686699 too large Past duration 0.686913 too large0 size= 5779kB time=00:00:27.35 bitrate=1730.8kbits/s dup=0 drop=1 Past duration 0.686821 too large Past duration 0.687141 too large Past duration 0.687370 too large Past duration 0.688835 too large Past duration 0.689262 too large Past duration 0.687340 too large Past duration 0.689293 too large Past duration 0.689522 too large Past duration 0.689766 too large Past duration 0.689964 too large Past duration 0.688622 too large Past duration 0.690269 too large Past duration 0.690468 too large0 size= 5904kB time=00:00:27.79 bitrate=1740.0kbits/s dup=0 drop=1 Past duration 0.688911 too large Past duration 0.690788 too large Past duration 0.690712 too large Past duration 0.691170 too large Past duration 0.691139 too large Past duration 0.689568 too large Past duration 0.690895 too large Past duration 0.689613 too large Past duration 0.689796 too large Past duration 0.691170 too large Past duration 0.691872 too large Past duration 0.691948 too large0 size= 5946kB time=00:00:28.24 bitrate=1724.5kbits/s dup=0 drop=1 Past duration 0.690392 too large Past duration 0.889061 too large Past duration 0.890175 too large Past duration 0.888969 too large Past duration 0.891548 too large Past duration 0.890450 too large Past duration 0.889763 too large Past duration 0.891563 too large Past duration 0.889763 too large Past duration 0.891487 too large Past duration 0.889961 too large Past duration 0.890022 too large Past duration 0.891945 too large0 size= 6098kB time=00:00:28.85 bitrate=1731.1kbits/s dup=0 drop=1 Past duration 0.891960 too large Past duration 0.890663 too large Past duration 0.890816 too large Past duration 0.890862 too large Past duration 0.893089 too large Past duration 0.892616 too large Past duration 0.891594 too large Past duration 0.892494 too large Past duration 0.893242 too large Past duration 0.891899 too large Past duration 0.893669 too large Past duration 0.892067 too large Past duration 0.894295 too large0 size= 6223kB time=00:00:29.37 bitrate=1735.4kbits/s dup=0 drop=1 Past duration 0.892616 too large Past duration 0.892845 too large Past duration 0.894646 too large Past duration 0.894295 too large Past duration 0.895241 too large Past duration 0.895699 too large Past duration 0.893517 too large Past duration 0.895485 too large Past duration 0.895744 too large Past duration 0.894173 too large Past duration 0.893715 too large Past duration 0.894142 too large0 size= 6265kB time=00:00:29.74 bitrate=1725.2kbits/s dup=0 drop=1 Past duration 0.896095 too large Past duration 0.896324 too large Past duration 0.896843 too large Past duration 0.894844 too large Past duration 0.896736 too large Past duration 0.895149 too large Past duration 0.895424 too large Past duration 0.895546 too large Past duration 0.897362 too large Past duration 0.895439 too large Past duration 0.897514 too large Past duration 0.896721 too large Past duration 0.897942 too large Past duration 0.898048 too large0 size= 6427kB time=00:00:30.35 bitrate=1734.3kbits/s dup=0 drop=1 Past duration 0.896690 too large Past duration 0.897697 too large Past duration 0.898537 too large Past duration 0.899040 too large Past duration 0.898918 too large Past duration 0.899269 too large Past duration 0.897774 too large Past duration 0.899742 too large Past duration 0.899696 too large Past duration 0.898064 too large Past duration 0.898323 too large Past duration 0.900398 too large Past duration 0.900017 too large0 size= 6544kB time=00:00:30.87 bitrate=1736.1kbits/s dup=0 drop=1 Past duration 0.898674 too large Past duration 0.898720 too large Past duration 0.900566 too large Past duration 0.899239 too large Past duration 0.900917 too large Past duration 0.899437 too large Past duration 0.898994 too large Past duration 0.901314 too large Past duration 0.899895 too large Past duration 0.901711 too large Last message repeated 1 times Past duration 0.901863 too large0 size= 6652kB time=00:00:31.61 bitrate=1723.6kbits/s dup=0 drop=1 Past duration 0.902016 too large Past duration 0.900520 too large Past duration 0.900673 too large Past duration 0.900749 too large Past duration 0.902672 too large Past duration 0.901024 too large Past duration 0.900963 too large Past duration 0.901237 too large Past duration 0.901436 too large av_interleaved_write_frame(): Input/output errorB time=00:00:34.62 bitrate=1725.1kbits/s dup=0 drop=1 frame= 858 fps= 25 q=-0.0 Lq=-0.0 size= 7380kB time=00:00:34.62 bitrate=1746.4kbits/s dup=0 drop=1 video:697142kB audio:5999kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!
Attention to Carl Eugen and other experts, I did lot of tests and answered your last question. I didn't get any feedback so far, maybe you missed them. I need to go further in my project but I don't know what to do now to avoid the errors. Thank you to have a look and advice.
On 26/09/15 14:14, MrNice wrote:
Attention to Carl Eugen and other experts,
I did lot of tests and answered your last question. I didn't get any feedback so far, maybe you missed them. I need to go further in my project but I don't know what to do now to avoid the errors.
Thank you to have a look and advice.
More tests: So far I used the CL: ./ffmpeg -debug 1 -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" I get errors, ie: 8133 input video packets (around 5 minutes) and drop=4 [matroska @ 0x3910d80] Writing block at offset 2449025254, size 53920, pts 325664, dts 325664, duration 306, keyframe 1 [matroska @ 0x3910d80] end duration = 325970 [matroska @ 0x3910d80] stream 0 end duration = 325600 [matroska @ 0x3910d80] stream 1 end duration = 325970 frame= 8129 fps= 25 q=-0.0 Lq=-0.0 size= 2391845kB time=00:05:25.76 bitrate=60146.9kbits/s dup=0 drop=4 video:8923049kB audio:56154kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #0:0 (audio): 1173 packets read (57501184 bytes); 1173 frames decoded (14375296 samples); Total: 1173 packets (57501184 bytes) demuxed Input file #1 (/dev/video0): Input stream #1:0 (video): 8133 packets read (6745835520 bytes); 8133 frames decoded; Total: 8133 packets (6745835520 bytes) demuxed Output file #0 (/Store3/Test/t_20150927_0925.mkv): Output stream #0:0 (video): 8129 frames encoded; 8129 packets muxed (2391366165 bytes); Output stream #0:1 (audio): 1173 frames encoded (14375296 samples); 1173 packets muxed (57501184 bytes); Total: 9302 packets (2448867349 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 8133 frames encoded; 8133 packets muxed (6745835520 bytes); Total: 8133 packets (6745835520 bytes) muxed 9306 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x391da40] Statistics: 48794 seeks, 111065 writeouts Conversion failed! When I write video first in the CL: ./ffmpeg -debug 1 -xerror -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" I get errors, ie: 97 input video packets (around 5 seconds)) and drop=13 [matroska @ 0x2360ce0] Writing block at offset 19532162, size 65472, pts 4059, dts 4059, duration 371, keyframe 1 [matroska @ 0x2360ce0] end duration = 4430 [matroska @ 0x2360ce0] stream 0 end duration = 4080 [matroska @ 0x2360ce0] stream 1 end duration = 4430 frame= 84 fps= 17 q=-0.0 Lq=-0.0 size= 19140kB time=00:00:04.23 bitrate=37067.2kbits/s dup=0 drop=13 video:96942kB audio:763kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (/dev/video0): Input stream #0:0 (video): 97 packets read (80455680 bytes); 97 frames decoded; Total: 97 packets (80455680 bytes) demuxed Input file #1 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #1:0 (audio): 15 packets read (781464 bytes); 15 frames decoded (195366 samples); Total: 15 packets (781464 bytes) demuxed Output file #0 (/Store3/Test/t_20150927_0933.mkv): Output stream #0:0 (video): 84 frames encoded; 84 packets muxed (18813101 bytes); Output stream #0:1 (audio): 15 frames encoded (195366 samples); 15 packets muxed (781464 bytes); Total: 99 packets (19594565 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 97 frames encoded; 97 packets muxed (80455680 bytes); Total: 97 packets (80455680 bytes) muxed 112 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x2375b60] Statistics: 524 seeks, 968 writeouts Conversion failed! Video first leads to a lot more errors and dropped frames. BTW, 1 week ago, I opened a bug, so far no answer https://trac.ffmpeg.org/ticket/4869#no1
On 27/09/15 09:47, MrNice wrote:
On 26/09/15 14:14, MrNice wrote:
Attention to Carl Eugen and other experts,
I did lot of tests and answered your last question. I didn't get any feedback so far, maybe you missed them. I need to go further in my project but I don't know what to do now to avoid the errors.
Thank you to have a look and advice.
More tests:
So far I used the CL:
./ffmpeg -debug 1 -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output"
I get errors, ie: 8133 input video packets (around 5 minutes) and drop=4
[matroska @ 0x3910d80] Writing block at offset 2449025254, size 53920, pts 325664, dts 325664, duration 306, keyframe 1 [matroska @ 0x3910d80] end duration = 325970 [matroska @ 0x3910d80] stream 0 end duration = 325600 [matroska @ 0x3910d80] stream 1 end duration = 325970 frame= 8129 fps= 25 q=-0.0 Lq=-0.0 size= 2391845kB time=00:05:25.76 bitrate=60146.9kbits/s dup=0 drop=4 video:8923049kB audio:56154kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #0:0 (audio): 1173 packets read (57501184 bytes); 1173 frames decoded (14375296 samples); Total: 1173 packets (57501184 bytes) demuxed Input file #1 (/dev/video0): Input stream #1:0 (video): 8133 packets read (6745835520 bytes); 8133 frames decoded; Total: 8133 packets (6745835520 bytes) demuxed Output file #0 (/Store3/Test/t_20150927_0925.mkv): Output stream #0:0 (video): 8129 frames encoded; 8129 packets muxed (2391366165 bytes); Output stream #0:1 (audio): 1173 frames encoded (14375296 samples); 1173 packets muxed (57501184 bytes); Total: 9302 packets (2448867349 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 8133 frames encoded; 8133 packets muxed (6745835520 bytes); Total: 8133 packets (6745835520 bytes) muxed 9306 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x391da40] Statistics: 48794 seeks, 111065 writeouts Conversion failed!
When I write video first in the CL:
./ffmpeg -debug 1 -xerror -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output"
I get errors, ie: 97 input video packets (around 5 seconds)) and drop=13
[matroska @ 0x2360ce0] Writing block at offset 19532162, size 65472, pts 4059, dts 4059, duration 371, keyframe 1 [matroska @ 0x2360ce0] end duration = 4430 [matroska @ 0x2360ce0] stream 0 end duration = 4080 [matroska @ 0x2360ce0] stream 1 end duration = 4430 frame= 84 fps= 17 q=-0.0 Lq=-0.0 size= 19140kB time=00:00:04.23 bitrate=37067.2kbits/s dup=0 drop=13 video:96942kB audio:763kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (/dev/video0): Input stream #0:0 (video): 97 packets read (80455680 bytes); 97 frames decoded; Total: 97 packets (80455680 bytes) demuxed Input file #1 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #1:0 (audio): 15 packets read (781464 bytes); 15 frames decoded (195366 samples); Total: 15 packets (781464 bytes) demuxed Output file #0 (/Store3/Test/t_20150927_0933.mkv): Output stream #0:0 (video): 84 frames encoded; 84 packets muxed (18813101 bytes); Output stream #0:1 (audio): 15 frames encoded (195366 samples); 15 packets muxed (781464 bytes); Total: 99 packets (19594565 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 97 frames encoded; 97 packets muxed (80455680 bytes); Total: 97 packets (80455680 bytes) muxed 112 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x2375b60] Statistics: 524 seeks, 968 writeouts Conversion failed!
Video first leads to a lot more errors and dropped frames.
BTW, 1 week ago, I opened a bug, so far no answer https://trac.ffmpeg.org/ticket/4869#no1
More tests I did 12 tests with the CL ./ffmpeg -debug 1 -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" I always get the same pattern: One first red error message Few seconds correct Around 60 yellow warning messages Few seconds correct, a bit longer than the previous A second red error message I wrote down: 1- The value at the end of the first red error message Application provided invalid, non monotonically increasing dts to muxer in stream 0: xxx >= xxx 2 & 3- The offset and the pts at the message Starting new cluster at offset xxxxxxxx bytes, pts xxxxx just after the first yellow warning message Past duration 0.xxx too large 4- The value at the end of the second red error message Application provided invalid, non monotonically increasing dts to muxer in stream 0: xxx >= xxx Test|First error|Too large @bytes|Too large @pts|Second error | 1 | 2 | 3 | 4 1 | 192 | 51808270 | 10760 | 570 2 | 183 | 50130991 | 10400 | 561 3 | 219 | 56954209 | 11800 | 597 4 | 192 | 51911648 | 10760 | 570 5 | 161 | 45894575 | 9520 | 539 6 | 204 | 54028812 | 11200 | 582 7 | 213 | 55996679 | 11600 | 591 8 | 176 | 48726442 | 10080 | 554 9 | 197 | 52595957 | 10920 | 575 10| 224 | 58047439 | 12000 | 602 11| 179 | 19117311 | 10200 | 557 12| 223 | 58023111 | 12000 | 601 If you subtract the value of the 1st error to the value of the 2nd error you always get 378. All the values are proportional and start around the same time. This is not a random error but a predictable error => bug. Hope this will help
On 9/27/2015 1:00 PM, MrNice wrote:
./ffmpeg -debug 1 -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 -i alsa_input.pci-0000_00_14.2.analog-stereo -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -vf drawbox=0:0:3:576:black@1:t=max,drawbox=718:0:3:576:black@1:t=max,drawbox=0:0:720:3:black@1:t=max,drawbox=0:564:720:12:black@1:t=max -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p -c:a pcm_s16le /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output"
I get errors, ie: 8133 input video packets (around 5 minutes) and drop=4
[matroska @ 0x3910d80] Writing block at offset 2449025254, size 53920, pts 325664, dts 325664, duration 306, keyframe 1 [matroska @ 0x3910d80] end duration = 325970 [matroska @ 0x3910d80] stream 0 end duration = 325600 [matroska @ 0x3910d80] stream 1 end duration = 325970 frame= 8129 fps= 25 q=-0.0 Lq=-0.0 size= 2391845kB time=00:05:25.76 bitrate=60146.9kbits/s dup=0 drop=4 video:8923049kB audio:56154kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (alsa_input.pci-0000_00_14.2.analog-stereo): Input stream #0:0 (audio): 1173 packets read (57501184 bytes); 1173 frames decoded (14375296 samples); Total: 1173 packets (57501184 bytes) demuxed Input file #1 (/dev/video0): Input stream #1:0 (video): 8133 packets read (6745835520 bytes); 8133 frames decoded; Total: 8133 packets (6745835520 bytes) demuxed Output file #0 (/Store3/Test/t_20150927_0925.mkv): Output stream #0:0 (video): 8129 frames encoded; 8129 packets muxed (2391366165 bytes); Output stream #0:1 (audio): 1173 frames encoded (14375296 samples); 1173 packets muxed (57501184 bytes); Total: 9302 packets (2448867349 bytes) muxed Output file #1 (Dazzle output): Output stream #1:0 (video): 8133 frames encoded; 8133 packets muxed (6745835520 bytes); Total: 8133 packets (6745835520 bytes) muxed 9306 frames successfully decoded, 0 decoding errors [AVIOContext @ 0x391da40] Statistics: 48794 seeks, 111065 writeouts Conversion failed!
what's your CPU? how's the CPU usage during encoding? did you try another capture card? not very familiar with capturing with capture cards under linux, but for sure if you need help you should try reproduce with a minimal amount of parameters. ./ffmpeg -debug 1 -xerror -f pulse -ar 44100 -ac 2 -channel_layout stereo -thread_queue_size 512 -itsoffset -0.20 ... and I am already lost. remove everything possible even if it is not exactly what you want but first we should see if it reproduces with the simplest command like ffmpeg -i <audio_in> -i <video_in> out.mkv of course, add parameters that are *really* required for input devices. and then, try to add an -vf "scale=120x90" for the output to make sure we encode something small and we don't hit resource limits. and if this works, work your way from there. also try another capture card. you should be able to isolate the problem. and then come back for help. -- Claudiu
More tests
I did 12 tests with the CL
./ffmpeg -debug 1 -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 -pix_fmt yuv422p /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output"
I always get the same pattern: One first red error message Few seconds correct Around 60 yellow warning messages Few seconds correct, a bit longer than the previous A second red error message
I wrote down: 1- The value at the end of the first red error message Application provided invalid, non monotonically increasing dts to muxer in stream 0: xxx >= xxx
2 & 3- The offset and the pts at the message Starting new cluster at offset xxxxxxxx bytes, pts xxxxx just after the first yellow warning message Past duration 0.xxx too large
4- The value at the end of the second red error message Application provided invalid, non monotonically increasing dts to muxer in stream 0: xxx >= xxx
Test|First error|Too large @bytes|Too large @pts|Second error | 1 | 2 | 3 | 4 1 | 192 | 51808270 | 10760 | 570 2 | 183 | 50130991 | 10400 | 561 3 | 219 | 56954209 | 11800 | 597 4 | 192 | 51911648 | 10760 | 570 5 | 161 | 45894575 | 9520 | 539 6 | 204 | 54028812 | 11200 | 582 7 | 213 | 55996679 | 11600 | 591 8 | 176 | 48726442 | 10080 | 554 9 | 197 | 52595957 | 10920 | 575 10| 224 | 58047439 | 12000 | 602 11| 179 | 19117311 | 10200 | 557 12| 223 | 58023111 | 12000 | 601
If you subtract the value of the 1st error to the value of the 2nd error you always get 378. All the values are proportional and start around the same time. This is not a random error but a predictable error => bug.
Hope this will help
Hi, I did the same test/CL with the last update. Same issue, same drops. I am waiting for an answer in the ffmpeg-trac, 5 weeks pass and no news. Please, cehoyos / Carl Eugen, could you tell me; Did you come to a conclusion regarding this bug? Without any info, I don't know if I should wait or find another way. https://trac.ffmpeg.org/ticket/4869 Thanks
I didn't notice the answer above, I thought my answer will got in the September folder with the same name. So to answer Claudiu, the simplest CL: ./ffmpeg -debug 1 -f v4l2 -i /dev/video0 -c:v ffv1 /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -f sdl "Dazzle output" give the same issue/pattern/drops and the CL without sdl ./ffmpeg -debug 1 -f v4l2 -i /dev/video0 -c:v ffv1 /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv output the yellow messages, not the red message "Application provided invalid, non monotonically increasing dts to muxer in stream 0: xxx >= xxx", BUT still has drops. CPU AMD FX8120 3.1MHz, about 25, 30% usage, nothing noticeable. I don't have another capture device. I hope to get an answer, I am stuck in my project.
I didn't get any solution nether workaround for what I think is a bug. I placed a bug in https://trac.ffmpeg.org/ticket/4869 6 weeks ago and nothing new. Could someone tell me how I could get at least the probability for a fix/workaround. This bug prevent me to get further in my project. I don't see any other way to capture my video tapes. Thanks for your appreciated help
On 02/11/15 12:17, MrNice wrote:
I didn't get any solution nether workaround for what I think is a bug. I placed a bug in https://trac.ffmpeg.org/ticket/4869 6 weeks ago and nothing new.
Could someone tell me how I could get at least the probability for a fix/workaround. This bug prevent me to get further in my project. I don't see any other way to capture my video tapes.
Thanks for your appreciated help _______________________________________________
Same issue/pattern/drops with ./ffmpeg -debug 1 -f v4l2 -channel 1 -i /dev/video0 -vf setfield=tff -c:v libx264 -preset slow -qp 0 -x264opts tff=1 /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output"
On 02/11/15 17:51, MrNice wrote:
On 02/11/15 12:17, MrNice wrote:
I didn't get any solution nether workaround for what I think is a bug. I placed a bug in https://trac.ffmpeg.org/ticket/4869 6 weeks ago and nothing new.
Could someone tell me how I could get at least the probability for a fix/workaround. This bug prevent me to get further in my project. I don't see any other way to capture my video tapes.
Thanks for your appreciated help _______________________________________________
Same issue/pattern/drops with
./ffmpeg -debug 1 -f v4l2 -channel 1 -i /dev/video0 -vf setfield=tff -c:v libx264 -preset slow -qp 0 -x264opts tff=1 /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
I placed a new test on the trac bugs https://trac.ffmpeg.org/ticket/4869#comment:5 Is there someone to help me? I despair!!!!
participants (4)
-
Carl Eugen Hoyos -
Claudiu Rad -
MrNice -
Robert Krüger