[MEncoder-users] Motion-Compensation Deinterlacer
Jorge Fábregas
jfabregas at onelinkpr.net
Wed May 2 00:48:24 CEST 2007
On Tuesday 01 May 2007 6:10 pm, Guillaume POIRIER wrote:
> Yes, absolutely. If you plan to do multipass, you probably should save
> the filtered output somewhere in a near lossless format.
Arrrgh great point. I was doing multipass! (2 pass). So I guess was wasting
time doing the filters twice! :(
I know what you mean and I plan to use HuffYuv as the intermediate file. I
just don't know how to accomplish this. This my current code (2 pass):
mencoder dvd://4 -chapter 11-11 \
-af volume=9 \
-ffourcc DX50 \
-vf crop=704:480:0:0,yadif=3:1,mcdeint=2:1:10,framestep=2
-oac mp3lame \
-lameopts cbr:br=128 \
-ovc lavc \
-lavcoptsvcodec=mpeg4:lots-of-options:vpass=1 \
-o "/dev/null"
mencoder dvd://4 -chapter 11-11 \
-af volume=9 \
-ffourcc DX50 \
-vf crop=704:480:0:0,yadif=3:1,mcdeint=2:1:10,framestep=2
-oac mp3lame \
-lameopts cbr:br=128 \
-ovc lavc \
-lavcoptsvcodec=mpeg4:lots-of-options:vpass=2 \
-o "/home/jorge/rio.avi"
In order to do what you suggest I guess I obviously need to:
1) change /dev/null to the huffyuv (ffvhuff) file (whatever.avi)
2) change source file on 2nd pass from DVD to the actual huffyuv file
I just don't know how the divx2pass.log is generated on 1st pass (to be read
by 2nd pass) if I'm using different video codecs on the 2 passes?
something like this?
mencoder dvd://4 -chapter 11-11 \
-af volume=9 \
-ffourcc DX50 \
-vf crop=704:480:0:0,yadif=3:1,mcdeint=2:1:10,framestep=2
-oac mp3lame \
-lameopts cbr:br=128 \
-ovc lavc \
-lavcopts vcodec=ffvhuff:vstrict=0:vpass=1 \
-o "/home/jorge/intermediate.avi"
mencoder /home/jorge/intermediate.avi \
-af volume=9 \
-ffourcc DX50 \
-vf crop=704:480:0:0,yadif=3:1,mcdeint=2:1:10,framestep=2
-oac mp3lame \
-lameopts cbr:br=128 \
-ovc lavc \
-lavcoptsvcodec=mpeg4:lots-of-options:vpass=2 \
-o "/home/jorge/rio.avi"
Thanks for the help!
Jorge
More information about the MEncoder-users
mailing list