I trying to modify one of the presets for the HandBrakeCLI. I wish to use the preset "Matroska/H.264 MKV 1080p30" but I want HandBrake to keep all of the subtitles, which it doesn't if I just use the built in preset. I'm using the CLI as I plan to use it to batch process many .MKV files (once I get it working).
So I exported the preset by using:
Code: Select all
HandBrakeCLI.exe --preset "H.264 MKV 1080p30" --preset-export Jonathans --preset-export-file Jonathans.json
Code: Select all
"SubtitleTrackSelectionBehavior": "none",
Code: Select all
"SubtitleTrackSelectionBehavior": "all",
Code: Select all
HandBrakeCLI.exe --preset-import-file Jonathans.json --verbose -i test.mkv -o test_done.mkv
Code: Select all
Using preset: CLI Default
Code: Select all
HandBrakeCLI.exe --preset-import-file Jonathans.json
Code: Select all
[20:21:57] hb_init: starting libhb thread
[20:21:57] thread 1 started ("libhb")
Missing input device. Run HandBrakeCLI.exe --help for syntax.
Windows 10 Pro x64 (fully patched)
HandBrakeCLI v1.0.7
I am using a test .MKV file called "test.mkv", which has a MPEG-1/2 video track, an AC-3 audio track, VocSub subtitle track and 6 chapters.
If there was any exception or error displayed, please copy it and paste it here:
None
Please include the scan or encode log:
Activity Log: https://pastebin.com/SXvWujsc
Jonathans.json file: https://pastebin.com/guapP65i
Any and all help appreciated.
Jonathan