Convert audio on any video to AC-3

Some videos now come with advanced formats that my receiver is too old to play, so I created a small script “toac3.sh” which will convert leaving the video alone.

#!/bin/bash
mv "$1" "$1.bak"
ffmpeg -i "$1.bak" -c:v copy -c:a ac3 "$1"

Leave a Reply

Your email address will not be published. Required fields are marked *