seems Linux Mint 16 and Ubuntu current don't do libx264 with ffmpeg anymore. I have an old script from a few years ago that takes my recordings from Mythtv and converts them to the h264 format.
for file in *mpg
ffmpeg -y -i "$file" -threads 2 -vcodec libx264 -b 1024k -pass 1 -an -f mp4 /dev/null
ffmpeg -y -i "$file" -threads 2 -vcodec libx264 -b 1024k -pass 2 -acodec libvo_aacenc -ab 128k "$file".mp4
That has done me well for some time, but now the libx264 is not installed on my new system. Also, I am seeing they recommend avconv?? How can I get this script working again?