[MEncoder-users] Is it possible to make Mencoder encode video file DAR(Display Aspect Ratio) same as ffmpeg does?

Christian Ebert blacktrash at gmx.net
Thu Dec 13 23:06:50 CET 2012


* littlebat on Thursday, December 13, 2012 at 20:28:14 +0800
> On Wed, 12 Dec 2012 16:23:16 +0000
> Christian Ebert <blacktrash at gmx.net> wrote:
>> afaik dsize takes a size, not a ratio. That's how I did it before
>> switching to ffmpeg (for most purposes):
>> 
>> -noautoexpand -aspect 176/144 \
>> -vf dsize=176:144,scale=176:144,harddup
> 
> No, can't get the required DAR yet. Below is my command line:
> 
> mencoder \
>  -noconfig all \
>  -ovc lavc \
>  -oac pcm \
>  -lavcopts vcodec=mpeg4:vbitrate=256 \
>  -noautoexpand -aspect 4:3 \
>  -vf dsize=4/3,scale=176:144,harddup \
>  -of lavf \
>  -ofps 10 \
>  -lavfopts format=mkv \
>  -o "m.mkv" \
>  "108.flv" -ss 0 -endpos 10
> 
> I need DAR 1.3333(4/3), but the result DAR is 1.2222(176:144). I
> suppose mencoder can't do this work.

As I wrote, try the "real" dSIZE, not ratio:
-vf dsize=176:144,scale=176:144,harddup

-- 
\black\trash movie         _SAME  TIME  SAME  PLACE_
 --->> http://www.blacktrash.org/underdogma/stsp.php
\black\trash audio   _ANOTHER  TIME  ANOTHER  PLACE_
--->> http://www.blacktrash.org/underdogma/atap.html


More information about the MEncoder-users mailing list