OBS and other tools produce video files that are h.264 video and AAC audio in an MKV container. This is useful for a lot of tools, but there are also a lot of things that only work with an MP4 container.
This script will convert a folder of MKV files to MP4 files without doing any transcoding, which makes this LOSSLESS (and quite fast). It also is smart enough not to repeat a conversion that's already complete, meaning you can run it after adding more MKV files and it will not perform rework.
- zsh (default on macOS, common on Linux)
- ffmpeg - tested with
brew install ffmpeg
version on macOS
Tested on macOS, but should work on any *nix with above requirements.