[Theora-dev] Fix a bug that causes the encoder to spend way to many bits on keyframes

Ivan Popov pin at medic.chalmers.se
Sun Feb 20 00:56:58 PST 2005


On Fri, Feb 18, 2005 at 10:26:08AM -0800, Aaron Colwell wrote:
> What are you using to convert the MPEG stream into YUV4MPEG2?

Sorry, I did not include the script, here is the relevant part:

 ...
mkfifo -m 0600 stream.yuv stream.wav
mplayer -ao pcm -aofile stream.wav -vo null -vc null $AUDIO $SRC &>mplayer-audio.log &
mplayer -vo yuv4mpeg -ao null -nosound $VIDEO $SRC &>mplayer-video.log &
theoraenc $ARGS stream.wav stream.yuv
 ...

"-a arg" (should be irrelevant) and "-V arg" are passed unchanged to theoraenc
via $ARGS, $AUDIO and $VIDEO are empty, $SRC is the original mpeg file.

I attach the script for completeness.

Regards,
--
Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: theora-encoder.gz
Type: application/x-gunzip
Size: 1092 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20050220/56754793/theora-encoder.bin


More information about the Theora-dev mailing list