rendered paste body#!/bin/bash## VTS_01_1.avs is an Avisynth script# loads the mpeg2 video, removes black bars## MPEG2Source("VTS_01_1.d2v")# crop(0,76,720,432)#printf "\n\n vp9 pass1 \n\n"time wine avs2yuv VTS_01_1.avs -o - | vpxenc - -o /dev/null --codec=vp9 -p 2 --pass=1 --fpf=vp9pass.txt -t 4 --good --cpu-used=4 --target-bitrate=1050 --end-usage=vbr --auto-alt-ref=1 --fps=25/1 --lag-in-frames=16 --kf-max-dist=250 --tile-columns=6 --frame-parallel=1 --static-thresh=0printf "\n\n vp9 pass2 \n\n"time wine avs2yuv VTS_01_1.avs -o - | vpxenc - -o vp9.webm --codec=vp9 -p 2 --pass=2 --fpf=vp9pass.txt -t 4 --good --cpu-used=1 --target-bitrate=1050 --end-usage=vbr --auto-alt-ref=1 --fps=25/1 --lag-in-frames=16 --kf-max-dist=250 --tile-columns=6 --frame-parallel=1 --static-thresh=0printf "\n\n x265 pass1 \n\n"time wine avs2yuv VTS_01_1.avs -o - | x265 --preset slow --rdoq-level 1 --merange 16 --no-rect --pass 1 --bitrate 1050 --sar 64:45 --y4m - -o /dev/nullprintf "\n\n x265 pass2 \n\n"time wine avs2yuv VTS_01_1.avs -o - | x265 --preset slow --rdoq-level 1 --merange 16 --no-rect --pass 2 --bitrate 1050 --sar 64:45 --y4m - -o x265.hevcprintf "\n\n vp8 pass1 \n\n"time wine avs2yuv VTS_01_1.avs -o - | vpxenc - -o /dev/null --codec=vp8 -p 2 --pass=1 --fpf=vp8pass.txt -t 4 --good --cpu-used=4 --target-bitrate=1050 --end-usage=vbr --auto-alt-ref=1 --fps=25/1 --lag-in-frames=25 --kf-max-dist=250 --token-parts=2 --static-thresh=0printf "\n\n vp8 pass2 \n\n"time wine avs2yuv VTS_01_1.avs -o - | vpxenc - -o vp8.webm --codec=vp8 -p 2 --pass=2 --fpf=vp8pass.txt -t 4 --good --cpu-used=0 --target-bitrate=1050 --end-usage=vbr --auto-alt-ref=1 --fps=25/1 --lag-in-frames=25 --kf-max-dist=250 --token-parts=2 --static-thresh=0printf "\n\n x264 pass1 \n\n"time wine avs2yuv VTS_01_1.avs -o - | x264 --preset slower --tune film --bframes 5 --pass 1 --bitrate 1050 --sar 64:45 --demuxer y4m -o /dev/null -printf "\n\n x264 pass2 \n\n"time wine avs2yuv VTS_01_1.avs -o - | x264 --preset slower --tune film --bframes 5 --pass 2 --bitrate 1050 --sar 64:45 --demuxer y4m -o x264.mkv -printf "\n\n xvid pass1 \n\n"time wine avs2yuv -raw VTS_01_1.avs -o - | xvid_encraw -w 720 -h 432 -csp i420 -framerate 25 -pass1 -turbo -qtype 1 -metric 1 -masking 2 -par 64:45 -nopacked -progressprintf "\n\n xvid pass2 \n\n"time wine avs2yuv -raw VTS_01_1.avs -o - | xvid_encraw -w 720 -h 432 -csp i420 -framerate 25 -pass2 -bitrate 1050 -vhqmode 4 -bvhq -qtype 1 -metric 1 -masking 2 -par 64:45 -nopacked -progress -o xvid.m4vprintf "\n\n theora pass1 \n\n"time wine avs2yuv VTS_01_1.avs -o - | encoder_example --first-pass theora_pass.log -V 1050 -k 250 -s 64 -S 45 -o /dev/null -printf "\n\n theora pass2 \n\n"time wine avs2yuv VTS_01_1.avs -o - | encoder_example --second-pass theora_pass.log -V 1050 -k 250 -s 64 -S 45 -o theora.ogv -