Subtitles with "foreign" language only

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
linuxuser
Bright Spark User
Posts: 208
Joined: Fri Jan 06, 2012 7:47 pm

Subtitles with "foreign" language only

Post by linuxuser »

Once I got it work, that subtitles are showed only, when the language is not the default language. But the settings below don't work. Please help me and tell me what is wrong.

Image
Image
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: Subtitles with "foreign" language only

Post by JohnAStebbins »

On the "Subtitle Defaults" tab, you have set "Selection Behavior" to "None". This means no subtitles will be added to your subtitle list by default.
linuxuser
Bright Spark User
Posts: 208
Joined: Fri Jan 06, 2012 7:47 pm

Re: Subtitles with "foreign" language only

Post by linuxuser »

I set it to "First track matching selected languages" as well as ""All tracks matching selected languages" and don't see subtitles. Did I forget anything? The source shows subtitles, when I check this. The words are spoken in Spanish at the beginning, while the audio is set to German.
Last edited by linuxuser on Thu Nov 27, 2014 5:20 pm, edited 1 time in total.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: Subtitles with "foreign" language only

Post by JohnAStebbins »

Need to see a scan log of the source you are attempting to add these subtitles to.
linuxuser
Bright Spark User
Posts: 208
Joined: Fri Jan 06, 2012 7:47 pm

Re: Subtitles with "foreign" language only

Post by linuxuser »

I think I found, what I did wrong. I don't have to set German as subtitle, but "Foreign audio search". I am checking if it works at the moment, subtitles are shown, but I have to wait if no subtitles are shown too, if the actors speak German.
Nevertheless it is confusing to see "pass" at the bottom with crf. Compare Thread "Random, not reproduceable bug (2 pass encoding instead of crf)" - viewtopic.php?f=12&t=31211

Image


[18:24:59] gtkgui: HandBrake svn6559 (2014112601) - Linux x86_64 - https://handbrake.fr
[18:24:59] hb_init: starting libhb thread
[18:24:59] hb_init: starting libhb thread

(ghb:28622): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[18:25:28] CPU:
[18:25:28] - logical processor count: 8
[18:25:28] OpenCL: library not available
[18:25:28] hb_scan: path=/videos/subtitletest.mkv, title_index=0
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/subtitletest.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/subtitletest.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/subtitletest.mkv) failed
[18:25:28] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:25:28] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/videos/subtitletest.mkv':
Duration: 02:00:53.64, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0,000000, end 437,840000
Metadata:
title : Chapter 01
Chapter #0.1: start 437,840000, end 1014,520000
Metadata:
title : Chapter 02
Chapter #0.2: start 1014,520000, end 1853,280000
Metadata:
title : Chapter 03
Chapter #0.3: start 1853,280000, end 2431,520000
Metadata:
title : Chapter 04
Chapter #0.4: start 2431,520000, end 3004,560000
Metadata:
title : Chapter 05
Chapter #0.5: start 3004,560000, end 3770,000000
Metadata:
title : Chapter 06
Chapter #0.6: start 3770,000000, end 4607,200000
Metadata:
title : Chapter 07
Chapter #0.7: start 4607,200000, end 5715,840000
Metadata:
title : Chapter 08
Chapter #0.8: start 5715,840000, end 7253,640000
Metadata:
title : Chapter 09
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 8199 kb/s, 25 fps, 1k tbn, 50 tbc
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Metadata:
title : Surround 5.1
Stream #0.3(ger): Subtitle: dvdsub (default)
[18:25:28] scan: decoding previews for title 1
[18:25:28] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch)
[18:25:28] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:25:28] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/0/4/0, aspect 16:9, PAR 64:45
[18:25:28] libhb: scan thread found 1 valid title(s)
[18:26:26] CPU:
[18:26:26] - logical processor count: 8
[18:26:26] OpenCL: library not available
[18:26:26] hb_scan: path=/videos/subtitletest.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/subtitletest.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /videos/subtitletest.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(/videos/subtitletest.mkv) failed
[18:26:26] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[18:26:26] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/videos/subtitletest.mkv':
Duration: 02:00:53.64, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0,000000, end 437,840000
Metadata:
title : Chapter 01
Chapter #0.1: start 437,840000, end 1014,520000
Metadata:
title : Chapter 02
Chapter #0.2: start 1014,520000, end 1853,280000
Metadata:
title : Chapter 03
Chapter #0.3: start 1853,280000, end 2431,520000
Metadata:
title : Chapter 04
Chapter #0.4: start 2431,520000, end 3004,560000
Metadata:
title : Chapter 05
Chapter #0.5: start 3004,560000, end 3770,000000
Metadata:
title : Chapter 06
Chapter #0.6: start 3770,000000, end 4607,200000
Metadata:
title : Chapter 07
Chapter #0.7: start 4607,200000, end 5715,840000
Metadata:
title : Chapter 08
Chapter #0.8: start 5715,840000, end 7253,640000
Metadata:
title : Chapter 09
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 8199 kb/s, 25 fps, 1k tbn, 50 tbc
Stream #0.1(ger): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Metadata:
title : Surround 5.1
Stream #0.3(ger): Subtitle: dvdsub (default)
[18:26:26] scan: decoding previews for title 1
[18:26:26] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 Deutsch (AC3) (5.1 ch)
[18:26:26] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:26:27] scan: 10 previews, 720x576, 25,000 fps, autocrop = 2/0/4/0, aspect 16:9, PAR 64:45
[18:26:27] libhb: scan thread found 1 valid title(s)
[18:26:29] gtkgui: Modified Custom Preset: DVD
[18:26:29] 2 job(s) to process
[18:26:29] starting job
[18:26:29] yadif thread started for segment 0
[18:26:29] yadif thread started for segment 1
[18:26:29] yadif thread started for segment 2
[18:26:29] yadif thread started for segment 3
[18:26:29] yadif thread started for segment 4
[18:26:29] yadif thread started for segment 5
[18:26:29] yadif thread started for segment 6
[18:26:29] yadif thread started for segment 7
[18:26:29] decomb filter thread started for segment 3
[18:26:29] decomb filter thread started for segment 5
[18:26:29] decomb filter thread started for segment 2
[18:26:29] decomb check thread started for segment 1
[18:26:29] decomb filter thread started for segment 4
[18:26:29] decomb check thread started for segment 4
[18:26:29] decomb filter thread started for segment 1
[18:26:29] mask filter thread started for segment 0
[18:26:29] decomb check thread started for segment 2
[18:26:29] mask filter thread started for segment 4
[18:26:29] decomb check thread started for segment 0
[18:26:29] mask filter thread started for segment 7
[18:26:29] mask erode thread started for segment 1
[18:26:29] mask erode thread started for segment 3
[18:26:29] decomb check thread started for segment 6
[18:26:29] decomb check thread started for segment 7
[18:26:29] decomb filter thread started for segment 7
[18:26:29] mask filter thread started for segment 1
[18:26:29] mask dilate thread started for segment 5
[18:26:29] mask filter thread started for segment 3
[18:26:29] mask filter thread started for segment 5
[18:26:29] mask dilate thread started for segment 7
[18:26:29] mask filter thread started for segment 6
[18:26:29] decomb check thread started for segment 3
[18:26:29] mask erode thread started for segment 0
[18:26:29] decomb filter thread started for segment 6
[18:26:29] mask erode thread started for segment 2
[18:26:29] decomb check thread started for segment 5
[18:26:29] mask erode thread started for segment 4
[18:26:29] mask erode thread started for segment 5
[18:26:29] mask erode thread started for segment 6
[18:26:29] mask erode thread started for segment 7
[18:26:29] mask dilate thread started for segment 0
[18:26:29] mask dilate thread started for segment 1
[18:26:29] mask dilate thread started for segment 2
[18:26:29] mask dilate thread started for segment 3
[18:26:29] mask dilate thread started for segment 4
[18:26:29] mask filter thread started for segment 2
[18:26:29] mask dilate thread started for segment 6
[18:26:29] decomb filter thread started for segment 0
[18:26:29] NLMeans Denoise thread started for segment 0
[18:26:29] NLMeans Denoise thread started for segment 2
[18:26:29] NLMeans Denoise thread started for segment 1
[18:26:29] NLMeans Denoise thread started for segment 4
[18:26:29] NLMeans Denoise thread started for segment 3
[18:26:29] NLMeans Denoise thread started for segment 5
[18:26:29] NLMeans Denoise thread started for segment 6
[18:26:29] NLMeans Denoise thread started for segment 7
[18:26:29] sync: expecting 181341 video frames
[18:26:29] job configuration:
[18:26:29] * source
[18:26:29] + /videos/subtitletest.mkv
[18:26:29] + title 1, chapter(s) 1 to 9
[18:26:29] + container: matroska,webm
[18:26:29] * destination
[18:26:29] + /videos/movies/subtitletest.mkv
[18:26:29] + container: Matroska (libavformat)
[18:26:29] + chapter markers
[18:26:29] * video track
[18:26:29] + decoder: mpeg2video
[18:26:29] + bitrate 8199 kbps
[18:26:29] + filters
[18:26:29] + Decomb (default settings)
[18:26:29] + Framerate Shaper (0:27000000:1080000)
[18:26:29] + frame rate: same as source (around 25,000 fps)
[18:26:29] + Denoise (nlmeans) (default settings)
[18:26:29] + Subtitle renderer (2:0:4:0)
[18:26:29] + Crop and Scale (716:574:2:0:4:0)
[18:26:29] + source: 720 * 576, crop (2/0/4/0): 716 * 574, scale: 716 * 574
[18:26:29] + loose anamorphic
[18:26:29] + storage dimensions: 716 * 574, mod 2
[18:26:29] + pixel aspect ratio: 64 / 45
[18:26:29] + display dimensions: 1018 * 574
[18:26:29] * Foreign Audio Search: Render/Burn-in, Forced Only
[18:26:29] + subtitle, German (track 3, id 0x3) Picture [VOBSUB]
[18:27:17] reader: done. 1 scr changes
[18:27:17] work: average encoding speed for job is 0,000000 fps
[18:27:17] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[18:27:17] render: lost time: 0 (0 frames)
[18:27:17] render: gained time: 0 (0 frames) (0 not accounted for)
[18:27:17] mpeg2video-decoder done: 0 frames, 0 decoder errors, 0 drops
[18:27:17] Subtitle track 3 (id 0x3) 'German': 753 hits (0 forced)
[18:27:17] No candidate detected during subtitle scan
[18:27:17] starting job
[18:27:17] yadif thread started for segment 0
[18:27:17] yadif thread started for segment 1
[18:27:17] yadif thread started for segment 2
[18:27:17] yadif thread started for segment 3
[18:27:17] yadif thread started for segment 4
[18:27:17] yadif thread started for segment 5
[18:27:17] yadif thread started for segment 6
[18:27:17] yadif thread started for segment 7
[18:27:17] decomb filter thread started for segment 0
[18:27:17] decomb filter thread started for segment 1
[18:27:17] decomb filter thread started for segment 2
[18:27:17] decomb filter thread started for segment 3
[18:27:17] decomb filter thread started for segment 4
[18:27:17] decomb filter thread started for segment 5
[18:27:17] decomb filter thread started for segment 7
[18:27:17] decomb filter thread started for segment 6
[18:27:17] decomb check thread started for segment 0
[18:27:17] decomb check thread started for segment 1
[18:27:17] decomb check thread started for segment 2
[18:27:17] decomb check thread started for segment 3
[18:27:17] decomb check thread started for segment 4
[18:27:17] decomb check thread started for segment 5
[18:27:17] decomb check thread started for segment 6
[18:27:17] decomb check thread started for segment 7
[18:27:17] mask filter thread started for segment 0
[18:27:17] mask filter thread started for segment 1
[18:27:17] mask filter thread started for segment 2
[18:27:17] mask filter thread started for segment 3
[18:27:17] mask filter thread started for segment 6
[18:27:17] mask filter thread started for segment 4
[18:27:17] mask filter thread started for segment 5
[18:27:17] mask filter thread started for segment 7
[18:27:17] mask erode thread started for segment 0
[18:27:17] mask erode thread started for segment 1
[18:27:17] mask erode thread started for segment 2
[18:27:17] mask erode thread started for segment 5
[18:27:17] mask erode thread started for segment 3
[18:27:17] mask erode thread started for segment 7
[18:27:17] mask erode thread started for segment 4
[18:27:17] mask dilate thread started for segment 0
[18:27:17] mask erode thread started for segment 6
[18:27:17] mask dilate thread started for segment 1
[18:27:17] mask dilate thread started for segment 3
[18:27:17] mask dilate thread started for segment 2
[18:27:17] mask dilate thread started for segment 5
[18:27:17] mask dilate thread started for segment 6
[18:27:17] mask dilate thread started for segment 7
[18:27:17] mask dilate thread started for segment 4
[18:27:17] NLMeans Denoise thread started for segment 0
[18:27:17] NLMeans Denoise thread started for segment 2
[18:27:17] NLMeans Denoise thread started for segment 3
[18:27:17] NLMeans Denoise thread started for segment 4
[18:27:17] NLMeans Denoise thread started for segment 1
[18:27:17] NLMeans Denoise thread started for segment 6
[18:27:17] NLMeans Denoise thread started for segment 5
[18:27:17] rendersub: no subtitle marked for burn
[18:27:17] NLMeans Denoise thread started for segment 7
[18:27:17] Failure to initialise filter 'Subtitle renderer', disabling
[18:27:17] sync: expecting 181341 video frames
[18:27:17] job configuration:
[18:27:17] * source
[18:27:17] + /videos/subtitletest.mkv
[18:27:17] + title 1, chapter(s) 1 to 9
[18:27:17] + container: matroska,webm
[18:27:17] * destination
[18:27:17] + /videos/movies/subtitletest.mkv
[18:27:17] + container: Matroska (libavformat)
[18:27:17] + chapter markers
[18:27:17] * video track
[18:27:17] + decoder: mpeg2video
[18:27:17] + bitrate 8199 kbps
[18:27:17] + filters
[18:27:17] + Decomb (default settings)
[18:27:17] + Framerate Shaper (0:27000000:1080000)
[18:27:17] + frame rate: same as source (around 25,000 fps)
[18:27:17] + Denoise (nlmeans) (default settings)
[18:27:17] + Crop and Scale (716:574:2:0:4:0)
[18:27:17] + source: 720 * 576, crop (2/0/4/0): 716 * 574, scale: 716 * 574
[18:27:17] + loose anamorphic
[18:27:17] + storage dimensions: 716 * 574, mod 2
[18:27:17] + pixel aspect ratio: 64 / 45
[18:27:17] + display dimensions: 1018 * 574
[18:27:17] + encoder: H.264 (libx264)
[18:27:17] + preset: medium
[18:27:17] + tune: film
[18:27:17] + quality: 20,00 (RF)
[18:27:17] * audio track 1
[18:27:17] + decoder: Deutsch (AC3) (5.1 ch) (track 1, id 0x1)
[18:27:17] + bitrate: 448 kbps, samplerate: 48000 Hz
[18:27:17] + mixdown: Dolby Pro Logic II
[18:27:17] + encoder: AAC (libavcodec)
[18:27:17] + bitrate: 320 kbps, samplerate: 48000 Hz
[18:27:17] * audio track 2
[18:27:17] + decoder: Deutsch (AC3) (5.1 ch) (track 1, id 0x1)
[18:27:17] + bitrate: 448 kbps, samplerate: 48000 Hz
[18:27:17] + mixdown: 5.1 Channels
[18:27:17] + encoder: AC3 (libavcodec)
[18:27:17] + bitrate: 320 kbps, samplerate: 48000 Hz
[18:27:17] reader: first SCR -3600 id 0x0 DTS -3600
[18:27:17] encx264: encoding at constant RF 20,000000
[18:27:17] encx264: unparsed options: deblock=-1,-1:psy-rd=1,00,0,15
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x264 [info]: profile High, level 3.0
linuxuser
Bright Spark User
Posts: 208
Joined: Fri Jan 06, 2012 7:47 pm

Re: Subtitles with "foreign" language only

Post by linuxuser »

Unfortunately I see German subtitles too, when the actors speak German, so German subtitles are shown permanently.

Edit: Now I am totally confused, all the subtitles vanished. I have to pay attention, that the player is not fooling me. It seems to be correct IMHO, that I cannot choose subtitles, when I use "burn in". I will do tests and come back then.
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Subtitles with "foreign" language only

Post by Woodstock »

Welcome to the complex world of subtitles, where how the source disk was constructed and how the player works influence the viewing just as much as how you encode it!
Post Reply