2010/2/16 Alexandre Buisson <[email protected]>

> On Mon, Feb 15, 2010 at 9:17 PM, Arthur <[email protected]> wrote:
>
> > Hello,
> >
> > Does anyone have good suggestions on how to perform frame accurate
> seeking
> > with libav-user and H.264 (x264)?
> >
> > av_seek_frame seems to give something near the timestamp I provided (I
> > guess
> > the nearest keyframe). However, with some MP4 files I cannot determine if
> a
> > decoded frame is a key frame (AVFrame->key_frame is always false). It
> also
> > seems that the AVPacket->pts and AVPacket->dts values seems to vary from
> > file to file. Therefore I don't know how to use them to resolve the exact
> > frame number I am decoding.
> >
> > Is it possible to implement frame accurate seeking with av_seek_frame?
> >
> > Best regards,
> > Arthur
> > _______________________________________________
> > libav-user mailing list
> > [email protected]
> > https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> >
>
>
> Take a look at http://sourceforge.net/projects/ffmpeg-fas/
> and good luck !
>
> --
> Dr. Alexandre Buisson – R&D Team
> Civolution France
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>

Hello,

I took a brief view at that project before. Does it mean that I have to
fully scan the whole video upfront? Is that the only way? How does for
instance VLC resolve this. They probably don't have frame accurate seeking,
but at least give a good illusion...

Best regards,
Arthur
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to