windows – when using ffmpeg through batch files how can i exclude files/folders
I have a batch file set to compress all of my files due to my previous lack of knowledge and full harddrive. However, since it is running from the base of the harddrive it seems to keep catching my recycle bin even though it is a hidden folder. I really don’t want it to since each file takes about a day to process.
here is the line that compresses the files
@echo off
set "_x=compressed"
for /r %%i in (*.mkv, *.mp4, *.mov) do ffmpeg -i "%%~fi" -map 0:v -vcodec libx265 -crf 24 -map 0:a "%%~dpni%_x%.mp4"
Read more here: Source link
