Premium Only Content

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
-
4:58
EEVblog Channel
1 year ago $0.11 earnedeevBLAB 117 - The Youtube Bot Comment Problem
78110 -
LIVE
VINCE
1 hour agoMadness In Portland - Conservatives Arrested? | Episode 139 - 10/03/25
36,361 watching -
LIVE
Nikko Ortiz
33 minutes agoReaction Time.... | Rumble LIVE
100 watching -
1:40:17
Dear America
2 hours agoDem Shutdown Just Gave Trump FULL POWER To Slash The Government!!! + TPUSA Speaks Out!
71.2K38 -
LIVE
Badlands Media
12 hours agoBadlands Daily: October 3, 2025
3,953 watching -
LIVE
Viss
33 minutes ago🔴LIVE - The Tactics You Need To Dominate The Battleground - PUBG 101
50 watching -
LIVE
iCkEdMeL
1 hour agoChicago Erupts in ICE Protest as Diddy Faces Judge’s Hammer
130 watching -
1:01:12
Crypto Power Hour
2 hours ago $0.20 earned#1 AI Driven BTC & ETH Crypto Trading Platform w/ Max Pace
3.87K7 -
1:01:13
Chad Prather
13 hours agoWhen God Delays: Trusting Jesus in the Waiting Room of Life
50.3K31 -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/3/25
2,656 watching