Skip to content

Instantly share code, notes, and snippets.

@shinchiro
Created December 19, 2016 06:32
Show Gist options
  • Save shinchiro/57504a960d5c2b95d8c8080e42dc0287 to your computer and use it in GitHub Desktop.
Save shinchiro/57504a960d5c2b95d8c8080e42dc0287 to your computer and use it in GitHub Desktop.
FFmpeg mapping tricks
# Mapping can also be know selecting in ffmpeg.
# http://stackoverflow.com/a/12943003
1. Select only video and audio from mkv .Mux into mp4
ffmpeg -i input.mkv -map 0:v -map 0:a -c copy test.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment