(sorry for the repost on the issue tracker, I thought the website was down and I could only find the google code page, turns out it just doesn't work on my browser :p )
Hi.
I'm in the process of integrating libtheoraplayer on our engine (Godot Engine, MIT license, source here https://github.com/okamstudio/godot), the problem I'm having is that I'm providing my own TheoraAudioInterface, and it gets instanced, but insertData never gets called. What's the best way to diagnose the problem? As far as I know my video has Vorbis sound and I can hear it with VLC. What's a good tool to tell exactly what codecs I'm using?
I'm using -D_YUV_C and -D__THEORA for the preprocessor (with -D__AVFOUNDATION for ios and -D_ANDROID for android).
For reference, here's the code I'm using:
class TPAudioGodot : public TheoraAudioInterface {
(sorry for the repost on the issue tracker, I thought the website was down and I could only find the google code page, turns out it just doesn't work on my browser :p )
Hi.
I'm in the process of integrating libtheoraplayer on our engine (Godot Engine, MIT license, source here https://github.com/okamstudio/godot), the problem I'm having is that I'm providing my own TheoraAudioInterface, and it gets instanced, but insertData never gets called. What's the best way to diagnose the problem? As far as I know my video has Vorbis sound and I can hear it with VLC. What's a good tool to tell exactly what codecs I'm using?
I'm using -D_YUV_C and -D__THEORA for the preprocessor (with -D__AVFOUNDATION for ios and -D_ANDROID for android).
For reference, here's the code I'm using:
class TPAudioGodot : public TheoraAudioInterface {
public:
};
class TPAudioGodotFactory : public TheoraAudioInterfaceFactory {
public:
TheoraAudioInterface createInstance(TheoraVideoClip owner, int nChannels, int freq) {
};
int VideoStreamTheoraplayer::get_pending_frame_count() const {
};
void VideoStreamTheoraplayer::update(float p_time) {
};
static TPAudioGodotFactory* audio_factory = NULL;
void VideoStreamTheoraplayer::set_file(const String& p_file) {
};
[...]
Thanks!
Ariel.
redirected to google code issue tracker: https://code.google.com/p/libtheoraplayer/issues/detail?id=3