Script that takes audio from an MKV file (likely surround sound) and converts to individual M4A files that can be played on Apple devices, keeping the surround sound.
- An single MKV file extracted from a bluray.
- Individual M4A files that maintain surround sound and can be played on Apple devices. (Sadly they can't be imported into Apple Music)
- Install ffmpeg
- Import your blu-ray track using a tool like MakeMKV.
- Edit the script so that the following are set:
Track listing
(name each track)- The
Artist name
- The
Album name
- The
Album year
- Either rename your mkv file to
input.mkv
or edit the input filename in the script. - Run
./script.sh
from the same directly- Note you will need to make it executable first, this can be done with the following commmand:
chmod +x script.sh
- Note you will need to make it executable first, this can be done with the following commmand: