[FFmpeg-devel] [PATCH] Add libavformat option to ignore non monotime dts timestamps
Fri Sep 24 18:10:40 CEST 2010
Sam Creasey wrote:
> This patch adds an option which disables an error check for dts
> ordering in compute_pkt_fields2(). This was needed to store the RTP
> stream from a particular model camera usefully (using the existing
> igndts flag resulted in rather jumpy playback of the final stream).
> Should have no effect if the new option is not specified.
I am wondering if this is a reasonable way to solve the problem. It
seems like this feature could lead to the creation of an even more
badly-formed output file.
Please give us more info:
1. what is the format of the RTP payload? Is it a well-known container type?
2. what container type are you writing the output to?
3. is the failing timestamp equal to the preceeding one, or is the
pkt->dts value actually smaller?
4. do you know if the container already has these "bad" DTS timestamps,
or are they being created by FFmpeg itself?
More information about the ffmpeg-devel