Hi
I would like to ask the same question in a more generic fashion:
Can someone explain which sequence is followed by libavformat when making
consecutive calls to av_read_frame() ?
Is there a concept of "frame index" within an AVStream? How to pick a frame
given its index? How to compute the frame count of a given stream when
nb_frame==0 ?
Regards,
Cyril



2009/3/3 Larbi Joubala <[email protected]>

> hello,
>
>    I have a problem when I seek with a wmv file. the problem is the
> following:
>    When I call the method to seek (av_seek_frame) to a null timestamp
> (0) and then call the method to read a frame (av_read_frame), I didn't
> have the same result than when I just call "av_read_frame" whereas it
> should be the same result i.e. the method "av_read_frame" should return
> me the first sample but like I have just said it is not the case.
>    What am I doing wrong? Is this issue already known?
> --
> -------------------------------------
> *Larbi Joubala
> * ingenieur développement logiciel
> *Resonate mp4
> * 29 rue Miguel Hidalgo 75019 Paris
> Tel: 01.42.41.16.65
> Fax: 01.42.45.47.18
> -------------------------------------
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to