[MPlayer-dev-eng] Re: [PATCH] dvr-ms fixes for pts, key frame detection and seeking
johnfdonaghy at gmail.com
Wed Feb 7 23:53:46 CET 2007
> you could call repeatedly ds_fill_buffer() until you find the second
> (in this case save the second pts in priv->something),
> then discard all packets (ds_free_packs()) and seek back to the initial
> but is it really necessary if you use -correct-pts?
Unfortunately -correct-pts wont work for dvr-ms files that only contain
timestamps on I-frames, so I'd have to do something like what you've
suggested. If I did do that it would also avoid the need to use -correct-pts
on the dvr-ms files that do contain timestamps on all video frames - because
I'd use the average frametime to calculate the timestamp for all frames in
Isnt it generally better to try to write the demuxer in such a way that the
file can be played without the need for extra options?
More information about the MPlayer-dev-eng