[FFmpeg-user] Non-monotonic DTS errors, saving a live encode via mediaMTX
Masaru Nomiya
nomiya at lake.dti.ne.jp
Fri Dec 27 04:53:04 EET 2024
Hello,
In the Message;
Subject : [FFmpeg-user] Non-monotonic DTS errors, saving a live encode via mediaMTX
Message-ID : <ME0P300MB04539F83440F23672218DA55B70E2 at ME0P300MB0453.AUSP300.PROD.OUTLOOK.COM>
Date & Time: Fri, 27 Dec 2024 01:42:55 +0000
[AS] == Andrew Strachan <stroltz-at-hotmail.com at ffmpeg.org> has written:
[...]
AS> I keep getting Non-monotonic DTS errors, which I could just
AS> ignore, but I think they are suggesting something is wrong. My
AS> test .ts files will play in VLC, but I don't think they are 'good
AS> enough'. both seeking and audio sync does not look right.
Non-monotonic DTS (Decoding Time Stamp) errors are a common problem
that occurs when processing video and audio files with FFmpeg. This
error occurs when the timestamps of the output stream are not
monotonically increasing.
When this error occurs, the timestamps of the output file may be
incorrect, and this may cause problems when playing back the file.
In any case, it is recommended that you use the latest version of
FFmpeg, as older versions may frequently encounter this error.
Possible solutions;
1. re-encoding
or
2. adjusting the FFmpeg options
2-1. -fflags +igndts: ignore timestamps
2-2. -copytb 1: specify how to copy timebase
However, it may be difficult to completely avoid this problem.
Best Regards.
---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛ "The production of A.I. seems to carry a powerful side effect:
as the machines generate intelligence, they also generate mystery.
Human misunderstanding endures, possibly a permanent condition. "
-- "Was Linguistic A.I. Created by Accident?" THE NEW YORKER --
More information about the ffmpeg-user
mailing list