Hello,
I plan to use libav/ffmpeg as "multi decoder" for a audio player. I starts to
suck to have to use several different interfaces of different audio decoder
libraries. Porting to libav could simplify code and add a few more supported
audio formats.
I need file support and stream support.
For files, I have to open that file first. Then I need to get the play time and
file info (like the ID3 Tag of a MP3 file). After that I would implement a loop
calling "some function" until the file end is reached. I have to get PCM data to
forward this to my output code. What I also need is some way to seek. For
example I want to be able to tell libav "go 20 seconds forward or backward". Oh,
and of course I need the current playtime while playing data in my loop.
For streams, I want to forward this in parts to "some API function". At that
time I don't know in which format the stream is sent. Anything, I want in
return, is the PCM data.
Problem is, that I don't know where to start searching or if libav can solve my
problem at all...
Thank you very much in advance for any help
Yours
Manuel
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api