[FFmpeg-devel] [PATCH] assdec: non monotone timestamps
Aurelien Jacobs
aurel
Sat Sep 27 17:55:24 CEST 2008
Hi,
When trying to stream copy the attached ASS file with the following command:
ffmpeg -i test.ass -scodec copy test2.ass
I get some "error, non monotone timestamps". They are due to the fact that
this file contains several events with the same pts (this is perfectly
valid ASS). I guess that those events with equal pts should be packed in
the same AVPacket (the same way all the macroblocks from a video frame are
stored in a single packet).
Attached patch just implement this.
Note that the matroska demuxer has the same problem, and I intend to fix
it soon.
Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assdec_samepts.diff
Type: text/x-diff
Size: 1514 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080927/2383f565/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ass
Type: application/octet-stream
Size: 13689 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080927/2383f565/attachment.obj>
More information about the ffmpeg-devel
mailing list