[MPlayer-users] Transcoding from one aspect ratio to another
jd1008 at gmail.com
Wed Nov 3 23:06:43 CET 2010
On 11/03/2010 02:53 PM, Rolf Ernst wrote:
>>> I tried -vf-add dscale=1280:800:0,scale=0:0,expand=::::::16
>>> $ mencoder myvid.avi -mf fps=30 -o myvid.mp4 -ovc lavc -lavcopts
>>> vcodec=mpeg4 -vf-add dscale=1280:800:0,scale=0:0,expand=::::::16
>>> MEncoder SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
>>> Option vf-add: dscale doesn't exist.
>>> Exiting... (error parsing command line)
> Are you playing back with mplayer or something odd? If so, just
> specify mencoder inception.avi -vf scale=1280:800 ...
> Forget all the other stuff. It will indeed give you 4:3. I think the
> author assumed that this is what you wanted. 4:3 with borders.
Ok I tried as you suggest:
mencoder next_vid.avi -mf fps=30 -oac lavc -lavcopts abitrate=128 -ovc
lavc -vf scale=1280:800:0 -o next_vid.mp4
PS: it will not run unless I specify -oac and -ovc.
I also do need to downscale the audio bitrate, just to save on file size.
128k is just fine for me.
So, it again produced a 4:3 video.
I used mplayer to play the video.
More information about the MPlayer-users