Handbrake

From I Will Fear No Evil
Revision as of 09:24, 4 April 2023 by Chubbard (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Landing page with Handbrake examples

Examples leveraged by ARM

Options: Hardware encoding using Nvidia, all subtitles, all english audio

HandBrakeCLI -i /opt/arm/media/raw/Ghostbusters -o '/tmp/Ghostbusters_2014.mkv' "H.265 NVENC 1080p" --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio 
HandBrakeCLI -i /home/arm/media/raw/Ghostbusters_168012932202 -o /home/arm/media/transcode/unidentified/Ghostbusters (2014)_168012932202/title_2.mkv --preset H.265 NVENC 1080p -t 2 --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio

Options: no hw accell, and multi audio, no subtitles

HandBrakeCLI -i /video -o /video.out --preset "Super HQ 1080p30 Surround" --audio-lang-list eng --all-audio  --audio-copy-mask aac,ac3,eac3,dts,dtshd --audio-fallback ac3

Testing workaround for ARM issues with audio

  • You must call the -Z option
  • Test import file via GUI before using in ARM
sudo HandBrakeCLI -v  -Z "ARM_Test_Preset" --preset-import-file /opt/arm/config/bd_arm_aac_mp3_fixed.json -i ./test_settings -o /home/chubbard/Videos/Second_Test_Settings.mkv