Opened 2 years ago

Closed 9 months ago

Last modified 9 months ago

#9785 closed defect (fixed)

ffmpeg incorrectly warns about "non-monotonous" timestamp

Reported by: mhjacobson Owned by:
Priority: minor Component: ffmpeg
Version: git-master Keywords:
Cc: mhjacobson Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Under certain circumstances, ffmpeg emits a warning like this:

[mp4 @ 0x80ee68c00] Non-monotonous DTS in output stream 0:1; previous: 226069, current: 223761; changing to 226070. This may result in incorrect timestamps in the output file.

The correct word is "non-monotonic"; "monotonous" means "not changing in pitch" or, idiomatically, "boring".

The nonstandard terminology dates back to this commit: <>.

Change History (4)

comment:1 by Balling, 2 years ago

DTS must increase every tick. It cannot stay the same (this warning will trigger then too), while monotonic can mean >=.

It also often writes

[null @ 00000203a2e72b00] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 14190336 >= 14190336
Last edited 2 years ago by Balling (previous) (diff)

comment:3 by Balling, 9 months ago

Resolution: fixed
Status: newclosed

comment:4 by mhjacobson, 9 months ago

Thank you!

Note: See TracTickets for help on using tickets.