New
#1
A Powershell Script for HandBrake
Here's the thing. My system is an age-old i3-530 overclocked to 3.5GHz coupled with GTX 1050 2GB. I have around 1.5TB of tutorial videos that I have to encode due to dearth in HDD space. I want to encode the videos while keeping the folder and subfolder structure intact.
Here's the problem though. Since my system is overclocked, I sometimes getwith IFME. And when I run Handbrake GUI, sometimes it stops working. The difference is that in case of IFME, the incomplete file is in aCode:BSODfolder, whereas it's pretty darn hard to differentiate between an incomplete and a complete output of HandBrake.Code:TEMP
Here's what I want to do. I want to run ascript (I'm a Windows 10 x64 user), which will do the following -Code:Powershell
For each .mp4 in given folder:
- Run IFME/Handbrake with proper arguments with output file in a
folderCode:TEMP- Once the encoding completes successfully (maybe use
here?), replace the original file with the encoded one.Code:ERRORLEVEL
Can this be done?