POV-Ray : Newsgroups : povray.animations : using linux mencoder: making MPG-1? : Re: using linux mencoder: making MPG-1? Server Time
1 Jul 2024 13:45:46 EDT (-0400)
  Re: using linux mencoder: making MPG-1?  
From: Mike C
Date: 16 Aug 2005 13:50:01
Message: <web.4302261de5e94afb44365ed70@news.povray.org>
"Greg M. Johnson" <gregj;-)565### [at] aolcom> wrote:
> thanks but that did not get me a file that would play in windows.
> (Everything plays in Kaffeine).

Use the msmpeg4 LAVC codec.  (This is equivilent to DivX3, which there is a
Windows Codec for.)

You may also want something that looks like this:

mencode "mf://filename-of-scene???.png" -mf fps=30:type=png -o
filename-of-scene.avi -ovc lavc -lavcopts vcodec=msmpeg4

This allows you to use animation files from POV-Ray without renumbering...
just change "???" to the number of digits in your animation (since "?" is a
wildcard for a single digit or letter, as opposed to "*" which is for any
length [including zero]).

Also, do note that mencoder does have a linux version.

For MPG-1, use -lavcopts vcodec=mpeg1video

For JPEGs, use type=jpeg in the -mf line

Note that for some reason, some output codecs crash, whereas others won't.
Feel free to experiment and try everything -- see what comes out best.
When you've got one that comes out, you might want to use Windows Media
Encoder to turn it into a WMV; while proprietary, ATM, mplayer and Windows
Media Player will read the files [among others].

Have fun!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.