[MEncoder-users] Is it possible to make Mencoder encode video file DAR(Display Aspect Ratio) same as ffmpeg does?
littlebat
dashing.meng at gmail.com
Thu Dec 13 13:28:14 CET 2012
On Wed, 12 Dec 2012 16:23:16 +0000
Christian Ebert <blacktrash at gmx.net> wrote:
> * littlebat on Wednesday, December 12, 2012 at 20:58:18 +0800
> > 2, Using dsize video filter:
> > /opt/custom/bin/mencoder \
> > -noconfig all \
> > -ovc lavc \
> > -oac pcm \
> > -lavcopts vcodec=mpeg4:vbitrate=256 \
> > -vf harddup,scale=176:144,dsize=4/3 \
> > -of lavf \
> > -ofps 10 \
> > -lavfopts format=mkv \
> > -o "mmm.mkv" \
> > "108.flv" -ss 0 -endpos 10
> >
> > Any idea?
>
> 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.
More information about the MEncoder-users
mailing list