#!/bin/bash infile=$1 outfile=$2 ffmpeg -i $1 -map 0 -c:v libx264 -crf 18 -vf format=yuv420p,scale=1280x720 -c:a copy $2