[MPlayer-dev-eng] Millisecond perfect seek.
Uoti Urpala
uoti.urpala at pp1.inet.fi
Tue Feb 10 16:50:23 CET 2009
On Tue, 2009-02-10 at 16:35 +0100, Grigori G wrote:
> Diego Biurrun wrote:
> >> So, my question is, how would I go about implementing such a feature?
> >> Any pointers would be appreciated.
> >
> > Transcode the content to a format that has only keyframes.
> >
>
> Wouldn't it be possible to seek to the keyframe before the wanted frame
> and then decompress but discard all frames inbetween? This can be quite
> slow, but it'd work.
Yes this is a better way to do it in the general case. It is possible to
implement that although there are some problem cases.
> This would also make my mencoder-based transcoding frontend a lot more
> useful. (It's designed for cutting out snippets from video files or
> DVDs. So far it's not very useful for files with keyframes only every 10
> seconds or so)
MEncoder already has something like that (-hr-edl-seek). It's not quite
exact though because of MEncoder's general brokenness (if it works at
all, I haven't tested).
More information about the MPlayer-dev-eng
mailing list