Skip to content

Instantly share code, notes, and snippets.

@victorouttes
Created May 17, 2020 23:59
Show Gist options
  • Save victorouttes/1664558824432fdc9be520d26469f63b to your computer and use it in GitHub Desktop.
Save victorouttes/1664558824432fdc9be520d26469f63b to your computer and use it in GitHub Desktop.
Converter videos mkv para mp4

Instale o pacote ffmpeg e rode, na pasta onde estão os videos *.mkv:

for f in *.mkv; do ffmpeg -i "$f" -c copy -map 0 -c:s mov_text "${f%.mkv}.mp4"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment