FFmpeg - What does non monotonically increasing dts mean?

不羁的心 提交于 2020-08-04 04:03:30

问题


Observations - Part - I

I saw a suggestion elsewhere to run the following command to see if there's something wrong with my .mp4.

ffmpeg -v error  -i ~/Desktop/5_minute_sync_output_15mn.mp4 -f null - 2>error.log

When I run the above command, I see a whole bunch of the logs on the lines of what's shown below.

Application provided invalid, non monotonically increasing dts to muxer in stream 0: 15635 >= 15635

This, from searching and reading up quite a bit, I understand that the decoding timestamp isn't in sequential order.

Observations - Part II

But, inspecting the frames of the same mp4 using the following command and some post processing, I don't see pkt_dts within the frames_info json being out of order for either of the video or audio streams.

ffprobe -loglevel panic -of json -show_frames ~/Desktop/5_minute_sync_output_15mn.mp4

This makes me doubt my initial understanding in Observations - Part - I

Are these 2 things not related? Any help on this will be greatly appreciated.

来源:https://stackoverflow.com/questions/46231348/ffmpeg-what-does-non-monotonically-increasing-dts-mean

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!