Skip to content

Instantly share code, notes, and snippets.

@mveeneman
Created December 26, 2018 14:54
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 mveeneman/80072081bfbede8dec389c6f8239781c to your computer and use it in GitHub Desktop.
Save mveeneman/80072081bfbede8dec389c6f8239781c to your computer and use it in GitHub Desktop.
Extract video plus single audio from mkv using ffmpeg

This takes video track and second audio track

ffmpeg -i <source>.mkv -map 0:0 -map 0:2 -vcodec copy -acodec copy <destination>.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment