[MPlayer-DOCS] Re: [MPlayer-users] Conversion from avi to mpeg2 summary
Guillaume POIRIER
poirierg at gmail.com
Mon Jun 27 14:59:54 CEST 2005
Hi,
On 6/24/05, John Dickinson <john.k.dickinson at gmail.com> wrote:
> I have been working on converting an avi file from a digital camera to
> mpeg2 (playable by windows media player and others(final target an
> SVCD)) for the last week and have had help from several people on
> these lists as well as requests to post the final command line so here
> it is:
>
> mencoder -of mpeg -ovc lavc -lavcopts
> vcodec=mpeg2video:mbd=2:keyint=25:vrc_minrate=600:vbitrate=2500 -oac
> lavc -af lavcresample=44100 -srate 44100 -mpegopts format=mpeg2 in.avi
> -o test.mpg
>
> The real trick seemed to be in getting the sound right.
>
> Without your help it wouldn't have happened. Even though I constantly
> refered to the manpages I lacked the technical background for
> "muxing", resampling, etc. or sufficient knowledge about my taget
> format and its limitations to know what the error messages meant or
> why things wouldn't work.
Here's what I plan to commit to faq.xml [sure, it's not in the form of
a patch, but who cares since I'll be the one who'll commit it :-) ]
Please comment on it if needed.
<qandaentry>
<question><para>
How can I create SVCDs?
</para></question>
<answer><para>
Newer version of MEncoder can directly generate MPEG-2 files that can be
used to create a SVCD and are likely to be played out of the box on all
platforms (for example to share a video from a digital camcorder with
your computer illiterate friends).
<screen>
mencoder -of mpeg -ovc lavc -lavcopts \
vcodec=mpeg2video:mbd=2:keyint=25:vrc_minrate=600:vbitrate=2500 -oac \
lavc -af lavcresample=44100 -srate 44100 -mpegopts format=mpeg2 \
<replaceable>in.avi</replaceable> -o <replaceable>svcd.mpg</replaceable>
</screen>
This will convert the input file <replaceable>in.avi</replaceable> into
the output file <replaceable>svcd.mpg</replaceable>.
</para></answer>
</qandaentry>
Regards,
Guillaume
--
A woman isn't complete without a man.
But where do you find a man - a real man - these
days?
-- Lauren Bacall
My answer: Only at #mplayerdev on the freenode IRC network.
More information about the MPlayer-DOCS
mailing list