Hello everybody.

Firstly: I am new on mailing-list and FFmpeg, so be patient.
Second: English is far to become my native language. :-[

So what is my problem?
Simply I want to seek to the beginning of my sound file when there is no 
longer data to read.
To understand what I mean, I am using FFmpeg with OpenAL and  when I 
have a loop sound stream which is ended, I must restart at the beginning 
of the sound file to decode frames with FFmpeg. But actually I do not 
know how to do that.

I have seen on the API documentation the function:  av_seek_frame() , 
but I am not sure whether it is the good way to do that. (it does not 
work for me)
If you have a sample of code...

Thanks in advance. I hope I am easy to understand.
_______________________________________________
libav-user mailing list
libav-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to