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
-
6:57
EEVblog Channel
5 months agoPortable Kinetic Molecular Heater SCAM!
173 -
57:20
Kimberly Guilfoyle
1 day agoNOTHING TO BRAGG ABOUT: Sham NY Case Implodes, Live with Jeffrey Clark & Larry Elder | Ep. 127
60.4K70 -
1:12:26
Miss Understood With Rachel Uchitel
22 days agoRudy Giuliani Discusses 9/11, Politics, Today's Turmoil & NYC's Past, Present & Future
14.2K12 -
2:24:35
Price of Reason
13 hours agoDisney MASSIVE Layoffs! Star Trek Franchise REBOOT? Gaming "Journalism" COLLAPSE! W/ Dreadroberts
18.4K2 -
3:23:38
Jerry After Dark
16 hours agoJerry After Dark: Warzone ft. Nickmercs
55.6K2 -
4:12:32
Geeks + Gamers
8 hours agoTuesday Night's Main Event
33.9K4 -
1:57:04
Kim Iversen
7 hours agoWEF’s Klaus Schwab Is Retiring. Who's Next? GOP Bill Gives VA Benefits To IDF Soldiers | Anti-Genocide 2024 Candidate Jill Stein
49.6K145 -
2:21:54
Laura Loomer
8 hours agoEP48: Biden DOJ Authorized FBI Assassination of President Trump as Sham NYC Trial Insanity Continues
58.8K152 -
15:57
Breaking Points
15 hours agoBlinken THREATENS GLOBAL STARVATION In Secret Arab Meeting
42.8K55 -
1:24:20
TheMonicaCrowleyPodcast
14 hours agoThe Monica Crowley Podcast: Liars, Circuses and Bioweapons
39.3K16