Opened 2 years ago

Closed 8 months ago

Last modified 8 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

Description

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: <https://github.com/FFmpeg/FFmpeg/commit/76d23f40314fc1dcd74a3d470b17782cc0ee5a3a>.

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, 8 months ago

Resolution: fixed
Status: newclosed

comment:4 by mhjacobson, 8 months ago

Thank you!

Note: See TracTickets for help on using tickets.