[MPlayer-dev-eng] [PATCH] vorbis encoder

Nico Sabbi nicola_sabbi at fastwebnet.it
Sat Jan 28 15:45:55 CET 2006


Hi,
this patch permits to encode audio streams with vorbis using mencoder.

Problems:
- vorbis doesn't fit mencoder's model (especially don't even try to mux 
to avi)
- I had to minimally patch mencoder to mux 0-bytes audio frames when 
necessary
- it uses floats and it's slow as hell (~50 fps)
- there's an option -vorbisopts :ogg to output ogg packets (instead of 
vorbis ones)
to be used with -rawaudio

The output stream is somewhat usable when muxing to nut via lavf.

This encoder is disabled by default and can be compiled in using
./configure --disable-internal-tremor --enable-vorbisenc

I'm posting the patch hoping that someone can make it work better than I 
did;
I'm tired of seeing this foreigner in my mplayer tree.

    Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ae_vorbis3.diff
Type: text/x-patch
Size: 18462 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060128/c8abf032/attachment.bin>


More information about the MPlayer-dev-eng mailing list