How to convert AVI to WMV by MEncoder
MEncoder could convert any to any with a bit tricky options. The most difficult conversion is to produce Microsoft specific output format, e.g., WMV. Don't worry. The recent version of MEncoder lets us solve this situation very easy.
The options I used here is to specify output format using lavf
.
-of lavf \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
So the most simple command should be as below.
mencoder input.avi \
-of lavf \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \
-ovc lavc \
-lavcopts vcodec=wmv2 \
-oac lavc \
-lavcopts acodec=mp3 \
-o output.wmv
However, it would be better to specify bitrate for both video and audio.
mencoder input.avi \
-of lavf \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \
-ovc lavc \
-lavcopts vcodec=wmv2:vbitrate=100 \
-vf scale=176:144 \
-oac lavc \
-lavcopts acodec=mp3:abitrate=48 \
-o output.wmv
Above command is taken from here.
- sugree's blog
- 20999 reads
have you tested it?
never
It doesnt work.t
Post new comment