ogg, vorbis & theora

Started by
0 comments, last by sunky 16 years, 4 months ago
Hi y'all, I started a thread on this topic last October (thread is now closed). I'm back to the topic again. I'm starting to think there is no library that can play Vorbis & Theora . I wanted to create an animated movie clip for my game and the sound would be encoded in Vorbis, movie frames in Theora, all packed into an Ogg file. The library (I call it a Multimedia library) would have the feature of loading an Ogg file and playing sound only (if the Ogg file has sound only), movie only (if the Ogg file has movie frames only) or both. It would also be responsible for managing multimedia playback (I guess this is a good candidate for multi threading). I made good progress last time and I'm resuming now. Before I spend many hours doing this I wanted to make sure that there is no library I can license that can do this for me. Thanks.
Advertisement
I would look at http://ffmpeg.mplayerhq.hu/, specifically the included libs: libavcodec & libavformat. It could play anything I have thrown at it so far and there are some code examples on the web (starting with ffplay.c included in ffmpeg).

In any case I suggest checking the code (as available) of video players; http://www.videolan.org/vlc/ comes to mind which (according to the website) plays Theora but I don't have any experience with it.

Unless you really want/have to do it yourself I wouldn't start from scratch.

Happy reading!

This topic is closed to new replies.

Advertisement