Confused over subtitles, they don't encode

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
Piffle
Posts: 6
Joined: Fri Nov 27, 2015 9:14 pm

Confused over subtitles, they don't encode

Post by Piffle »

Please detail your question or problem in as much detail as possible:
Hello

I am backing up my blu-rays to a manageable MP4 file, this is the process I'm using.
AnyDVDHD - to rip the files from the disk to the HDD
MakeMKV to take just the film with english audio and english subs into a single MKV file
Handbrake to recode the single MKV file to MP4

The problem I have is that I select the subtitles option in Handbrake, but on the final MP4 there are no subtitles at all, nothing is there. I haven't used the burn in option, as I only want them for when the actors are mumbling, or a foreign language section.

Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.
Using the latest 64 bit Handbrake (v 0.10.5.0) on Windows 7 64bit.

If there was any exception or error displayed, please copy it and paste it here:
No errors

Please include the scan or encode log:

Code: Select all

CLI Query:  -i "\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv" -t 1 --angle 1 -c 1-28 -o "G:\Recodes Tiaxti Drive\Spectre WITH SUBS HIGH QUALITY.mp4"  -f mp4  -w 1920 --crop 138:136:0:0 --loose-anamorphic  --modulus 2 -e x264 -q 19 --vfr -a 1 -E av_aac -6 dpl2 -R Auto -B 192 -D 0 --gain 0 --audio-fallback ac3 --subtitle scan,1,1 --subtitle-forced=1,2 --markers="C:\Users\TV\AppData\Local\Temp\Spectre WITH SUBS HIGH QUALITY-1-chapters.csv" --encoder-level="4.0"  --encoder-profile=main  --verbose=1

[19:31:45] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv...
[19:31:45] CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
[19:31:45]  - Intel microarchitecture Haswell
[19:31:45]  - logical processor count: 4
[19:31:45] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[19:31:45]  - OpenCL version: 1.2 
[19:31:45]  - driver version: 10.18.14.4264
[19:31:45]  - device type:    GPU
[19:31:45]  - supported:      YES
[19:31:45] Intel Quick Sync Video support: yes
[19:31:45]  - Intel Media SDK hardware: API 1.16 (minimum: 1.3)
[19:31:45]  - H.264 encoder: yes
[19:31:45]     - preferred implementation: hardware (any)
[19:31:45]  - H.265 encoder: no
[19:31:45] hb_scan: path=\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv) failed
[19:31:45] 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
[19:31:45] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv':
  Metadata:
    title           : Spectre
  Duration: 02:28:06.87, start: 0.000000, bitrate: 25478 kb/s
    Chapter #0.0: start 0.000000, end 369.118750
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 369.118750, end 784.784000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 784.784000, end 1138.470667
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1138.470667, end 1486.776958
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1486.776958, end 1684.057375
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 1684.057375, end 1935.558625
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 1935.558625, end 2218.591375
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 2218.591375, end 2516.639125
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 2516.639125, end 2773.145375
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 2773.145375, end 3051.923875
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 3051.923875, end 3223.220000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 3223.220000, end 3621.367750
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 3621.367750, end 4008.212542
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 4008.212542, end 4258.963042
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 4258.963042, end 4514.092917
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 4514.092917, end 4735.647583
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 4735.647583, end 5171.040875
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 5171.040875, end 5379.999625
    Metadata:
      title           : Chapter 18
    Chapter #0.18: start 5379.999625, end 5803.547750
    Metadata:
      title           : Chapter 19
    Chapter #0.19: start 5803.547750, end 6104.389958
    Metadata:
      title           : Chapter 20
    Chapter #0.20: start 6104.389958, end 6546.414875
    Metadata:
      title           : Chapter 21
    Chapter #0.21: start 6546.414875, end 6952.820875
    Metadata:
      title           : Chapter 22
    Chapter #0.22: start 6952.820875, end 7179.213708
    Metadata:
      title           : Chapter 23
    Chapter #0.23: start 7179.213708, end 7459.743958
    Metadata:
      title           : Chapter 24
    Chapter #0.24: start 7459.743958, end 7768.510750
    Metadata:
      title           : Chapter 25
    Chapter #0.25: start 7768.510750, end 8045.662625
    Metadata:
      title           : Chapter 26
    Chapter #0.26: start 8045.662625, end 8382.374000
    Metadata:
      title           : Chapter 27
    Chapter #0.27: start 8382.374000, end 8886.878000
    Metadata:
      title           : Chapter 28
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 23943016
      DURATION-eng    : 02:28:06.878000000
      NUMBER_OF_FRAMES-eng: 213072
      NUMBER_OF_BYTES-eng: 26597333444
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:28:06.880000000
      NUMBER_OF_FRAMES-eng: 833145
      NUMBER_OF_BYTES-eng: 1676287740
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.2(eng): Subtitle: pgssub
    Metadata:
      BPS-eng         : 25520
      DURATION-eng    : 02:19:50.819937500
      NUMBER_OF_FRAMES-eng: 2724
      NUMBER_OF_BYTES-eng: 26766892
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.3: Attachment: mjpeg
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[19:31:45] scan: decoding previews for title 1
Scanning title 1 of 1, preview 1, 0.00 %[19:31:45] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 3, 30.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 9, 90.00 %
Scanning title 1 of 1, preview 10, 100.00 %[19:31:47] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/136/0/0, aspect 16:9, PAR 1:1
[19:31:47] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv
  + duration: 02:28:06
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 138/136/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:09
    + 2: cells 0->0, 0 blocks, duration 00:06:56
    + 3: cells 0->0, 0 blocks, duration 00:05:54
    + 4: cells 0->0, 0 blocks, duration 00:05:48
    + 5: cells 0->0, 0 blocks, duration 00:03:17
    + 6: cells 0->0, 0 blocks, duration 00:04:12
    + 7: cells 0->0, 0 blocks, duration 00:04:43
    + 8: cells 0->0, 0 blocks, duration 00:04:58
    + 9: cells 0->0, 0 blocks, duration 00:04:17
    + 10: cells 0->0, 0 blocks, duration 00:04:39
    + 11: cells 0->0, 0 blocks, duration 00:02:51
    + 12: cells 0->0, 0 blocks, duration 00:06:38
    + 13: cells 0->0, 0 blocks, duration 00:06:27
    + 14: cells 0->0, 0 blocks, duration 00:04:11
    + 15: cells 0->0, 0 blocks, duration 00:04:15
    + 16: cells 0->0, 0 blocks, duration 00:03:42
    + 17: cells 0->0, 0 blocks, duration 00:07:15
    + 18: cells 0->0, 0 blocks, duration 00:03:29
    + 19: cells 0->0, 0 blocks, duration 00:07:04
    + 20: cells 0->0, 0 blocks, duration 00:05:01
    + 21: cells 0->0, 0 blocks, duration 00:07:22
    + 22: cells 0->0, 0 blocks, duration 00:06:46
    + 23: cells 0->0, 0 blocks, duration 00:03:46
    + 24: cells 0->0, 0 blocks, duration 00:04:41
    + 25: cells 0->0, 0 blocks, duration 00:05:09
    + 26: cells 0->0, 0 blocks, duration 00:04:37
    + 27: cells 0->0, 0 blocks, duration 00:05:37
    + 28: cells 0->0, 0 blocks, duration 00:08:25
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\TV\AppData\Local\Temp\Spectre WITH SUBS HIGH QUALITY-1-chapters.csv
Warning: Skipping subtitle track 1, can't have more than one track burnt in
Subtitle Scan Enabled - enabling subtitles if found for foreign language segments
[19:31:47] 2 job(s) to process
[19:31:47] starting job
[19:31:47] sync: expecting 213072 video frames
[19:31:47] job configuration:
[19:31:47]  * source
[19:31:47]    + \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv
[19:31:47]    + title 1, chapter(s) 1 to 28
[19:31:47]    + container: matroska,webm
[19:31:47]    + data rate: 25478 kbps
[19:31:47]  * destination
[19:31:47]    + G:\Recodes Tiaxti Drive\Spectre WITH SUBS HIGH QUALITY.mp4
[19:31:47]    + container: MPEG-4 (libavformat)
[19:31:47]      + chapter markers
[19:31:47]  * video track
[19:31:47]    + decoder: h264
[19:31:47]    + filters
[19:31:47]      + Framerate Shaper (0:27000000:1126125)
[19:31:47]        + frame rate: same as source (around 23.976 fps)
[19:31:47]      + Subtitle renderer (138:136:0:0)
[19:31:47]      + Crop and Scale (1920:806:138:136:0:0)
[19:31:47]        + source: 1920 * 1080, crop (138/136/0/0): 1920 * 806, scale: 1920 * 806
[19:31:47]    + loose anamorphic
[19:31:47]      + storage dimensions: 1920 * 806, mod 2
[19:31:47]      + pixel aspect ratio: 1 / 1
[19:31:47]      + display dimensions: 1920 * 806
[19:31:47]  * Foreign Audio Search: Passthrough, Forced Only
[19:31:47]    + subtitle, English (track 2, id 0x2) Picture [PGS]
[19:37:40] reader: done. 1 scr changes
[19:37:40] work: average encoding speed for job is 0.000000 fps
[19:37:40] render: lost time: 0 (0 frames)
[19:37:40] render: gained time: 0 (0 frames) (0 not accounted for)
[19:37:40] h264-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:37:40] Subtitle track 2 (id 0x2) 'English': 1362 hits (0 forced)
[19:37:40] No candidate detected during subtitle scan
[19:37:40] starting job
[19:37:40] sync: expecting 213072 video frames
[19:37:40] job configuration:
[19:37:40]  * source
[19:37:40]    + \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv
[19:37:40]    + title 1, chapter(s) 1 to 28
[19:37:40]    + container: matroska,webm
[19:37:40]    + data rate: 25478 kbps
[19:37:40]  * destination
[19:37:40]    + G:\Recodes Tiaxti Drive\Spectre WITH SUBS HIGH QUALITY.mp4
[19:37:40]    + container: MPEG-4 (libavformat)
[19:37:40]      + chapter markers
[19:37:40]  * video track
[19:37:40]    + decoder: h264
[19:37:40]    + filters
[19:37:40]      + Framerate Shaper (0:27000000:1126125)
[19:37:40]        + frame rate: same as source (around 23.976 fps)
[19:37:40]      + Subtitle renderer (138:136:0:0)
[19:37:40]      + Crop and Scale (1920:806:138:136:0:0)
[19:37:40]        + source: 1920 * 1080, crop (138/136/0/0): 1920 * 806, scale: 1920 * 806
[19:37:40]    + loose anamorphic
[19:37:40]      + storage dimensions: 1920 * 806, mod 2
[19:37:40]      + pixel aspect ratio: 1 / 1
[19:37:40]      + display dimensions: 1920 * 806
[19:37:40]    + encoder: H.264 (libx264)
[19:37:40]      + profile: main
[19:37:40]      + level:   4.0
[19:37:40]      + quality: 19.00 (RF)
[19:37:40]  * subtitle track 1, English (track 2, id 0x2) Picture [PGS] -> Render/Burn-in, Forced Only
[19:37:40]  * audio track 1
[19:37:40]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x1)
[19:37:40]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:37:40]    + mixdown: Dolby Pro Logic II
[19:37:40]    + encoder: AAC (libavcodec)
[19:37:40]      + bitrate: 192 kbps, samplerate: 48000 Hz
[19:37:41] reader: first SCR 0 id 0x0 DTS 0
[19:37:41] encx264: min-keyint: 24, keyint: 240
[19:37:41] encx264: encoding at constant RF 19.000000
[19:37:41] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[19:42:54] h264: "Chapter 2" (2) at frame 8858 time 33220710
[19:50:24] h264: "Chapter 3" (3) at frame 18824 time 70630560
[19:55:19] h264: "Chapter 4" (4) at frame 27304 time 102462390
[20:00:40] h264: "Chapter 5" (5) at frame 35655 time 133809930
[20:03:32] h264: "Chapter 6" (6) at frame 40386 time 151568910
[20:07:10] h264: "Chapter 7" (7) at frame 46415 time 174200310
[20:11:31] h264: "Chapter 8" (8) at frame 53204 time 199684530
[20:16:11] h264: "Chapter 9" (9) at frame 60349 time 226505070
[20:20:25] h264: "Chapter 10" (10) at frame 66500 time 249594390
[20:25:22] h264: "Chapter 11" (11) at frame 73181 time 274673160
[20:28:05] h264: "Chapter 12" (12) at frame 77288 time 290089800
[20:33:42] h264: "Chapter 13" (13) at frame 86834 time 325923120
[20:39:07] h264: "Chapter 14" (14) at frame 96109 time 360739170
[20:42:54] h264: "Chapter 15" (15) at frame 102124 time 383317920
[20:47:11] h264: "Chapter 16" (16) at frame 108238 time 406268370
[20:50:19] h264: "Chapter 17" (17) at frame 113550 time 426208320
[20:57:04] h264: "Chapter 18" (18) at frame 123989 time 465393690
[21:00:03] h264: "Chapter 19" (19) at frame 128999 time 484200000
[21:07:05] h264: "Chapter 20" (20) at frame 139154 time 522319320
[21:11:18] h264: "Chapter 21" (21) at frame 146367 time 549395100
[21:17:10] h264: "Chapter 22" (22) at frame 156965 time 589177350
[21:23:33] h264: "Chapter 23" (23) at frame 166709 time 625753890
[21:26:44] h264: "Chapter 24" (24) at frame 172137 time 646129260
[21:30:40] h264: "Chapter 25" (25) at frame 178863 time 671376960
[21:34:59] h264: "Chapter 26" (26) at frame 186266 time 699165990
[21:39:09] h264: "Chapter 27" (27) at frame 192911 time 724109670
[21:44:02] h264: "Chapter 28" (28) at frame 200984 time 754413660
[21:47:48] reader: done. 1 scr changes
[21:47:49] work: average encoding speed for job is 27.286558 fps
[21:47:49] sync: got 213072 frames, 213072 expected
[21:47:49] render: lost time: 0 (0 frames)
[21:47:49] render: gained time: 0 (0 frames) (0 not accounted for)
[21:47:49] h264-decoder done: 213072 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:3107  Avg QP:17.43  size:166400
x264 [info]: frame P:163406 Avg QP:19.70  size: 31584
x264 [info]: frame B:46559 Avg QP:21.12  size: 15481
x264 [info]: consecutive B-frames: 60.8% 28.2%  6.1%  4.9%
x264 [info]: mb I  I16..4: 32.8%  0.0% 67.2%
x264 [info]: mb P  I16..4:  2.5%  0.0%  2.9%  P16..4: 48.9% 17.3% 10.5%  0.0%  0.0%    skip:17.9%
x264 [info]: mb B  I16..4:  0.3%  0.0%  0.2%  B16..8: 61.1%  6.0%  1.0%  direct: 3.2%  skip:28.2%  L0:44.0% L1:52.0% BI: 4.0%
x264 [info]: coded y,uvDC,uvAC intra: 89.6% 70.0% 34.0% inter: 25.3% 30.6% 1.1%
x264 [info]: i16 v,h,dc,p: 15% 13% 25% 47%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 27%  7%  8%  7%  8%  6%  6%
x264 [info]: i8c dc,h,v,p: 56% 19% 20%  6%
x264 [info]: Weighted P-Frames: Y:1.8% UV:0.8%
x264 [info]: ref P L0: 57.1% 10.5% 21.9% 10.4%  0.1%
x264 [info]: ref B L0: 74.8% 23.6%  1.6%
x264 [info]: ref B L1: 95.8%  4.2%
x264 [info]: kb/s:5760.25
[21:47:50] dca-decoder done: 0 frames, 0 decoder errors, 0 drops
[21:47:50] mux: track 0, 213072 frames, 6398727454 bytes, 5760.18 kbps, fifo 2048
[21:47:50] mux: track 1, 416571 frames, 213464503 bytes, 192.16 kbps, fifo 4096
[21:47:50] libhb: work result = 0
Encode done!
HandBrake has exited.

If anyone can tell me what I'm doing wrong I would be very pleased! I've looked through the help section and FAQs and I can't spot what I'm doing wrong.

The only thing I don't have is the subs as an external .srt file but I don't think that's required, or is it?

Thanks in advance!
rollin_eng
Veteran User
Posts: 4859
Joined: Wed May 04, 2011 11:06 pm

Re: Confused over subtitles, they don't encode

Post by rollin_eng »

Mp4 does not support soft pgs (Blu Ray) subtitles, you will have to either burn them in or find a text based version online.
Deleted User 11865

Re: Confused over subtitles, they don't encode

Post by Deleted User 11865 »

Also, you selected Forced Only for a subtitle track where no subtitles are flagged as forced, so it's normal that the output doesn't have any subtitle packets.
Piffle
Posts: 6
Joined: Fri Nov 27, 2015 9:14 pm

Re: Confused over subtitles, they don't encode

Post by Piffle »

rollin_eng wrote:Mp4 does not support soft pgs (Blu Ray) subtitles, you will have to either burn them in or find a text based version online.
Ah, I see...hmmm, that could be tricky then!

I was recoding to MP4 as it's generally more compatible, but a few of my devices will play MKV, if I recode to a lower file size MKV will that give me more options regarding subtitles?

Rodeo wrote:Also, you selected Forced Only for a subtitle track where no subtitles are flagged as forced, so it's normal that the output doesn't have any subtitle packets.
Oh! Hmm, I don't understand that. There is a section in that film where they talking in another langauge, so I would have thought it would auto pop-up in english.



Thank you both for your very quick replies btw! :D
Piffle
Posts: 6
Joined: Fri Nov 27, 2015 9:14 pm

Re: Confused over subtitles, they don't encode

Post by Piffle »

Hmmm, well I've had a little more success.

Based on what's been said above, I recoded using MKV instead of MP4 and auto subtitles. This time it has saved subs, but they don't come up when they should do for foreign language parts....I still don't understand what I'm doing wrong there. :(

Can someone take a quick look at this please and tell me how to make it so the subs automatically display when there is another language dialogue, but are also available to switch on constantly if required.

Thanks you.

Code: Select all

CLI Query:  -i "\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv" -t 1 --angle 1 -c 1-28 -o "G:\Recodes Tiaxti Drive\Spectre MKV Subs test ON DEFAULT.mkv"  -f mkv  -w 1920 --crop 138:136:0:0 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --subtitle 1 --subtitle-default=1 --markers="C:\Users\TV\AppData\Local\Temp\Spectre MKV Subs test ON DEFAULT-1-chapters.csv" --encoder-preset=veryfast  --encoder-level="4.0"  --encoder-profile=main  --verbose=1

[18:50:25] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv...
[18:50:25] CPU: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
[18:50:25]  - Intel microarchitecture Haswell
[18:50:25]  - logical processor count: 4
[18:50:25] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[18:50:25]  - OpenCL version: 1.2 
[18:50:25]  - driver version: 10.18.14.4264
[18:50:25]  - device type:    GPU
[18:50:25]  - supported:      YES
[18:50:25] Intel Quick Sync Video support: yes
[18:50:25]  - Intel Media SDK hardware: API 1.16 (minimum: 1.3)
[18:50:25]  - H.264 encoder: yes
[18:50:25]     - preferred implementation: hardware (any)
[18:50:25]  - H.265 encoder: no
[18:50:25] hb_scan: path=\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv) failed
[18:50:25] 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:50:25] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '\\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv':
  Metadata:
    title           : Spectre
  Duration: 02:28:06.87, start: 0.000000, bitrate: 25478 kb/s
    Chapter #0.0: start 0.000000, end 369.118750
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 369.118750, end 784.784000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 784.784000, end 1138.470667
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1138.470667, end 1486.776958
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1486.776958, end 1684.057375
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 1684.057375, end 1935.558625
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 1935.558625, end 2218.591375
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 2218.591375, end 2516.639125
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 2516.639125, end 2773.145375
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 2773.145375, end 3051.923875
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 3051.923875, end 3223.220000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 3223.220000, end 3621.367750
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 3621.367750, end 4008.212542
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 4008.212542, end 4258.963042
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 4258.963042, end 4514.092917
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 4514.092917, end 4735.647583
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 4735.647583, end 5171.040875
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 5171.040875, end 5379.999625
    Metadata:
      title           : Chapter 18
    Chapter #0.18: start 5379.999625, end 5803.547750
    Metadata:
      title           : Chapter 19
    Chapter #0.19: start 5803.547750, end 6104.389958
    Metadata:
      title           : Chapter 20
    Chapter #0.20: start 6104.389958, end 6546.414875
    Metadata:
      title           : Chapter 21
    Chapter #0.21: start 6546.414875, end 6952.820875
    Metadata:
      title           : Chapter 22
    Chapter #0.22: start 6952.820875, end 7179.213708
    Metadata:
      title           : Chapter 23
    Chapter #0.23: start 7179.213708, end 7459.743958
    Metadata:
      title           : Chapter 24
    Chapter #0.24: start 7459.743958, end 7768.510750
    Metadata:
      title           : Chapter 25
    Chapter #0.25: start 7768.510750, end 8045.662625
    Metadata:
      title           : Chapter 26
    Chapter #0.26: start 8045.662625, end 8382.374000
    Metadata:
      title           : Chapter 27
    Chapter #0.27: start 8382.374000, end 8886.878000
    Metadata:
      title           : Chapter 28
    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 23943016
      DURATION-eng    : 02:28:06.878000000
      NUMBER_OF_FRAMES-eng: 213072
      NUMBER_OF_BYTES-eng: 26597333444
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:28:06.880000000
      NUMBER_OF_FRAMES-eng: 833145
      NUMBER_OF_BYTES-eng: 1676287740
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.2(eng): Subtitle: pgssub
    Metadata:
      BPS-eng         : 25520
      DURATION-eng    : 02:19:50.819937500
      NUMBER_OF_FRAMES-eng: 2724
      NUMBER_OF_BYTES-eng: 26766892
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-05-23 10:10:16
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0.3: Attachment: mjpeg
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[18:50:25] scan: decoding previews for title 1
[18:50:25] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 3, 30.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 9, 90.00 %
Scanning title 1 of 1, preview 10, 100.00 %[18:50:27] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/136/0/0, aspect 16:9, PAR 1:1
[18:50:27] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv
  + duration: 02:28:06
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 138/136/0/0
  + support opencl: yes
  + support hwd: yes
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:06:09
    + 2: cells 0->0, 0 blocks, duration 00:06:56
    + 3: cells 0->0, 0 blocks, duration 00:05:54
    + 4: cells 0->0, 0 blocks, duration 00:05:48
    + 5: cells 0->0, 0 blocks, duration 00:03:17
    + 6: cells 0->0, 0 blocks, duration 00:04:12
    + 7: cells 0->0, 0 blocks, duration 00:04:43
    + 8: cells 0->0, 0 blocks, duration 00:04:58
    + 9: cells 0->0, 0 blocks, duration 00:04:17
    + 10: cells 0->0, 0 blocks, duration 00:04:39
    + 11: cells 0->0, 0 blocks, duration 00:02:51
    + 12: cells 0->0, 0 blocks, duration 00:06:38
    + 13: cells 0->0, 0 blocks, duration 00:06:27
    + 14: cells 0->0, 0 blocks, duration 00:04:11
    + 15: cells 0->0, 0 blocks, duration 00:04:15
    + 16: cells 0->0, 0 blocks, duration 00:03:42
    + 17: cells 0->0, 0 blocks, duration 00:07:15
    + 18: cells 0->0, 0 blocks, duration 00:03:29
    + 19: cells 0->0, 0 blocks, duration 00:07:04
    + 20: cells 0->0, 0 blocks, duration 00:05:01
    + 21: cells 0->0, 0 blocks, duration 00:07:22
    + 22: cells 0->0, 0 blocks, duration 00:06:46
    + 23: cells 0->0, 0 blocks, duration 00:03:46
    + 24: cells 0->0, 0 blocks, duration 00:04:41
    + 25: cells 0->0, 0 blocks, duration 00:05:09
    + 26: cells 0->0, 0 blocks, duration 00:04:37
    + 27: cells 0->0, 0 blocks, duration 00:05:37
    + 28: cells 0->0, 0 blocks, duration 00:08:25
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\TV\AppData\Local\Temp\Spectre MKV Subs test ON DEFAULT-1-chapters.csv
[18:50:27] 1 job(s) to process
[18:50:27] starting job
[18:50:27] sync: expecting 213072 video frames
[18:50:27] job configuration:
[18:50:27]  * source
[18:50:27]    + \\THELUGGAGE\2 - BR Recodes\Spectre MKV\Spectre_t02.mkv
[18:50:27]    + title 1, chapter(s) 1 to 28
[18:50:27]    + container: matroska,webm
[18:50:27]    + data rate: 25478 kbps
[18:50:27]  * destination
[18:50:27]    + G:\Recodes Tiaxti Drive\Spectre MKV Subs test ON DEFAULT.mkv
[18:50:27]    + container: Matroska (libavformat)
[18:50:27]      + chapter markers
[18:50:27]  * video track
[18:50:27]    + decoder: h264
[18:50:27]    + filters
[18:50:27]      + Framerate Shaper (0:27000000:1126125)
[18:50:27]        + frame rate: same as source (around 23.976 fps)
[18:50:27]      + Crop and Scale (1920:806:138:136:0:0)
[18:50:27]        + source: 1920 * 1080, crop (138/136/0/0): 1920 * 806, scale: 1920 * 806
[18:50:27]    + loose anamorphic
[18:50:27]      + storage dimensions: 1920 * 806, mod 2
[18:50:27]      + pixel aspect ratio: 1 / 1
[18:50:27]      + display dimensions: 1920 * 806
[18:50:27]    + encoder: H.264 (libx264)
[18:50:27]      + preset:  veryfast
[18:50:27]      + profile: main
[18:50:27]      + level:   4.0
[18:50:27]      + quality: 20.00 (RF)
[18:50:27]  * subtitle track 1, English (track 2, id 0x2) Picture [PGS] -> Passthrough, Default
[18:50:27]  * audio track 1
[18:50:27]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x1)
[18:50:27]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[18:50:27]    + mixdown: Dolby Pro Logic II
[18:50:27]    + encoder: AAC (libavcodec)
[18:50:27]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:50:27] reader: first SCR 0 id 0x0 DTS 0
[18:50:27] encx264: min-keyint: 24, keyint: 240
[18:50:27] encx264: encoding at constant RF 20.000000
[18:50:27] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[18:52:28] h264: "Chapter 2" (2) at frame 8858 time 33220710
[18:55:00] h264: "Chapter 3" (3) at frame 18824 time 70630560
[18:56:45] h264: "Chapter 4" (4) at frame 27304 time 102462390
[18:58:28] h264: "Chapter 5" (5) at frame 35655 time 133809930
[18:59:27] h264: "Chapter 6" (6) at frame 40386 time 151568910
[19:00:42] h264: "Chapter 7" (7) at frame 46415 time 174200310
[19:02:05] h264: "Chapter 8" (8) at frame 53204 time 199684530
[19:03:35] h264: "Chapter 9" (9) at frame 60349 time 226505070
[19:04:58] h264: "Chapter 10" (10) at frame 66500 time 249594390
[19:06:33] h264: "Chapter 11" (11) at frame 73181 time 274673160
[19:07:26] h264: "Chapter 12" (12) at frame 77288 time 290089800
[19:09:15] h264: "Chapter 13" (13) at frame 86834 time 325923120
[19:11:07] h264: "Chapter 14" (14) at frame 96109 time 360739170
[19:12:27] h264: "Chapter 15" (15) at frame 102124 time 383317920
[19:13:56] h264: "Chapter 16" (16) at frame 108238 time 406268370
[19:15:03] h264: "Chapter 17" (17) at frame 113550 time 426208320
[19:17:10] h264: "Chapter 18" (18) at frame 123989 time 465393690
[19:18:13] h264: "Chapter 19" (19) at frame 128999 time 484200000
[19:20:29] h264: "Chapter 20" (20) at frame 139154 time 522319320
[19:21:59] h264: "Chapter 21" (21) at frame 146367 time 549395100
[19:23:59] h264: "Chapter 22" (22) at frame 156965 time 589177350
[19:25:57] h264: "Chapter 23" (23) at frame 166709 time 625753890
[19:27:06] h264: "Chapter 24" (24) at frame 172137 time 646129260
[19:28:28] h264: "Chapter 25" (25) at frame 178863 time 671376960
[19:29:52] h264: "Chapter 26" (26) at frame 186266 time 699165990
[19:31:13] h264: "Chapter 27" (27) at frame 192911 time 724109670
[19:32:54] h264: "Chapter 28" (28) at frame 200984 time 754413660
[19:34:35] reader: done. 1 scr changes
[19:34:35] work: average encoding speed for job is 80.456902 fps
[19:34:35] sync: got 213072 frames, 213072 expected
[19:34:35] render: lost time: 0 (0 frames)
[19:34:35] render: gained time: 0 (0 frames) (0 not accounted for)
[19:34:35] h264-decoder done: 213072 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:3109  Avg QP:18.47  size:136831
x264 [info]: frame P:164161 Avg QP:20.73  size: 21887
x264 [info]: frame B:45802 Avg QP:21.94  size:  8576
x264 [info]: consecutive B-frames: 61.4% 27.7%  6.0%  4.9%
x264 [info]: mb I  I16..4: 57.5%  0.0% 42.5%
x264 [info]: mb P  I16..4: 19.4%  0.0%  1.2%  P16..4: 26.7%  8.7%  3.7%  0.0%  0.0%    skip:40.3%
x264 [info]: mb B  I16..4:  2.9%  0.0%  0.1%  B16..8: 17.5%  4.3%  0.4%  direct:12.7%  skip:62.2%  L0:33.2% L1:50.4% BI:16.4%
x264 [info]: coded y,uvDC,uvAC intra: 49.7% 32.8% 8.1% inter: 13.8% 9.9% 0.3%
x264 [info]: i16 v,h,dc,p: 34% 23% 30% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 19% 25%  6%  6%  6%  7%  5%  6%
x264 [info]: i8c dc,h,v,p: 65% 15% 18%  2%
x264 [info]: Weighted P-Frames: Y:1.4% UV:0.6%
x264 [info]: kb/s:3970.96
[19:34:35] dca-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:34:36] mux: track 0, 213072 frames, 4411082985 bytes, 3970.89 kbps, fifo 2048
[19:34:36] mux: track 1, 416571 frames, 178127325 bytes, 160.35 kbps, fifo 4096
[19:34:36] mux: track 2, 2724 frames, 26766892 bytes, 24.10 kbps, fifo 64
[19:34:36] libhb: work result = 0
Encode done!
HandBrake has exited.
Deleted User 11865

Re: Confused over subtitles, they don't encode

Post by Deleted User 11865 »

There are no soft forced subtitles on this disc. If there should be, they're probably hardcoded in the image, try setting cropping to custom: 0/0/0/0 and see if any forced subtitles show up.

Either that or you didn't include all English-language subtitle tracks in MakeMKV (the only subtitle track in your MKV covers the entire feature).
whistlerz
Posts: 19
Joined: Sun Apr 17, 2016 10:15 pm

Re: Confused over subtitles, they don't encode

Post by whistlerz »

Some movies, instead of using "forced" subs, will instead have the automatic subs in a separate subtitle track that is then flagged as the "default" subtitle track when playing the disc. I think Spectre is an example of one of those movies, and the subtitles you want are the 2nd English subtitle track on the disc. If you didn't include that track in your MakeMKV output, you'll have to do it over again.
Piffle
Posts: 6
Joined: Fri Nov 27, 2015 9:14 pm

Re: Confused over subtitles, they don't encode

Post by Piffle »

Thank you both for your replies, this is a big learning experience, but I think I'm slowly beginning to get it!

Rodeo, thank you for your suggestions, I do trim out as much from the file as possible so I will have another look to see if I've missed off any english subs!

Whistlerz, there are only two sub tracks, 'foreign audio scan' and 'English (PGS)', I've tried both without success. I'll try just the English PGS and see what happens!


Either way, I don't mind the extra encoding that has to be done, I'm lucky in that I can encode on a separate PC so it doesn't slow down my day-to-day PC working, but it does take 2-3 to recode, depending on the settings.
whistlerz
Posts: 19
Joined: Sun Apr 17, 2016 10:15 pm

Re: Confused over subtitles, they don't encode

Post by whistlerz »

Piffle wrote:Whistlerz, there are only two sub tracks, 'foreign audio scan' and 'English (PGS)', I've tried both without success. I'll try just the English PGS and see what happens!
In your current MakeMKV output, that may be true. I'm suggesting that you missed selecting the appropriate subtitle track when you ran MakeMKV. From what I'm seeing, the 5th subtitle track on the disc is the one you are looking for. It's possible the order is different on your version of the disc, but there should be an additional English track on the disc regardless.
rbpaiett
New User
Posts: 1
Joined: Fri Nov 25, 2016 7:02 pm

Re: Confused over subtitles, they don't encode

Post by rbpaiett »

With regards to Spectre and the foreign subtitles, I selected '5 English (PGS)' and flagged 'Forced Only' and 'Burn In'; it worked like a charm.
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: Confused over subtitles, they don't encode

Post by Smithcraft »

For future reference, if you need to generate text subs, try Subtitle Edit.

SC
Post Reply