문제

I want to decode some audio streams in the format ogg/vorbis. I already found an example of MP3 and MP2 decoding here: http://ffmpeg.org/doxygen/trunk/decoding__encoding_8c-source.html at line 236. But this code doesn't work for files in the format ogg/vorbis. I only want the raw data, so the decoding from ogg/vorbis into raw data, but i don't find anything. Anyone here with help?

도움이 되었습니까?

해결책

mp3 does not require demuxing. oog does. You muse demux using something like avformat av_read_packet(). The dranger.com tutorial is probably a good place to start.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top