Created
February 9, 2023 18:34
-
-
Save garygan89/1458ba1d7d5dd0408f2541dff0d0b9e1 to your computer and use it in GitHub Desktop.
Check video for corruption using ffmpeg on Windows
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 | |
set "filtro=%1" | |
if [%filtro%]==[] ( | |
set "filtro=*.mp4" | |
) | |
for /R %%a in (%filtro%) do call :doWork "%%a" | |
PAUSE | |
exit /B | |
:doWork | |
C:\Programs\ffmpeg-20200206-343ccfc-win64-static\bin\ffmpeg.exe -v error -i %1 -f null - > "%~1.log" 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment