Skip to content

Instantly share code, notes, and snippets.

@derpeter
Last active October 22, 2017 09:41
Show Gist options
  • Save derpeter/306452b1b6a8c569690a43de49145d8b to your computer and use it in GitHub Desktop.
Save derpeter/306452b1b6a8c569690a43de49145d8b to your computer and use it in GitHub Desktop.
reencode unsupported audio codec to a second audio track
ffmpeg -y -i in.mkv -map 0:v -c:v copy -map 0:a:0 -c:a:0 copy -map 0:a:0 -c:a:0 ac3 out.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment