Am 28.09.2010 19:33, schrieb Jannis Achstetter: > Am 28.09.2010 19:15, schrieb Clément BSsch: >> On Tue, Sep 28, 2010 at 06:49:37PM +0200, Jannis Achstetter wrote: >>>>> When using the "decode audio"-part from the api-example.c on a normal >>>>> MP3-file, I also get "Incorrect frame size"-errors/warnings. >>>>> [...] > Nevermind, I'll read the libavformat-docs/headers and hope to find > something useful there. > ffplay.c is also still there to be read :)
Current status: Decoding works! It was quite a hazzle since I had problems linking libavformat and libavcodec to my C++ (uses Qt4) program. Now I use a combination of ByteIOContext and a custom "read_data"-function to feed my stream to the libavformat, that cuts it down to frames, suitable for the MP3 decoder. Was much searching and reading since there is not much documentation about ByteIOContext. Final result will be open source (of course ;) so other people can take a look at the solution. Thanks for all the help and ideas here! Jannis _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
