Subtitle line break flags

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.
Post Reply
BamaLama
Posts: 1
Joined: Wed Dec 06, 2017 2:03 am

Subtitle line break flags

Post by BamaLama »

Newbie here. I have figured out most settings for my needs but I am stuck on subtitles. After formatting using Handbrake my Blu Ray player, an Oppo BDP-83 reads the line break flag "\N" as text and shows it in the subtitles. Several software players I use don't show the \N but my stand alone player does. What settings should I use to fix this or can it be corrected?
Windows 10
Handbrake 1.0.7

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
Ram: 12285 MB,
GPU Information:
NVIDIA Quadro FX 4800 - 21.21.13.4201
Screen: 2560x1600
Temp Dir: C:\Users\David\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\David\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[18:22:04] hb_init: starting libhb thread
[18:22:04] 1 job(s) to process
[18:22:04] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 384,
"DRC": 0.0,
"Encoder": 2048,
"Gain": 0.0,
"Mixdown": 7,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Previously On"
},
{
"Name": "Studio Logo"
},
{
"Name": "Walder Frey holds a feast for his family; The Twins"
},
{
"Name": "Opening Credits"
},
{
"Name": "Bran and Meera arrive at the Wall; The Wall"
},
{
"Name": "Jon prepares his men for the coming Winter; Winterfell"
},
{
"Name": "Jon receives a message from King's Landing; Winterfell"
},
{
"Name": "Jaime tells Cersei they need allies; King's Landing"
},
{
"Name": "Euron makes Cersei an offer; King's Landing"
},
{
"Name": "Sam talks with Archmaester Marwyn about the White Walkers; Oldtown"
},
{
"Name": "Littlefinger asks Sansa if she is happy; Winterfell"
},
{
"Name": "Arya runs into a group of soldiers; The Riverlands"
},
{
"Name": "The Brotherhood Without Banners travel north; The North"
},
{
"Name": "Sam discovers something in a book; Oldtown"
},
{
"Name": "Daenerys comes home; Dragonstone"
},
{
"Name": "End Credits"
}
],
"ChapterMarkers": true,
"File": "L:\\GoodTorrent\\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\\GOT_S4E1_2.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": 2097152
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "720",
"width": "1280"
}
},
{
"ID": 6,
"Settings": {
"mode": "1",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 16
},
"Title": 1,
"Path": "L:\\GoodTorrent\\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\\Game.Of.Thrones.S07E01.Dragonstone.720p.WEB-DL.Re-encode.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0
}
]
},
"Video": {
"Encoder": 65536,
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22.0,
"OpenCL": false,
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[18:22:04] CPU: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
[18:22:04] - logical processor count: 8
[18:22:04] Intel Quick Sync Video support: no
[18:22:04] hb_scan: path=L:\GoodTorrent\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\Game.Of.Thrones.S07E01.Dragonstone.720p.WEB-DL.Re-encode.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image L:\GoodTorrent\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\Game.Of.Thrones.S07E01.Dragonstone.720p.WEB-DL.Re-encode.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[18:22:04] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
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:22:04] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'L:\GoodTorrent\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\Game.Of.Thrones.S07E01.Dragonstone.720p.WEB-DL.Re-encode.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2017-08-24 13:34:42
encoder : HandBrake 1.0.7 2017040900
Duration: 01:01:04.41, start: 0.000000, bitrate: 1262 kb/s
Chapter #0:0: start 0.000000, end 148.523000
Metadata:
title : Previously On
Chapter #0:1: start 148.523000, end 153.528000
Metadata:
title : Studio Logo
Chapter #0:2: start 153.528000, end 386.469000
Metadata:
title : Walder Frey holds a feast for his family; The Twins
Chapter #0:3: start 386.469000, end 493.493000
Metadata:
title : Opening Credits
Chapter #0:4: start 493.493000, end 700.366000
Metadata:
title : Bran and Meera arrive at the Wall; The Wall
Chapter #0:5: start 700.366000, end 1000.333000
Metadata:
title : Jon prepares his men for the coming Winter; Winterfell
Chapter #0:6: start 1000.333000, end 1170.336000
Metadata:
title : Jon receives a message from King's Landing; Winterfell
Chapter #0:7: start 1170.336000, end 1508.465000
Metadata:
title : Jaime tells Cersei they need allies; King's Landing
Chapter #0:8: start 1508.465000, end 1746.328000
Metadata:
title : Euron makes Cersei an offer; King's Landing
Chapter #0:9: start 1746.328000, end 2159.366000
Metadata:
title : Sam talks with Archmaester Marwyn about the White Walkers; Oldtown
Chapter #0:10: start 2159.366000, end 2287.452000
Metadata:
title : Littlefinger asks Sansa if she is happy; Winterfell
Chapter #0:11: start 2287.452000, end 2536.409000
Metadata:
title : Arya runs into a group of soldiers; The Riverlands
Chapter #0:12: start 2536.409000, end 3091.380000
Metadata:
title : The Brotherhood Without Banners travel north; The North
Chapter #0:13: start 3091.380000, end 3250.456000
Metadata:
title : Sam discovers something in a book; Oldtown
Chapter #0:14: start 3250.456000, end 3586.416000
Metadata:
title : Daenerys comes home; Dragonstone
Chapter #0:15: start 3586.416000, end 3664.369000
Metadata:
title : End Credits
Stream #0:0(und): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, tv, bt709/bt709/bt709
1280x720 [PAR 1:1 DAR 16:9], 873 kb/s
23.98 fps, 90k tbn (default)
Metadata:
creation_time : 2017-08-24 13:34:42
handler_name : VideoHandler
Stream #0:1(eng): Audio: ac3 [ac[45]3 / 0x332D6361]
48000 Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 2017-08-24 13:34:42
handler_name : Surround
Side data:
audio service type: main
Stream #0:2(eng): Subtitle: mov_text, 0 kb/s (default)
Metadata:
creation_time : 2017-08-24 13:34:42
handler_name : SubtitleHandler
Stream #0:3(eng): Subtitle: mov_text, 0 kb/s
Metadata:
creation_time : 2017-08-24 13:34:42
handler_name : SubtitleHandler
[18:22:04] scan: decoding previews for title 1
[18:22:04] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[18:22:04] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:22:04] scan: supported video decoders: avcodec qsv
[18:22:04] libhb: scan thread found 1 valid title(s)
[18:22:04] Skipping subtitle scan. No suitable subtitle tracks.
[18:22:04] starting job
[18:22:04] decomb filter thread started for segment 0
[18:22:04] decomb filter thread started for segment 1
[18:22:04] decomb filter thread started for segment 7
[18:22:04] decomb filter thread started for segment 3
[18:22:04] decomb filter thread started for segment 4
[18:22:04] decomb filter thread started for segment 5
[18:22:04] decomb filter thread started for segment 6
[18:22:04] mask filter thread started for segment 4
[18:22:04] decomb check thread started for segment 0
[18:22:04] mask filter thread started for segment 7
[18:22:04] mask erode thread started for segment 1
[18:22:04] mask erode thread started for segment 3
[18:22:04] mask erode thread started for segment 5
[18:22:04] decomb check thread started for segment 5
[18:22:04] mask dilate thread started for segment 2
[18:22:04] mask dilate thread started for segment 4
[18:22:04] mask dilate thread started for segment 6
[18:22:04] mask filter thread started for segment 1
[18:22:04] yadif thread started for segment 3
[18:22:04] mask filter thread started for segment 3
[18:22:04] work: track 1, dithering not supported by codec
[18:22:04] decomb filter thread started for segment 2
[18:22:04] job configuration:
[18:22:04] * source
[18:22:04] + L:\GoodTorrent\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\Game.Of.Thrones.S07E01.Dragonstone.720p.WEB-DL.Re-encode.mp4
[18:22:04] + title 1, chapter(s) 1 to 16
[18:22:04] + container: mov,mp4,m4a,3gp,3g2,mj2
[18:22:04] + data rate: 1262 kbps
[18:22:04] * destination
[18:22:04] + L:\GoodTorrent\Game of Thrones S07 Complete Season 7 720p x264 AC3 5.1 (MP4)\GOT_S4E1_2.mkv
[18:22:04] + container: Matroska (libavformat)
[18:22:04] + chapter markers
[18:22:04] mask filter thread started for segment 5
[18:22:04] * video track
[18:22:04] + decoder: h264
[18:22:04] + bitrate 873 kbps
[18:22:04] + filters
[18:22:04] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:22:04] + Decomb (mode=39)
[18:22:04] + Framerate Shaper (mode=1:rate=27000000/900000)
[18:22:04] + frame rate: 23.976 fps -> constant 30.000 fps
[18:22:04] mask filter thread started for segment 6
[18:22:04] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:22:04] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[18:22:04] + Output geometry
[18:22:04] + storage dimensions: 1280 x 720
[18:22:04] + pixel aspect ratio: 1 : 1
[18:22:04] + display dimensions: 1280 x 720
[18:22:04] + encoder: H.264 (libx264)
[18:22:04] + preset: fast
[18:22:04] + profile: main
[18:22:04] + level: 4.0
[18:22:04] decomb check thread started for segment 1
[18:22:04] + quality: 22.00 (RF)
[18:22:04] * subtitle track 1, English (track 0, id 0x2) Text [TX3G] -> Passthrough
[18:22:04] * audio track 1
[18:22:04] + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[18:22:04] + bitrate: 384 kbps, samplerate: 48000 Hz
[18:22:04] + mixdown: 5.1 Channels
[18:22:04] mask erode thread started for segment 0
[18:22:04] + encoder: AC3 (libavcodec)
[18:22:04] + bitrate: 384 kbps, samplerate: 48000 Hz
[18:22:04] decomb check thread started for segment 2
[18:22:04] mask erode thread started for segment 2
[18:22:04] decomb check thread started for segment 3
[18:22:04] mask erode thread started for segment 4
[18:22:04] decomb check thread started for segment 4
[18:22:04] mask erode thread started for segment 6
[18:22:04] mask erode thread started for segment 7
[18:22:04] mask dilate thread started for segment 0
[18:22:04] mask dilate thread started for segment 1
[18:22:04] decomb check thread started for segment 6
[18:22:04] mask dilate thread started for segment 3
[18:22:04] decomb check thread started for segment 7
[18:22:04] mask dilate thread started for segment 5
[18:22:04] mask filter thread started for segment 0
[18:22:04] mask dilate thread started for segment 7
[18:22:04] yadif thread started for segment 0
[18:22:04] yadif thread started for segment 1
[18:22:04] yadif thread started for segment 2
[18:22:04] mask filter thread started for segment 2
[18:22:04] yadif thread started for segment 4
[18:22:04] yadif thread started for segment 5
[18:22:04] yadif thread started for segment 6
[18:22:04] yadif thread started for segment 7
[18:22:04] sync: expecting 87858 video frames
[18:22:04] encx264: min-keyint: 30, keyint: 300
[18:22:04] encx264: encoding at constant RF 22.000000
[18:22:04] encx264: unparsed options: subme=6:level=4.0:weightp=1:ref=2:8x8dct=0:vbv-bufsize=25000:rc-lookahead=30:vbv-maxrate=20000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Main, level 4.0
[18:22:04] sync: first pts video is 0
[18:22:04] sync: "Previously On" (1) at frame 1 time 0
[18:22:04] sync: first pts audio 0x1 is 1530
[18:22:05] sync: first pts subtitle 0x2 is 288180
[18:23:22] sync: "Studio Logo" (2) at frame 3562 time 13367103
[18:23:25] sync: "Walder Frey holds a feast for his family; The Twins" (3) at frame 3682 time 13817553
[18:25:24] sync: "Opening Credits" (4) at frame 9267 time 34782247
[18:26:46] sync: "Bran and Meera arrive at the Wall; The Wall" (5) at frame 11833 time 44414370
[18:28:41] sync: "Jon prepares his men for the coming Winter; Winterfell" (6) at frame 16793 time 63032970
[18:30:56] sync: "Jon receives a message from King's Landing; Winterfell" (7) at frame 23989 time 90044955
[18:32:33] sync: "Jaime tells Cersei they need allies; King's Landing" (8) at frame 28065 time 105345240
[18:35:31] sync: "Euron makes Cersei an offer; King's Landing" (9) at frame 36168 time 135761876
[18:37:36] sync: "Sam talks with Archmaester Marwyn about the White Walkers; Oldtown" (10) at frame 41876 time 157188281
[18:41:15] sync: "Littlefinger asks Sansa if she is happy; Winterfell" (11) at frame 51776 time 194350406
[18:42:26] sync: "Arya runs into a group of soldiers; The Riverlands" (12) at frame 54849 time 205885680
[18:44:57] sync: "The Brotherhood Without Banners travel north; The North" (13) at frame 60818 time 228291813
[18:50:18] sync: "Sam discovers something in a book; Oldtown" (14) at frame 74124 time 278239211
[18:51:35] sync: "Daenerys comes home; Dragonstone" (15) at frame 77938 time 292556013
[18:54:51] sync: "End Credits" (16) at frame 85989 time 322777455
[18:55:11] reader: done. 1 scr changes
[18:55:14] work: average encoding speed for job is 44.177151 fps
[18:55:14] comb detect: heavy 11 | light 293 | uncombed 87554 | total 87858
[18:55:14] decomb: deinterlaced 11 | blended 293 | unfiltered 87554 | total 87858
[18:55:14] vfr: 109932 frames output, 0 dropped and 22074 duped for CFR/PFR
[18:55:14] vfr: lost time: 0 (0 frames)
[18:55:14] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:55:14] ac3-decoder done: 114510 frames, 0 decoder errors
[18:55:14] h264-decoder done: 87858 frames, 0 decoder errors
[18:55:14] sync: got 87858 frames, 87858 expected
[18:55:14] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:1219 Avg QP:15.39 size: 52402
x264 [info]: frame P:31539 Avg QP:19.05 size: 8957
x264 [info]: frame B:77174 Avg QP:21.26 size: 2297
x264 [info]: consecutive B-frames: 1.8% 10.6% 9.0% 78.5%
x264 [info]: mb I I16..4: 36.8% 0.0% 63.2%
x264 [info]: mb P I16..4: 5.8% 0.0% 2.4% P16..4: 38.0% 9.2% 4.3% 0.0% 0.0% skip:40.3%
x264 [info]: mb B I16..4: 2.3% 0.0% 0.3% B16..8: 19.3% 2.2% 0.1% direct: 4.0% skip:71.8% L0:49.9% L1:46.7% BI: 3.4%
x264 [info]: coded y,uvDC,uvAC intra: 27.1% 43.5% 8.0% inter: 4.1% 8.6% 0.0%
x264 [info]: i16 v,h,dc,p: 44% 23% 18% 15%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 20% 7% 8% 7% 6% 6% 4%
x264 [info]: i8c dc,h,v,p: 60% 18% 19% 4%
x264 [info]: Weighted P-Frames: Y:1.9% UV:1.1%
x264 [info]: ref P L0: 68.2% 31.8%
x264 [info]: ref B L0: 80.0% 20.0%
x264 [info]: ref B L1: 96.4% 3.6%
x264 [info]: kb/s:1143.21
[18:55:15] mux: track 0, 109932 frames, 523603834 bytes, 1143.10 kbps, fifo 4096
[18:55:15] mux: track 1, 114509 frames, 175885824 bytes, 383.98 kbps, fifo 4096
[18:55:15] mux: track 2, 753 frames, 40344 bytes, 0.09 kbps, fifo 64
[18:55:15] libhb: work result = 0

# Encode Completed ...
cobb
Posts: 26
Joined: Fri Jul 12, 2013 1:35 pm

Re: Subtitle line break flags

Post by cobb »

Seems to be a limitation of the Oppo BDP-83 not supporting unicode text.

The subtitles you are working with are text based and text can be encoded
in different formats. The standard text encoding for .mkv files is utf-8
which is unicode.

As a workaround for your player you could probably extract or download
the subtitles as subtitle files (i.e. .srt, .ass), save them in a supported text
format (i.e. ascii) and put them next to your encoded .mkv files.
Post Reply