[x264-devel] Re: deinterlacing video prior to x264 conversion

Loren Merritt lorenm at u.washington.edu
Tue Oct 11 01:37:44 CEST 2005


On Mon, 10 Oct 2005, Andrew Lynch wrote:

> for file in $*
> do
>  mencoder -ovc x264 -x264encopts pass=1 -nosound -o $file.x264.avi $file
>  mencoder -ovc x264 -x264encopts bitrate=2200:pass=2:8x8dct:i8x8 -vf pp=md
> -oac copy -o $file.x264.avi $file
> done

Always use the same filters (-vf pp=md) in both passes. (The point of 
2pass is to analyse the video and then encode it; that doesn't work if you 
give different videos to each pass.)

Always use the same audio settings (-oac copy) in both passes. (Due to 
weirdnesses in mencoder's A-V sync algorithm.)

It is a good idea to use the same bitrate in both passes.

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list