#!/bin/sh # def_interlace=1 def_rescale=1 def_subq=1 help(){ cat </dev/null | #y4mtoyuv | head -c 256 #cat | y4mtoyuv | x264 --fps 30000/1001 --sar 4:3 --pass 1 --bitrate 10000 --stats ".stats" --level 4.1 --keyint 14 --min-keyint 2 --ref 2 --mixed-refs --bframes 2 --weightb --direct spatial --deblock -1:-1 --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct $xint_g --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 14475 --vbv-maxrate 24000 --qcomp 0.5 --merange 12 --threads auto --progress --no-psnr --no-ssim --output $base.264 /dev/stdin 1440x1080 --mvrange 511 --aud #mencoder /dev/stdin -nosound $int_f \ # -aspect 16:9 $scale_f \ # -ovc x264 -x264encopts $encopts \ # -of rawvideo -o $base.264