My Automated Handbrake Batch File Script
How my automated Handbrake batch file works for transcoding all my original RAW video files using the RTX2060 GPU in H.265 format.
I'm using this to transcode 10's of thousands of raw camera video files.
CODE:
@echo off
REM Loop through each argument (dragged item)
:loop
if "%~1"=="" goto end
REM Create a directory for the current item
mkdir "D:\video\temp\%~n1"
FOR /F "tokens=*" %%G IN ('DIR "%~1" /B /S /A:-d') do (
FOR /F "tokens=*" %%H IN ('DIR "%%G" /B /A:-d') do (
"C:\Program Files\Handbrake\HandBrakeCLI" -i "%%G" --optimize -o "D:\video\temp\%~n1\%%~nH.mp4" -e nvenc_h265 -q 26 --cfr --aencoder av_aac --verbose=1
)
)
REM Shift arguments to process the next item
shift
goto loop
:end
pause
END CODE
If you find my videos useful you may consider supporting the EEVblog on Patreon: http://www.patreon.com/eevblog
Web Site: http://www.eevblog.com
Main Channel: http://www.youtube.com/EEVblog
EEVdiscover: https://www.youtube.com/eevdiscover
AliExpress Affiliate: http://s.click.aliexpress.com/e/c2LRpe8g
Buy anything through that link and Dave gets a commission at no cost to you.
T-Shirts: http://teespring.com/stores/eevblog
#ElectronicsCreators #Handbrake #GPU
-
15:57
Campbell's Code
1 year agoCREATE BATCH PROGRAM to SYNC FILES EASILY
10 -
14:04
Shane Welcher
3 years ago $0.01 earnedFactoryTalk View Studio Site Edition | Startup Macro For An FTView HMI Client | Batching PLC Day-15
19 -
11:36
Shane Welcher
3 years agoCreating A Studio 5000 PLC Program From Scratch | Batching Station PLC Programming | Day 1
3 -
6:09
Shane Welcher
3 years agoStudio 5000 PLC Program | Build A Temporary Simulation Routine -Why? | Batching PLC Day-22
5 -
11:53
Shane Welcher
3 years agoStarting a FactoryTalk View Studio Site Edition HMI Application | Batching Station PLC | Day 4
7 -
15:17
theAutomator
1 year agoLearn to Automate your PC with AutoHotkeyV2
5 -
11:53
Shane Welcher
3 years agoStarting a FactoryTalk View Studio Site Edition HMI Application | Batching Station PLC | Day 4
73 -
13:49
JohnBolduan
1 year agoHandbrake DVD ripper, using it on my Linux Mint 21.1 system.
181 -
16:19
NathanCollins
2 years agoBatch Photo Editing - PhotoScape X Tutorial
2 -
21:10
Shane Welcher
3 years agoPowerflex 525 Step Logic For Batching Using Studio 5000 Version 32 With Hardwired Inputs
14