defaut subtitle setting in Advanced Options script or CLI

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
ripmurdock
Posts: 3
Joined: Sun Jul 03, 2022 11:16 pm

defaut subtitle setting in Advanced Options script or CLI

Post by ripmurdock »

Description of problem or question:

Is it possible to set the first "English" subtitle to default in Advance Options script field?

Or if not, in the CLI batch file?


Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):

1.5.1


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

Windows 10 64bit


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
ripmurdock
Posts: 3
Joined: Sun Jul 03, 2022 11:16 pm

Re: defaut subtitle setting in Advanced Options script or CLI

Post by ripmurdock »

for /R "D:\1.1 - DVD Compress - English\" %%F in (*.mkv) do (
"C:\Program Files\HandBrake\HandBrakeCLI.exe" --preset-import-gui -Z "English MKV RF 20 x265 Slow" -i "%%~fF" -o "%%~dpF%%~nF x265 RF 20.mkv"
if exist "%%~dpF%%~nF x265 RF 20.mkv" (
del "%%~fF"
ren "%%~dpF%%~nF x265 RF 20.mkv" "%%~dpF%%~nF x265 RF 20.mkv"
)
)
for /R "D:\1.2 - DVD Compress - Foreign\" %%F in (*.mkv) do (
"C:\Program Files\HandBrake\HandBrakeCLI.exe" --preset-import-gui -Z "Foreign MKV RF 20 x265 Slow" -i "%%~fF" -o "%%~dpF%%~nF x265 RF 20.mkv"
if exist "%%~dpF%%~nF x265 RF 20.mkv" (
del "%%~fF"
ren "%%~dpF%%~nF x265 RF 20.mkv" "%%~dpF%%~nF x265 RF 20.mkv"
)
)
for /R "D:\2.1 - Blu-ray Compress - English\" %%F in (*.mkv) do (
"C:\Program Files\HandBrake\HandBrakeCLI.exe" --preset-import-gui -Z "English MKV RF 22 x265 Slow" -i "%%~fF" -o "%%~dpF%%~nF x265 RF 20.mkv"
if exist "%%~dpF%%~nF x265 RF 20.mkv" (
del "%%~fF"
ren "%%~dpF%%~nF x265 RF 20.mkv" "%%~dpF%%~nF x265 RF 20.mkv"
)
)
for /R "D:\2.2 - Blu-ray Compress - Foreign\" %%F in (*.mkv) do (
"C:\Program Files\HandBrake\HandBrakeCLI.exe" --preset-import-gui -Z "Foreign MKV RF 22 x265 Slow" -i "%%~fF" -o "%%~dpF%%~nF x265 RF 20.mkv"
if exist "%%~dpF%%~nF x265 RF 20.mkv" (
del "%%~fF"
ren "%%~dpF%%~nF x265 RF 20.mkv" "%%~dpF%%~nF x265 RF 20.mkv"
)
)
Post Reply