[Libav-user] Hwo to use libtheora and libvorbis programatically

YIRAN LI mrfun.china at gmail.com
Sun May 12 07:46:43 CEST 2013


Hi friends,

I'v successfully built Ffmpeg with --enable-libtheora --enable-libvorbis, I
know in command line mode, we can specify -vcode libtheora -acodec
libvorbis to use these codecs.

But when I'm using Ffmpeg interface in my application, how can I specify
the codecs I want to use?

Say, if I want to use theora encoder provided by libtheora , I just need to
open corresponding codecid? how about vorbis then? Because Ffmpeg has
native codec support fot vorbis, if I just pass in the codec id, which
codec (native or libvorbis) will be used?

Great thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130512/b5d5fb01/attachment.html>


More information about the Libav-user mailing list