subtitles / short foreign language segments

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
damtor
Posts: 6
Joined: Tue Nov 11, 2014 10:11 pm

subtitles / short foreign language segments

Post by damtor »

On some DVDs, such as "Million Dollar Arm", there are scenes
where some characters speak some language other than English,
and in those scenes, English subtitles are displayed when
playing the DVD. I see the English subtitles when playing
the DVD on my DVD player, or on my PC using "vlc" as the
player.

When I use HandBrakeCLI to transcode the DVD, and use "vlc"
to play the transcoded file, I don't see any subtitles.

I've tried transoding using these options (because the main
title is 2 and chapter 6 contains a section with subtitles
when the characters are speaking Hindi to each other):

HandBrakeCLI -t 2 -c 6 -i /dev/sr0 -o test.m4v \
--subtitle scan \
--subtitle-force \
--subtitle-burned \
--native-language eng

When I use vlc to play test.m4v, I don't see any subtitles.

How can I get the subtitles to be displayed?

damtor
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: subtitles / short foreign language segments

Post by Woodstock »

Activity log would show what is happening.... But your command line looks like you're not telling handbrake to do include the subtitle... the syntax doesn't look right. Shouldn't it be more like:
--subtitle-forced=1 --subtitle-burn=1
damtor
Posts: 6
Joined: Tue Nov 11, 2014 10:11 pm

Re: subtitles / short foreign language segments

Post by damtor »

I changed the command line as suggested;

here's the activity log: http://pastebin.com/Mg5MHSFg

It does say "No candidate detected during subtitle scan"; I'm guess that's
my problem, but I'm not sure, and if it is, I don't know what else to try.

I only want the subtitles for these foreign language segments.

How can I accomplish that?

damtor
Deleted User 11865

Re: subtitles / short foreign language segments

Post by Deleted User 11865 »

Foreign Audio Search doesn't work with chapters, you need to scan the whole thing for it to be reliable.
damtor
Posts: 6
Joined: Tue Nov 11, 2014 10:11 pm

Re: subtitles / short foreign language segments [SOLVED]

Post by damtor »

Rodeo: Thanks!

Running without the chapters and subtitles appear during playback with
vlc just like I want. Over and out!

damtor
Post Reply