for i in `find /home/media/pitch -name '*.webm'`
do
        FILE=${i%.*}.mp4
        if test -f "$FILE"; then
                echo "$FILE exists."
        else
                ffmpeg -i $i -crf 17 -c:v libx264 $FILE
        fi
done
