Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM
- setlocal enabledelayedexpansion
- REM Ensure the input and output folders exist
- if not exist "input" mkdir "input"
- if not exist "output" mkdir "output"
- REM Loop through all .webm files in the input folder
- for %%f in ("input\*.webm") do (
- REM Extract the filename without the path and extension
- set "filename=%%~nf"
- REM Run ffmpeg command to change color range and save to output folder
- ffmpeg -i "%%f" -bsf:v vp9_metadata=color_range=tv -c copy "output\!filename!.webm"
- )
- echo Conversion complete!
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement