Last active
October 21, 2020 14:25
-
-
Save aheil/7469d73424a6f46a6e7d7ba53f054977 to your computer and use it in GitHub Desktop.
Remux all MK4 fileks in a folder to MP4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for /f "delims=" %%f in ('dir /b /a-d-h-s') do ( | |
if "%%~xf" == ".mkv" ( | |
if not exist "%cd%\%%~nf.mp4" ( | |
ffmpeg -i "%cd%\%%f" -c copy -map 0 "%cd%\%%~nf.mp4" | |
) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perfect, exactly what I needed