[FFmpeg-user] ffmpeg throwing “Non-monotonous DTS in output stream”
winthrop70 at gmail.com
Mon Oct 1 05:21:49 EEST 2018
So I'm trying to concatenate 5 video files. I'm running Linux, and the
command line looks like this:
ffmpeg -f concat -safe 0 -i blist.txt -c copy output.mp4
blist.txt contains this:
file '00 - Test Pattern.mp4'
file '01 - In Memoriam.mp4'
file 'Feature Presentation 01.mp4'
file 'The Head.mp4'
file 'Intermission 03.mp4'
Soon as it starts processing the second file, it throws errors like this,
but continues running:
[mp4 @ 0x1c4c4c0] Non-monotonous DTS in output stream 0:1; previous:
274141424, current: 253439430; changing to 274141425. This may result in
incorrect timestamps in the output file.
The resulting video plays perfectly, up until the end of the 4th video. The
5th video has video, but no audio. Last run I did on this, with the same
files, had audio but no video, just a black screen.
I'm fairly certain I need to just go ahead and re-encode all the files, but
I have no idea what parameters to use.
Can someone please help me with this?
More information about the ffmpeg-user