I have some video files that I need to transcode due to compatibility issues. They are currently mkv files with h.264 video and ac3-a52 audio. I want to save an h.264 video, convert the container to m4v and create two audio tracks, one with the original ac3-a52 and one copied from this, but in aac stereo.
I suppose there should be some kind of audio stream conversion command, but I don't know how to match and transcode at the same time. What command should I enter in ffmpeg for this?
Also, what is the difference between ac3 and ac3-a52? Will Apple TV still go through ac3-a52 or does it need to be converted to ac3?
source
share