Closed blitz-research closed 7 years ago
eh, I guess you can simply discard frames and get only the audio, but the CPU would still process frames and spend resources doing it. We could add a flag to the video clip to have it not decode the video stream, but that might not work on MP4 or WebM, not sure.
also, why would you need this anyway? In your use case, you can just keep the audio file separate and use it to do a/v sync for video playback, and when you need audio only, just pipe it through your audio api?
Nah never mind, I don't want video being decoded while I stream music!
I was just thinking that since I'm already using theoraplayer for in game videos, it'd be nice if I could also use it for background music etc, instead of writing my own threaded vorbis decoder etc from scratch.
But that's just crazy talk I guess!
Perhaps use the vorbis decoder like theora player does? It's not a hard interface.
Brian A Lloyd
On Sep 14, 2017, at 7:27 PM, Mark Sibly notifications@github.com wrote:
Closed #28.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
We actually have an audio solution that we internally rather than theoraplayer's implementation. You might find it useful since it's also multiplatform. https://github.com/AprilAndFriends/xal
Hi,
Is it possible to use theoraplayer as an audio player only?
Not such a big deal if it isn't but it would save a me a day or 2 of coding!
Bye, Mark