[FFmpeg-user] Application provided invalid, non monotonically increasing dts to muxer in stream

MrNice wxcvbn2006 at iol.ie
Thu Sep 17 12:26:49 CEST 2015


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


More information about the ffmpeg-user mailing list