Using HandbrakeCLI and Scripts
Posted: Mon Feb 25, 2019 2:04 am
HandBrake-1.2.2-x86_64-Win_GUI
HandBrakeCLI-1.2.2-win-x86_64
Windows 10 Pro
I'm trying to use a GUI exported custom preset "720p HD Subs.json" with HBCLI and a Script to process my HDHomeRun recorded Tv shows recorded by Plex.
Here's my script I'm trying to test.
"C:\Program Files\Handbrake\HandBrakeCLI.exe" -v -i "%%G" -o "%%~dG%%~pG%%~nG.mkv" --preset-import-file "D:\Plex\720p HD Subs.json" -Z "720p HD Subs"
Full script Below:
https://pastebin.com/pe0m2GJM
-------------------------------
Here's my 720p HD Subs.jason
https://pastebin.com/1eY0vziz
-----------------------------------------------
Here is the error I get when running the CLI for a test with custom preset I created.
"C:\Program Files\Handbrake\HandBrakeCLI.exe" -v -i "D:\Temp\Premier League Soccer (2011) - 2019-02-23 11 30 00 - Leicester City FC vs. Crystal Palace FC.ts" -o "D:\Temp\Premier League Soccer (2011) - 2019-02-23 11 30 00 - Leicester City FC vs. Crystal Palace FC.mkv" --preset-import-file "D:\Plex\720p HD Subs.json" -Z "720p HD Subs"
[19:43:08] hb_parse_filter_settings: Error parsing (0:0)
ERROR: Preset (null): Incorrect value type for key AudioDitherMethod. Converting.
ERROR: Invalid rotate filter settings (0:0)
Failed to initialize job
HandBrake has exited.
Full run in link below:
https://pastebin.com/Xfpwv2La
-------------------------------------------------------
I've been trying to work on this for a few days and haven't had any luck figuring out what's causing the error. HanbrakeCLI and script seem to be pulling in the correct .ts file and executing the "720p HD Subs" and fails. Any help or suggestions would be great. If you need anything else, Please let me know.
https://pastebin.com/tQPTWkPQ
HandBrakeCLI-1.2.2-win-x86_64
Windows 10 Pro
I'm trying to use a GUI exported custom preset "720p HD Subs.json" with HBCLI and a Script to process my HDHomeRun recorded Tv shows recorded by Plex.
Here's my script I'm trying to test.
"C:\Program Files\Handbrake\HandBrakeCLI.exe" -v -i "%%G" -o "%%~dG%%~pG%%~nG.mkv" --preset-import-file "D:\Plex\720p HD Subs.json" -Z "720p HD Subs"
Full script Below:
https://pastebin.com/pe0m2GJM
-------------------------------
Here's my 720p HD Subs.jason
https://pastebin.com/1eY0vziz
-----------------------------------------------
Here is the error I get when running the CLI for a test with custom preset I created.
"C:\Program Files\Handbrake\HandBrakeCLI.exe" -v -i "D:\Temp\Premier League Soccer (2011) - 2019-02-23 11 30 00 - Leicester City FC vs. Crystal Palace FC.ts" -o "D:\Temp\Premier League Soccer (2011) - 2019-02-23 11 30 00 - Leicester City FC vs. Crystal Palace FC.mkv" --preset-import-file "D:\Plex\720p HD Subs.json" -Z "720p HD Subs"
[19:43:08] hb_parse_filter_settings: Error parsing (0:0)
ERROR: Preset (null): Incorrect value type for key AudioDitherMethod. Converting.
ERROR: Invalid rotate filter settings (0:0)
Failed to initialize job
HandBrake has exited.
Full run in link below:
https://pastebin.com/Xfpwv2La
-------------------------------------------------------
I've been trying to work on this for a few days and haven't had any luck figuring out what's causing the error. HanbrakeCLI and script seem to be pulling in the correct .ts file and executing the "720p HD Subs" and fails. Any help or suggestions would be great. If you need anything else, Please let me know.
https://pastebin.com/tQPTWkPQ