Hard and Soft Subtitles Guide

HandBrake for Windows support
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.
thief
Posts: 4
Joined: Mon Oct 10, 2011 2:07 pm

Re: Hard and Soft Subtitles Guide

Post by thief »

nc guide sir.
i have a question ~ the "burn in" option seems to work with all my other video files but not with one video
and i checked what's their difference and found that it works with text/ssa or text/ass ~ but when i try to hardsub the "video" with the text/utf8 srt file it becomes soft subbed and when i try it with the output mp4 it does not show at all ~ help pls.
Last edited by JohnAStebbins on Wed Nov 23, 2011 11:49 pm, edited 1 time in total.
Reason: removed annoying and pointless bold print
lizard78

Re: Hard and Soft Subtitles Guide

Post by lizard78 »

When i decode a MKV, it seems like the second line of the subtitles dissapears, any ideas?
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Hard and Soft Subtitles Guide

Post by TedJ »

Activity log?
lizard78

Re: Hard and Soft Subtitles Guide

Post by lizard78 »

[Post Removed]
Last edited by s55 on Sat Nov 26, 2011 1:43 pm, edited 1 time in total.
Reason: Rule 3 violation
azvampyre
Posts: 23
Joined: Sun Jan 29, 2012 3:23 pm

Re: Hard and Soft Subtitles Guide

Post by azvampyre »

I'm slowly ripping all my DVD's to a Streaming Media Player attached to my TV, and I noticed when I got to this movie in the R's; nothing I did would imprint the subs into the video. When Hopkin's is speaking to the devil in Italian, it wouldn't show up, but after several tries I decided to look at the VobSub and there were two in English. The second Vobsub was strictly the non English forced subs, so to get it to burn to the screen, I selected that subtitle and checked default and burn in and all went well.
Just an FYI if anyone else is pulling their hair trying to figure out why the forced subs from a DVD is being cut out.
i228
Posts: 2
Joined: Wed Jul 11, 2012 2:17 pm

Re: Hard and Soft Subtitles Guide

Post by i228 »

I'm encoding all my DVD library to a NAS setup in mp4 format streaming via XBMC on ATV2. I have noticed that some movies have the subtitles burned in already (Hulk, Avatar) so if I select Foreign Audio Search then check forced, burn in and default will this create subtitles over subtitles?
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

Yes.
Deleted User 11865

Re: Hard and Soft Subtitles Guide

Post by Deleted User 11865 »

i228 wrote:I have noticed that some movies have the subtitles burned in already (Hulk, Avatar) so if I select Foreign Audio Search then check forced, burn in and default will this create subtitles over subtitles?
No. When the subtitles are already burned in, there is no "forced" subtitle track, thus Foreign Audio Search won't find any and nothing will get burned in.
ThoOom

Re: Hard and Soft Subtitles Guide

Post by ThoOom »

Hi,

I'm still trying to get my subtitles properly encoded from an SRT file...
There is no subtitles displaying in my output video (but I get the subtitle track visible in playing options, thus empty...)

can somebody tell how to properly do it ?

Thomas
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

If you are trying to "BURN IN" SRT subs, this is not supported.

If you are not, you will need to give more details on your target device and LOGS!!!
ThoOom

Re: Hard and Soft Subtitles Guide

Post by ThoOom »

OK,

I don't want 'burned in' sub, only an optional track (closed captioning) I can activate on iPhone/iPad or even VLC

Here is an exemple.
Source my input file is always an mastroska MKV file (merged using mkvmerge from differents source files) which containes a lot of tracks and i expect to have a resulting file with 1 audio tracks and 1 or 2 sub tracks


Source file (Friends.With.Kids.mkv, 2.58GB) :
1 video (h264)
4 audio : AC3(EN), AAC(EN), AC3 (FR), MP3(FR)
6 SRT/TXT sub tracks
1 VOBSUB sub track


I open Handbrake (I'm using 0.9.8 (2012071700) for Windows XP,32b) , drag'n drop the file and choose:
Presets "iPhone 4", Container "MP4 File", unchek 'Large file size"
Audio tab: 1 track (AC3/EN) with all defaults
Subtitles tab : 1 track (first one, english in SRT/TXT) displayed as 'English (UTF8)' with No/No/No (Forced/Burned/Default)
Chapters : I uncheck Create chapter markers (I believe on iPhone/iDevice the chapters are overwrtitting any other 'closed captioning')
then 'Start': it took about 2 hours, the resulting is a m4v file : Friends.with.kids.m4v, 1.1GB


in this output file, I have
1 video track
1 audio track (English, stereo)
1 subtritle track "English" but in VLC or on iPhone, no subtitles are displayed, selected or not

Below is the scan log file

Code: Select all

HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 5.1.2600 Service Pack 3
CPU: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz
Ram: 3318 MB, Screen: 1920x1080
Temp Dir: C:\Documents and Settings\ThoOom\Local Settings\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Documents and Settings\ThoOom\Application Data\HandBrake\HandBrake\0.9.8.4861

-------------------------------------------

 -i "D:\TO DO\Friends.With.Kids.mkv" -t0  --min-duration=10 -v 
[12:58:06] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW i686 - http://handbrake.fr
2 CPUs detected
Opening D:\TO DO\Friends.With.Kids.mkv...
[12:58:06] hb_scan: path=D:\TO DO\Friends.With.Kids.mkv, title_index=0
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening D:\TO DO\Friends.With.Kids.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(D:\TO DO\Friends.With.Kids.mkv) failed (01B6BCB0)
[12:58:06] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[12:58:06] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\TO DO\Friends.With.Kids.mkv':
  Metadata:
    title           : Friends With Kids [2011]
  Duration: 01:47:17.33, start: 0.000000, bitrate: 960 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : VID-x264
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
    Metadata:
      title           : ENG-AC3
    Stream #0.2(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : ENG-AAC
    Stream #0.3(fre): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Metadata:
      title           : FRE-AC3
    Stream #0.4(fre): Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      title           : FRE-MP3
    Stream #0.5(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
    Metadata:
      title           : ENG-SRT
    Stream #0.6(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : EN2-SRT
    Stream #0.7(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : EN3-SRT
    Stream #0.8(fre): Subtitle: dvdsub
    Metadata:
      title           : FRE-SUB
    Stream #0.9(fre): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : FRE-SRT
    Stream #0.10(fre): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : FR2-SRT
    Stream #0.11(spa): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : SPA-SRT
[12:58:06] scan: decoding previews for title 1
[12:58:06] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[12:58:06] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=384000 Francais (AC3) (5.1 ch)
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
[12:58:06] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[12:58:06] scan: title (0) job->width:1280, job->height:720
[12:58:06] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\TO DO\Friends.With.Kids.mkv
  + duration: 01:47:17
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:47:17
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, English (aac) (5.1 ch) (iso639-2: eng)
    + 3, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 384000bps
    + 4, Francais (mp3) (2.0 ch) (iso639-2: fra)
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Text)(UTF-8)
    + 2, English (iso639-2: eng) (Text)(UTF-8)
    + 3, English (iso639-2: eng) (Text)(UTF-8)
    + 4, French (iso639-2: fra) (Bitmap)(VOBSUB)
    + 5, French (iso639-2: fra) (Text)(UTF-8)
    + 6, French (iso639-2: fra) (Text)(UTF-8)
    + 7, Spanish (iso639-2: spa) (Text)(UTF-8)
HandBrake has exited.
and then the log file

Code: Select all

HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 5.1.2600 Service Pack 3
CPU: Intel(R) Core(TM)2 Duo CPU     E8200  @ 2.66GHz
Ram: 3318 MB, Screen: 1920x1080
Temp Dir: C:\Documents and Settings\ThoOom\Local Settings\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Documents and Settings\ThoOom\Application Data\HandBrake\HandBrake\0.9.8.4861

-------------------------------------------

CLI Query:  -i "D:\TO DO\Friends.With.Kids.mkv" -t 1 -c 1 -o "C:\DATA\Movies\iPhone\Friends.with.kids.m4v"  -f mp4 -w 960 --loose-anamorphic  -e x264 -q 20 -r 29.97 --pfr  -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0 --gain=0 --audio-copy-mask none --audio-fallback ffac3 --subtitle 1 --verbose=1
User Query: False

[13:07:28] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW i686 - http://handbrake.fr
2 CPUs detected
Opening D:\TO DO\Friends.With.Kids.mkv...
[13:07:28] hb_scan: path=D:\TO DO\Friends.With.Kids.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening D:\TO DO\Friends.With.Kids.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(D:\TO DO\Friends.With.Kids.mkv) failed (01B6C3E8)
[13:07:28] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:07:28] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\TO DO\Friends.With.Kids.mkv':
  Metadata:
    title           : Friends With Kids [2011]
  Duration: 01:47:17.33, start: 0.000000, bitrate: 960 kb/s
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : VID-x264
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
    Metadata:
      title           : ENG-AC3
    Stream #0.2(eng): Audio: aac, 48000 Hz, 5.1, s16
    Metadata:
      title           : ENG-AAC
    Stream #0.3(fre): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Metadata:
      title           : FRE-AC3
    Stream #0.4(fre): Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      title           : FRE-MP3
    Stream #0.5(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
    Metadata:
      title           : ENG-SRT
    Stream #0.6(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : EN2-SRT
    Stream #0.7(eng): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : EN3-SRT
    Stream #0.8(fre): Subtitle: dvdsub
    Metadata:
      title           : FRE-SUB
    Stream #0.9(fre): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : FRE-SRT
    Stream #0.10(fre): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : FR2-SRT
    Stream #0.11(spa): Subtitle: [0][0][0][0] / 0x0000
    Metadata:
      title           : SPA-SRT
[13:07:28] scan: decoding previews for title 1
[13:07:28] scan: audio 0x1: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[13:07:28] scan: audio 0x3: AC-3, rate=48000Hz, bitrate=384000 Francais (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
[13:07:28] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:07:28] scan: title (0) job->width:1280, job->height:720
[13:07:28] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: D:\TO DO\Friends.With.Kids.mkv
  + duration: 01:47:17
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 01:47:17
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, English (aac) (5.1 ch) (iso639-2: eng)
    + 3, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 384000bps
    + 4, Francais (mp3) (2.0 ch) (iso639-2: fra)
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Text)(UTF-8)
    + 2, English (iso639-2: eng) (Text)(UTF-8)
    + 3, English (iso639-2: eng) (Text)(UTF-8)
    + 4, French (iso639-2: fra) (Bitmap)(VOBSUB)
    + 5, French (iso639-2: fra) (Text)(UTF-8)
    + 6, French (iso639-2: fra) (Text)(UTF-8)
    + 7, Spanish (iso639-2: spa) (Text)(UTF-8)
[13:07:28] 1 job(s) to process
[13:07:28] starting job
[13:07:28] sync: expecting 154341 video frames
[13:07:28] job configuration:
[13:07:28]  * source
[13:07:28]    + D:\TO DO\Friends.With.Kids.mkv
[13:07:28]    + title 1, chapter(s) 1 to 1
[13:07:28]    + container: matroska,webm
[13:07:28]    + data rate: 960 kbps
[13:07:28]  * destination
[13:07:28]    + C:\DATA\Movies\iPhone\Friends.with.kids.m4v
[13:07:28]    + container: MPEG-4 (.mp4 and .m4v)
[13:07:28]  * video track
[13:07:28]    + decoder: h264
[13:07:28]    + frame rate: 23.976 fps -> peak rate limited to 29.970 fps
[13:07:28]    + loose anamorphic
[13:07:28]      + storage dimensions: 1280 * 720 -> 960 * 544, crop 0/0/0/0, mod 0
[13:07:28]      + pixel aspect ratio: 136 / 135
[13:07:28]      + display dimensions: 967 * 544
[13:07:28]    + encoder: H.264 (x264)
[13:07:28]      + quality: 20.00 (RF)
[13:07:28]  * subtitle track 5, English (id 0x5) Text [UTF-8] -> Pass-Through
[13:07:28]  * audio track 1
[13:07:28]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[13:07:28]      + bitrate: 448 kbps, samplerate: 48000 Hz
[13:07:28]    + mixdown: Dolby Pro Logic II
[13:07:28]    + encoder: AAC (faac)
[13:07:28]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:07:28] reader: first SCR 0 id 0x0 DTS 0
[13:07:29] encx264: min-keyint: 24, keyint: 240
[13:07:29] encx264: encoding with stored aspect 136/135
[13:07:29] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=136/135
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 3.1
ERROR: Mismatched Subtitle markup '<i>- Sorry, I must have pressed the wrong...
- Oh, no, no, no.</i>no.</i>.i­8Ò^G~Ís»ïù8`øÃîw7æýI;îï®
?mÅÓîÂ^.ÙY=¸­ø@ˆYþ¬ÖÑ𸸍"b	5Ö(æ!붉hN³œ‹¥W
[15:13:40] reader: done. 1 scr changes
[15:13:41] work: average encoding speed for job is 20.378941 fps
[15:13:41] sync: got 154339 frames, 154341 expected
[15:13:41] h264-decoder done: 154339 frames, 0 decoder errors, 0 drops
[15:13:41] render: 154339 frames output, 0 dropped and 0 duped for CFR/PFR
[15:13:41] render: lost time: 0 (0 frames)
[15:13:41] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1929  Avg QP:15.32  size: 62030  PSNR Mean Y:49.17 U:50.78 V:51.58 Avg:49.64 Global:49.15
x264 [info]: frame P:54351 Avg QP:19.12  size: 12862  PSNR Mean Y:46.19 U:50.00 V:51.76 Avg:47.04 Global:46.34
x264 [info]: frame B:98059 Avg QP:22.41  size:  2441  PSNR Mean Y:45.87 U:49.62 V:50.10 Avg:46.73 Global:46.02
x264 [info]: consecutive B-frames:  7.6% 19.0% 12.6% 60.8%
x264 [info]: mb I  I16..4: 11.8% 61.6% 26.7%
x264 [info]: mb P  I16..4:  2.7%  5.3%  1.1%  P16..4: 38.0% 17.7% 10.0%  0.0%  0.0%    skip:25.0%
x264 [info]: mb B  I16..4:  0.1%  0.2%  0.1%  B16..8: 33.8%  4.4%  0.9%  direct: 1.3%  skip:59.2%  L0:38.4% L1:53.2% BI: 8.3%
x264 [info]: 8x8 transform intra:58.8% inter:72.7%
x264 [info]: coded y,uvDC,uvAC intra: 57.4% 76.7% 49.5% inter: 12.8% 16.4% 1.7%
x264 [info]: i16 v,h,dc,p: 46% 17%  7% 31%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 15% 22%  5%  7%  9%  7%  8%  6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 16% 13%  5%  9% 10%  7%  7%  5%
x264 [info]: i8c dc,h,v,p: 51% 17% 24%  8%
x264 [info]: Weighted P-Frames: Y:0.9% UV:0.4%
x264 [info]: ref P L0: 64.6% 11.3% 16.6%  7.4%  0.0%
x264 [info]: ref B L0: 89.3%  8.9%  1.8%
x264 [info]: ref B L1: 95.4%  4.6%
x264 [info]: SSIM Mean Y:0.9894451 (19.765db)
x264 [info]: PSNR Mean Y:46.025 U:49.770 V:50.701 Avg:46.876 Global:46.162 kb/s:1314.96
[15:13:45] mux: track 0, 154339 frames, 1058006488 bytes, 1314.86 kbps, fifo 4096
[15:13:45] mux: track 1, 301745 frames, 128668088 bytes, 159.91 kbps, fifo 8192
[15:13:45] mux: track 2, 1846 frames, 72086 bytes, 0.09 kbps, fifo 64
[15:13:45] libhb: work result = 0
Encode done!
HandBrake has exited.
and I attach the part of subtitle where Handbrake says there is a problem (I can't see anything wrong):

Code: Select all

1153
00:59:08,253 --> 00:59:10,051
I'll get it. Hello?

1154
00:59:10,505 --> 00:59:12,507
<i>- Sorry, I must have pressed the wrong...
- Oh, no, no, no.</i>

1155
00:59:12,591 --> 00:59:17,597
No, that's me. Hey, Kurt, it's me.
That's just Jason, my friend.

1156
00:59:19,014 --> 00:59:22,359
My baby... Joe's dad, that's just Joe's dad.
ThoOom

Re: Hard and Soft Subtitles Guide

Post by ThoOom »

Hi there,

anybody having informations on the above ?

I still have plenty of movies with subtitles missing half of the text... only after Handbrake encoding...
GadgetGoober
Posts: 1
Joined: Thu Oct 25, 2012 8:42 am

Re: Hard and Soft Subtitles Guide

Post by GadgetGoober »

AnyVideoConverter takes whatever VobSub subtitle stream you select and flattens the sucker into the video so it becomes part of the actual picture (like a watermark) in *.mp4 That's the kind of simplified subtitle treatment I wish I could get out of HandBrake. It's all I really need because I'm just looking to have subtitles for English movies where the characters on-screen are speaking a foreign language. For example, in "The Avengers" where the girl is tied to chair for interrogation/torture, the men are Russian and if you watch the DVD, forced subtitles will appear showing the English translation.

It seems to me that HandBrake does a good job of identifying these foreign language subtitles but will only pass them through unchanged in the form of VobSub images which many players are too stupid to fetch out of an m4v file (i.e. Windows Media Player). Also HandBrake seems to habitually include a SubTitle stream which 'MediaInfo' calls "Apple Text". I don't really know if HandBrake is somehow converting the VobSub subtitle into "Apple Text" or not, but for compatibility's sake, it would be nice to OutPut an *.mp4 container with selected SubTitles flattened into the video. This approach ensures compatibility with any device, since if it can play the video at all, those essential SubTitles as part of the images themselves will unquestionably appear.
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

This feature is already there. It's called "Burnt In"

RTFM!!!!
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Hard and Soft Subtitles Guide

Post by TedJ »

GadgetGoober wrote:Also HandBrake seems to habitually include a SubTitle stream which 'MediaInfo' calls "Apple Text". I don't really know if HandBrake is somehow converting the VobSub subtitle into "Apple Text" or not, but for compatibility's sake, it would be nice to OutPut an *.mp4 container with selected SubTitles flattened into the video.
HandBrake is not converting the vobsubs, you'll find that track is for the embedded chapters.
hallo17
Posts: 5
Joined: Sun Oct 28, 2012 6:05 pm

Re: Hard and Soft Subtitles Guide

Post by hallo17 »

I would like to create a mkv with two audio-tracks and two .srt.
Each subtitle should belong to one of the two audio-tracks, so that they're automatically played with "their" audio-track:

First audio-track - forced subtitle.
Second audio-track - complete subtitle.

Is it possible and if yes, what options do I have to set?
I still don't get the Forced Audio Search / Default / Forced setting.

Thanks in advance.
Deleted User 11865

Re: Hard and Soft Subtitles Guide

Post by Deleted User 11865 »

Not with HandBrake. Maybe you can adjust the flags with mkvmerge GUI after encoding, but it also depends on what your playback device does with these flags.
wormraper
Posts: 4
Joined: Fri Mar 01, 2013 3:32 pm

Re: Hard and Soft Subtitles Guide

Post by wormraper »

ok guys, slight newb to Handbrake here. I got the hand of 99% of it by now but I'm having an issue burning in vob sub files on some anime episodes that I want to play on the ps3 (since ps3 is like the only stinking player that doesn't like soft subs).... I can convert the files just fine and the subs show up but they're uber tiny and they are up in the left hand center of the screen...... here's my encode log and a pic of the result

I read as much as I could and searched a good 10 pages back in forum to see if someone else had this issue so I'm sorry if it's a dupe

http://imageshack.us/f/201/47118947.png

Encode log

Code: Select all

HandBrake svn5274 2013022801
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Ram: 16334 MB, Screen: 1680x1050
Temp Dir: C:\Users\Arucard\AppData\Local\Temp\
Install Dir: C:\Program Files (x86)\Handbrake
Data Dir: C:\Users\Arucard\AppData\Roaming\HandBrake\HandBrake\0.9.8.5265

-------------------------------------------
CLI Query:  -i "E:\Freezing\Freezing 01 Untouchable Queen.mkv" -t 1 --angle 1 -c 1-6 -o "E:\Freezing 01 Untouchable Queen-1.mp4"  -f mp4  -w 1920 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 2 -E faac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ffac3 --subtitle 2 --subtitle-burned=1 --markers="C:\Users\Arucard\AppData\Local\Temp\Freezing 01 Untouchable Queen-1-1-chapters.csv" --x264-preset=veryfast  --x264-profile=main  --h264-level="4.0"  --verbose=1
User Query: False

[00:37:35] hb_init: starting libhb thread
HandBrake svn5274 (2013022801) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening E:\Freezing\Freezing 01 Untouchable Queen.mkv...
[00:37:35] hb_scan: path=E:\Freezing\Freezing 01 Untouchable Queen.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\Freezing\Freezing 01 Untouchable Queen.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening E:\Freezing\Freezing 01 Untouchable Queen.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:1725: nav_get_title_list(E:\Freezing\Freezing 01 Untouchable Queen.mkv) failed (0000000001f86460)
[00:37:35] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[00:37:35] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\Freezing\Freezing 01 Untouchable Queen.mkv':
  Duration: 00:23:41.97, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 74.007267
    Metadata:
      title           : Chapter 1
    Chapter #0.1: start 74.007267, end 163.997167
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 163.997167, end 703.002300
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 703.002300, end 1315.947967
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 1315.947967, end 1405.937867
    Metadata:
      title           : Chapter 5
    Chapter #0.5: start 1405.937867, end 1421.973000
    Metadata:
      title           : Chapter 6
    Stream #0.0(eng): Video: h264 (High 10), yuv420p10le, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, fltp (default)
    Stream #0.2(jpn): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0.3(eng): Subtitle: dvdsub
    Stream #0.4(eng): Subtitle: dvdsub
[00:37:35] scan: decoding previews for title 1
[00:37:35] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=192000 Japanese (AC3) (2.0 ch)
Scanning title 1...
Scanning title 1...
[00:37:36] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[00:37:36] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: E:\Freezing\Freezing 01 Untouchable Queen.mkv
  + duration: 00:23:41
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:14
    + 2: cells 0->0, 0 blocks, duration 00:01:30
    + 3: cells 0->0, 0 blocks, duration 00:08:59
    + 4: cells 0->0, 0 blocks, duration 00:10:13
    + 5: cells 0->0, 0 blocks, duration 00:01:30
    + 6: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, English (aac) (2.0 ch) (iso639-2: eng)
    + 2, Japanese (AC3) (2.0 ch) (iso639-2: jpn), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, English (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\Arucard\AppData\Local\Temp\Freezing 01 Untouchable Queen-1-1-chapters.csv
[00:37:36] 1 job(s) to process
[00:37:36] starting job
[00:37:36] work: sanitizing track 1 mixdown Dolby Pro Logic II to Stereo
[00:37:36] sync: expecting 34093 video frames
[00:37:36] job configuration:
[00:37:36]  * source
[00:37:36]    + E:\Freezing\Freezing 01 Untouchable Queen.mkv
[00:37:36]    + title 1, chapter(s) 1 to 6
[00:37:36]    + container: matroska,webm
[00:37:36]  * destination
[00:37:36]    + E:\Freezing 01 Untouchable Queen-1.mp4
[00:37:36]    + container: MPEG-4 (.mp4 and .m4v)
[00:37:36]      + chapter markers
[00:37:36]  * video track
[00:37:36]    + decoder: h264
[00:37:36]    + frame rate: same as source (around 23.976 fps)
[00:37:36]    + filters
[00:37:36]      + Framerate Shaper (0:27000000:1126125)
[00:37:36]        + frame rate: same as source (around 23.976 fps)
[00:37:36]      + Subtitle renderer (0:0:0:0)
[00:37:36]      + Crop and Scale (1920:1080:0:0:0:0)
[00:37:36]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[00:37:36]    + loose anamorphic
[00:37:36]      + storage dimensions: 1920 * 1080, mod 2
[00:37:36]      + pixel aspect ratio: 1 / 1
[00:37:36]      + display dimensions: 1920 * 1080
[00:37:36]    + encoder: H.264 (x264)
[00:37:36]      + x264 preset: veryfast
[00:37:36]      + h264 profile: main
[00:37:36]      + h264 level: 4.0
[00:37:36]      + quality: 20.00 (RF)
[00:37:36]  * subtitle track 1, English (track 4, id 0x4) Picture [VOBSUB] -> Render/Burn-in
[00:37:36]  * audio track 1
[00:37:36]    + decoder: Japanese (AC3) (2.0 ch) (track 2, id 0x2)
[00:37:36]      + bitrate: 192 kbps, samplerate: 48000 Hz
[00:37:36]    + mixdown: Stereo
[00:37:36]    + encoder: AAC (faac)
[00:37:36]      + bitrate: 160 kbps, samplerate: 48000 Hz
[00:37:36] reader: first SCR 0 id 0x0 DTS 0
[00:37:36] encx264: min-keyint: 24, keyint: 240
[00:37:36] encx264: encoding with stored aspect 1/1
[00:37:36] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[00:37:54] h264: "Chapter 2" (2) at frame 1784 time 6666660
[00:38:20] h264: "Chapter 3" (3) at frame 3941 time 14763510
[00:40:39] h264: "Chapter 4" (4) at frame 16867 time 63284490
[00:43:21] h264: "Chapter 5" (5) at frame 31560 time 118438290
[00:43:47] h264: "Chapter 6" (6) at frame 33717 time 126535140
[00:43:50] reader: done. 1 scr changes
[00:43:50] work: average encoding speed for job is 90.863335 fps
[00:43:51] sync: got 34079 frames, 34093 expected
[00:43:51] render: lost time: 0 (0 frames)
[00:43:51] render: gained time: 0 (0 frames) (0 not accounted for)
[00:43:51] h264-decoder done: 34079 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1068  Avg QP:16.02  size: 71002  PSNR Mean Y:51.05 U:53.49 V:53.47 Avg:51.59 Global:50.87
x264 [info]: frame P:19253 Avg QP:18.87  size: 25154  PSNR Mean Y:47.88 U:51.51 V:51.48 Avg:48.72 Global:47.86
x264 [info]: frame B:13758 Avg QP:19.73  size:  4194  PSNR Mean Y:47.48 U:51.34 V:51.30 Avg:48.35 Global:47.26
x264 [info]: consecutive B-frames: 39.7% 18.1%  4.0% 38.2%
x264 [info]: mb I  I16..4: 58.0%  0.0% 42.0%
x264 [info]: mb P  I16..4: 22.1%  0.0%  4.3%  P16..4: 19.6%  8.9%  3.7%  0.0%  0.0%    skip:41.5%
x264 [info]: mb B  I16..4:  1.0%  0.0%  0.2%  B16..8:  8.2%  2.0%  0.3%  direct: 3.8%  skip:84.6%  L0:40.3% L1:48.1% BI:11.6%
x264 [info]: coded y,uvDC,uvAC intra: 22.6% 36.5% 7.6% inter: 6.2% 10.3% 0.6%
x264 [info]: i16 v,h,dc,p: 52% 25% 12% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 19% 23%  5%  4%  4%  3%  4%  3%
x264 [info]: i8c dc,h,v,p: 63% 18% 17%  3%
x264 [info]: Weighted P-Frames: Y:3.9% UV:3.2%
x264 [info]: SSIM Mean Y:0.9923809 (21.181db)
x264 [info]: PSNR Mean Y:47.821 U:51.502 V:51.473 Avg:48.659 Global:47.676 kb/s:3477.32
[00:43:51] mux: track 0, 34079 frames, 617802036 bytes, 3475.77 kbps, fifo 2048
[00:43:51] mux: track 1, 66655 frames, 28310027 bytes, 159.27 kbps, fifo 4096
[00:43:51] libhb: work result = 0
Encode done!
HandBrake has exited.
Last edited by wormraper on Sat Mar 02, 2013 11:30 pm, edited 2 times in total.
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: Hard and Soft Subtitles Guide

Post by Smithcraft »

Burned in means that they are part of the image, and that they will not be selectable.

SC
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

And you can use "Subtitle Edit" to see what the original looks like.
wormraper
Posts: 4
Joined: Fri Mar 01, 2013 3:32 pm

Re: Hard and Soft Subtitles Guide

Post by wormraper »

Smithcraft wrote:Burned in means that they are part of the image, and that they will not be selectable.

SC
sorry if I didn't make myself clear, yeah I know that they are perma burned in, my problem is that when I play the file with vobsub selectables, the subtitles look normal and show up in the proper place, but when I burn them in with handbrake they show up uber tiny and on the upper left hand corner of the screen (as the picture shows) I'm trying to get them to show up normal size and centered at the bottom like they normally do
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

What is the original resolution of the MKV? MediaInfo will tell you.
wormraper
Posts: 4
Joined: Fri Mar 01, 2013 3:32 pm

Re: Hard and Soft Subtitles Guide

Post by wormraper »

GregiBoy wrote:What is the original resolution of the MKV? MediaInfo will tell you.
1920x1080 on the nose
GregiBoy
Veteran User
Posts: 908
Joined: Sat Feb 12, 2011 9:23 pm

Re: Hard and Soft Subtitles Guide

Post by GregiBoy »

I suspect that the original VOBSUBS are composed for SD not HD.

I would inspect them with "Subtitle Edit" and try to track it down.
wormraper
Posts: 4
Joined: Fri Mar 01, 2013 3:32 pm

Re: Hard and Soft Subtitles Guide

Post by wormraper »

GregiBoy wrote:I suspect that the original VOBSUBS are composed for SD not HD.

I would inspect them with "Subtitle Edit" and try to track it down.
most likely, you can tell that they look "blown up" on the original MKV (and the blu-ray) with jagged edges. is subtitle edit a feature within handbrake or an external program???? If it's withing handbrake I'm not seeing it
Post Reply