Created
March 28, 2025 19:14
-
-
Save akarapatakis/5d20c4eb983193928008cae020ecaa73 to your computer and use it in GitHub Desktop.
a script that fixes broken mp4s with incomplete/corrupt headers
This file contains hidden or 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 | |
IF NOT EXIST broken-mp4s\NUL mkdir broken-mp4s | |
IF NOT EXIST fixed\NUL mkdir fixed | |
for %%a in ("broken-mp4s\*.mp4") do ffmpeg -i "%%a" -c:v copy -c:a copy "fixed\%%~na.mp4" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment