[MPlayer-DOCS] Mess in mencoder.xml's examples

Torinthiel torinthiel at megapolis.pl
Mon Nov 21 11:13:13 CET 2005


I've found that examples in mencoder.xml (and probably
encoding-guide.xml as well, but I haven't examined it yet) are in a bit
of mess. So:

There are two examples of two-pass encoding. One with copying audio and
one with reencoding it. Can someone tell me why in the first output from
first pass goes to /dev/null and in the second to output.avi? IMHO it
should be /dev/null both. And while we're at it should the /dev/null be
in <replaceable> tags?

First example of mpeg output - the input file is named media.avi instead
of usual input.avi.

Second example of mpeg output (the minimal support one)
output file is x.mpg, should be output.mpg, and there's an ugly
line break between -o and name, while the next line is waay longer. It
goes like this:

mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o \
x.mpg -oac lavc -ovc lavc \
-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 \

While IMHO it should either be:

mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o x.mpg -oac lavc -ovc lavc \
-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 \

or at least

mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o x.mpg \
-oac lavc -ovc lavc \
-lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 \

the PNG encoding example has only mf:// as source, I doubt it will work.
mf://*.png is better.

And there is a mess whether the general layout is
mencoder <input> <options> or mencoder <options> <input>.
Which one is preferred?
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: 0906A2CE fpr: EE3E DFB4 C4D6 E22E 8999  D714 7CEB CDDC 0906 A2CE
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20051121/38dbc076/attachment.pgp>


More information about the MPlayer-DOCS mailing list