All pastes #425100 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-05 08:01 UTC
rendered paste body
# First pass 

[ -e divx2pass.log ] && rm -f divx2pass.log

mencoder $1 -ovc x264                                       \
    -x264encopts pass=1:turbo=2:bitrate=2000:psnr:ssim:qp=26:qcomp=0.7:partitions=all:8x8dct:me=umh:bframes=3:nob_adapt:b_pyramid:weight_b:t
    -oac copy                                               
    -of rawvideo \
    -vf crop=720:416:0:80                                   \
    -o /video2/title.x264      


# Second pass 

mencoder $1 -ovc x264                                                   \
    -x264encopts pass=2:bitrate=2000:subq=6:frameref=5:psnr:ssim:qp=26:partitions=all:8x8dct:me=umh:bframes=3:b_pyramid:weight_b:threads=aut
    -oac copy \                                                         
    -of rawvideo \
    -vf crop=720:416:0:80                                               \
    -o /video2/${1%.vob}_pass2.avi