In Windows I right-click on an MKV file (or multiple MKV files) and choose Other Options > Send to > Remux.bat and it very quickly creates MP4 files in that same location with the same names.
My question: Is there a way to do this in macOS Ventura by creating a bash file, making it executable and renaming it with .command suffix then right-clicking on an MKV file and pointing to/executing the bash file?
This is the Windows batch file:
@echo off
if [%1]==[] goto :eof
:loop
C:\ffmpeg\bin\ffmpeg -i %1 -c copy -copyts %1.mp4
shift
if not [%1]==[] goto loop
I've run this command from Terminal successfully: ffmpeg -i example.mkv -c copy example.mp4
I don't know much at all about programming but was reading about bash files. I will need help with the creation of a macOS "batch" file with (hopefully) the option to right-click execute.
My question: Is there a way to do this in macOS Ventura by creating a bash file, making it executable and renaming it with .command suffix then right-clicking on an MKV file and pointing to/executing the bash file?
This is the Windows batch file:
@echo off
if [%1]==[] goto :eof
:loop
C:\ffmpeg\bin\ffmpeg -i %1 -c copy -copyts %1.mp4
shift
if not [%1]==[] goto loop
I've run this command from Terminal successfully: ffmpeg -i example.mkv -c copy example.mp4
I don't know much at all about programming but was reading about bash files. I will need help with the creation of a macOS "batch" file with (hopefully) the option to right-click execute.