[theora] ogg movie out of png pics

Ralph Giles giles at xiph.org
Mon Aug 28 11:38:00 PDT 2006


On Mon, Aug 28, 2006 at 08:24:22PM +0200, All Pebre wrote:

> why > video.log?

That writes the status output to a separate file so you can review it 
later. This is useful if it has to run for a long time and you want to 
see how far it got if it didn't complete. Just leave it off if you don't 
like.

> The line freezes the xterm

You have to run the mplayer and encoder_example lines in separate 
xterms. The idea is that one writes to the fifo, and the other reads 
from it. Since they're both running at once you don't need room for the 
entire uncompressed video, which saves a lot of disk space. The serial 
version looks like:

rm stream.yuv
mplayer -vo yuv4mpeg -o stream.yuv "mf://*.png" -mf type=png:fps=30
(wait while it creates stream.yuv)
encoder_example -o output.ogg stream.yuv

> and what is encoder_example?

It's a simple example included with the theora source. If you've built 
libtheora from source, they'll be in the examples subdirectory. Ubuntu 
provides them as part of the 'libtheora-bin' package. 

 -r



More information about the theora mailing list