Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th March 2011, 08:20   #1  |  Link
mocham
Registered User
 
Join Date: Jun 2007
Posts: 48
Soft Subtitles with HandBrakeCLI? How?

I'm trying to figure out what is the difference between HandBrake GUI and HandBrakeCLI in respect to how they encode subtitles. If I use the GUI and don't choose forced, it makes the subtitles as a track in the resulting MP4. If I use CLI, the subtitle is always burned into the MP4. How can I do soft subs with CLI? I'm using 0.9.5.

Here is an example command that I use:

Code:
HandBrakeCLI -f mp4 -e x264 --crop -r -p -q 0.62 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,Auto -B 160,auto -D 1.5,2.5 -d slower -s 1,2,3,4,5 -x ref=2:bframes=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v -i input.iso -o output.mp4

Last edited by mocham; 26th March 2011 at 08:25.
mocham is offline   Reply With Quote
Old 26th March 2011, 19:16   #2  |  Link
JohnAStebbins
Registered User
 
Join Date: Oct 2008
Posts: 114
It's difficult to say exactly what is going wrong without more information. The log output would be useful.

The command line you have give is invalid and doesn't even work with 0.9.5. '-r' requires and arguement. '-p' doesn't exist at all. If I remove those and use the rest of your command line on a dvd iso, it works fine for me.
JohnAStebbins is offline   Reply With Quote
Old 27th March 2011, 09:07   #3  |  Link
mocham
Registered User
 
Join Date: Jun 2007
Posts: 48
Well thanks for responding because it made me investigate a bit further and I discovered that I was actually using 0.9.2 from my /usr/local/bin... With the proper 0.9.5 version in use and the following command everything is working as expected.

Code:
HandBrakeCLI -f mkv -e x264 --crop --strict-anamorphic -q 20 -a 1,1 -E faac,ac3 -6 dpl2,auto -R 48,auto -B 160,auto -D 2,2 -d slower -s 1,2,3,4,5 -x ref=2:bframes=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v -i input.iso -o output.mkv
mocham is offline   Reply With Quote
Reply

Tags
cli, handbrake, subtitles

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.