Created
May 16, 2022 21:04
-
-
Save PatHightree/82837e62040a4e40b8853420ba511783 to your computer and use it in GitHub Desktop.
Windows batch script for FFmpeg, transcodes all *.TS files in the current directory 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 | |
setlocal enabledelayedexpansion | |
for %%f in (*.TS) do ( | |
set /p val=<%%f | |
ffmpeg -i %%f -map 0 -c copy %%~nf.mp4 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment