#!/bin/csh
echo pscr_Kickoff_original.avi

mencoder -of rawvideo pscr_Kickoff_original.avi -vf swapuv -o pscr_Kickoff_original422.yuv -nosound -ovc raw

ffmpeg -s 1920x1080  -pix_fmt yuv422p -i SVT_1080p50seg08_original422.yuv -s 1920x1080 -pix_fmt yuv420p pscr_Kickoff_original420.yuv

ffmpeg -s 1920x1080  -i pscr_Kickoff_original420.yuv -s 1280x720 pscr_Kickoff_original420_720.yuv

echo ntia_tulip2e_original.avi

mencoder -of rawvideo ntia_tulip2e_original.avi -vf swapuv -o ntia_tulip2e_original422.yuv -nosound -ovc raw

ffmpeg -s 1920x1080  -pix_fmt yuv422p -i ntia_tulip2e_original422.yuv -s 1920x1080 -pix_fmt yuv420p ntia_tulip2e_original420.yuv

ffmpeg -s 1920x1080  -i ntia_tulip2e_original420.yuv -s 1280x720 ntia_tulip2e_original420_720.yuv
