Batch file --> folder
December 18, 2021
12:06 PM
@echo off
REM Removes audio, subtitles, metadata. Only keeps video.
For %%F in  (*.mp4) DO ffmpeg -I "%%~F" -vcodec copy -an "%%~nF (No [file]"
ffmpeg -i [file] -metadata:s:v:0 rotate="180" -codec copy [file]
@echo off
REM Rotate
For %%F in  (*.MOV) DO ffmpeg -i "%%~F" -metadata:s:v:0 rotate="180" -codec copy "%%~nF ([file]"
@echo off

REM Minify

For %%F in  (*.MOV) DO ffmpeg -i "%%~F" -vcodec libx264 -crf 40 -preset slow "%%~nF ([file]"
@echo off

REM Minify

For %%F in  (*.MOV) DO ffmpeg -i "%%~F" -vcodec libx264 -crf 28 -preset slow "%%~nF ([file]"