Advertisement
Guest User

converter.bat

a guest
Aug 9th, 2024
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. @echo off
  2. REM
  3. setlocal enabledelayedexpansion
  4.  
  5. REM Ensure the input and output folders exist
  6. if not exist "input" mkdir "input"
  7. if not exist "output" mkdir "output"
  8.  
  9. REM Loop through all .webm files in the input folder
  10. for %%f in ("input\*.webm") do (
  11. REM Extract the filename without the path and extension
  12. set "filename=%%~nf"
  13.  
  14. REM Run ffmpeg command to change color range and save to output folder
  15. ffmpeg -i "%%f" -bsf:v vp9_metadata=color_range=tv -c copy "output\!filename!.webm"
  16. )
  17.  
  18. echo Conversion complete!
  19. pause
  20.  
Tags: ps5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement