Page 1 of 1

HandBrakeCLI: Read preset from JSON file

Posted: Tue Aug 27, 2019 10:23 am
by Arboriculteur
Description of problem or question:
As HandBrake allows the export of user defined presets as a JSON file, it would be great if one could set the detailled CLI options by something like that:

--preset_file "C:\HandBrake\myownpreset.json"

Steps to reproduce the problem (If Applicable):
No problem - just a suggestion

HandBrake version (e.g., 1.0.0):
1.2.2

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Enterprise

HandBrake Activity Log ***required***
Not provided as this posting contains only a suggestion

Kind regards,
Franz

Re: HandBrakeCLI: Read preset from JSON file

Posted: Tue Aug 27, 2019 12:59 pm
by Woodstock
You don't have to export-then-import them...

--preset-import-gui Import presets from GUI config preset file.

But you can:

--preset-import-file <filespec> Import presets from a json preset file. 'filespec' may be a list of files separated by spaces, or it may use shell wildcards.

Re: HandBrakeCLI: Read preset from JSON file

Posted: Tue Sep 03, 2019 9:02 am
by Arboriculteur
Hello, Woodstock,

thanks a lot for your assistance and my apology for not doing my homework carefully enough before posting: I overlooked it in the --help command and as the link https://handbrake.fr/docs/de/1.2.0/cli/ ... rence.html is a dead link, it took me some time to think "If the link for German doesn't work, let's try the one for English", which, of course works.

Kind regards,

Franz

Re: HandBrakeCLI: Read preset from JSON file

Posted: Tue Sep 03, 2019 9:46 pm
by BradleyS
This is the working link: https://handbrake.fr/docs/de/1.2.0/cli/ ... rence.html

I'll try to find and fix wherever it is broken. Thanks.

Re: HandBrakeCLI: Read preset from JSON file

Posted: Wed Sep 11, 2019 2:02 pm
by BradleyS
Broken url fixed in https://github.com/HandBrake/HandBrake- ... 3195dac3a9

This will go live the next time the documentation is published.