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
-
49:33
EEVblog Channel
4 months ago $0.03 earnedEEVblog 1699 - µTimer PROJECT Part 1 - The LCD
2523 -
LIVE
Graham Allen
32 minutes agoTrump NUKES Biden’s Entire “Legacy” + Did Cadence Implicate TPUSA In Charlie’s Death?!??
1,871 watching -
UPCOMING
Wendy Bell Radio
4 hours agoTime To Take Out The Trash
2.43K32 -
LIVE
Chad Prather
13 hours agoHow God Turns Pressure Into Purpose
7,773 watching -
LIVE
LFA TV
10 hours agoLIVE & BREAKING NEWS! | WEDNESDAY 12/03/25
3,925 watching -
1:05:24
Crypto Power Hour
11 hours ago $3.50 earnedVanguard Finally! XRP ETF’s
32.1K7 -
13:40
ARFCOM News
17 hours ago $2.06 earnedHis Wife Got Cancer So They Took His Guns + DoJ's 2A Rights Division + Trump Slump Continues
11.6K9 -
13:19
Degenerate Jay
17 hours ago $1.96 earnedThis Fallout: New Vegas Discovery Could Change Everything
12.6K -
33:35
ArturRehi
20 hours agoNERVES OF STEEL - American Fighters Are not Easy to Frighten in Ukraine
12.6K4 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 12/03/2025
236 watching