commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
MEncoder can create MPEG (MPEG-PS) format output files. Usually, when you are using MPEG-1 or MPEG-2 video, it is because you are encoding for a constrained format such as SVCD, VCD, or DVD.
To change MEncoder's output file format, use the -of mpeg option.
Creating an MPEG-1 file suitable to be played on systems with minimal multimedia support, such as default Windows installs:
mencoder input.avi -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 \
-o output.mpg -oac lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc \
There are 3 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.