#!/bin/sh ffmpeg -i "$1" -vf scale=iw/4:ih/4 -sws_flags spline+accurate_rnd+full_chroma_int -c:v mpeg2video -b:v 10000k -y "$1".mpg