Skip to content

Instantly share code, notes, and snippets.

@aaronfischer
Last active March 16, 2016 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronfischer/ab2e64ddd7588eda3d92 to your computer and use it in GitHub Desktop.
Save aaronfischer/ab2e64ddd7588eda3d92 to your computer and use it in GitHub Desktop.
ffmpeg - re-encode audio into additional stereo track, do not re-encode video
ffmpeg -i "input.mkv" \
-map 0:0 -map 0:1 -map 0:1 \
-c:v copy \
-c:a:0 libfaac -b:a:0 192k -ac 2 \
-c:a:1 copy \
"output.conv.mkv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment