Page 1 of 1

Subtitles not working for specific file.

PostPosted: Fri Jun 27, 2014 2:34 pm
by Stomp
Ok I've been downloading all types of movies and there were no problems with subtitles, but then i ran into TrueHD. Subtitles are not working for that file [it's .mkv], i've tried burning them in and tried merging them in using mkvmerge, but still nothing.

Here's mediainfo:
  Code:
General
Unique ID                                : 253159622741492300679963301622579725819 (0xBE74C5129488FF218E9D6645232805FB)
Complete name                            : C:\Daniels\Movies\300.2006.Bluray.1080p.TrueHD.x264-Grym\300.2006.Bluray.1080p.TrueHD.x264-Grym.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 13.0 GiB
Duration                                 : 1h 56mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 16.0 Mbps
Encoded date                             : UTC 2014-06-25 15:32:02
Writing application                      : mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun  9 2014 15:16:27
Writing library                          : libebml v1.3.0 + libmatroska v1.4.1
DURATION                                 : 01:47:39.452000000
NUMBER_OF_FRAMES                         : 955
NUMBER_OF_BYTES                          : 32621
_STATISTICS_WRITING_APP                  : mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun  9 2014 15:16:27
_STATISTICS_WRITING_DATE_UTC             : 2014-06-25 15:32:02
_STATISTICS_TAGS                         : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1h 56mn
Bit rate mode                            : Variable
Nominal bit rate                         : 14.0 Mbps
Maximum bit rate                         : 30.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.282
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=24 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=14020 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=30000 / vbv_bufsize=30000 / nal_hrd=vbr / ip_ratio=1.10 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : TrueHD
Codec ID                                 : A_TRUEHD
Duration                                 : 1h 56mn
Bit rate mode                            : Variable
Maximum bit rate                         : 3 267 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossless
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format profile                           : Dolby Digital
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 1h 56mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 160 MiB (1%)
Language                                 : English
Default                                  : No
Forced                                   : No

Text
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : en:00:00:00.000
00:05:16.983                             : en:00:05:16.983
00:10:23.289                             : en:00:10:23.289
00:13:16.796                             : en:00:13:16.796
00:16:52.177                             : en:00:16:52.177
00:19:44.349                             : en:00:19:44.349
00:22:28.346                             : en:00:22:28.346
00:27:03.622                             : en:00:27:03.622
00:29:16.254                             : en:00:29:16.254
00:33:17.829                             : en:00:33:17.829
00:35:06.771                             : en:00:35:06.771
00:37:49.433                             : en:00:37:49.433
00:40:46.277                             : en:00:40:46.277
00:44:10.314                             : en:00:44:10.314
00:49:17.287                             : en:00:49:17.287
00:52:46.329                             : en:00:52:46.329
00:55:33.663                             : en:00:55:33.663
01:01:40.863                             : en:01:01:40.863
01:05:20.750                             : en:01:05:20.750
01:08:42.952                             : en:01:08:42.952
01:12:43.192                             : en:01:12:43.192
01:15:50.379                             : en:01:15:50.379
01:18:38.380                             : en:01:18:38.380
01:22:20.935                             : en:01:22:20.935
01:26:43.531                             : en:01:26:43.531
01:29:11.512                             : en:01:29:11.512
01:33:59.216                             : en:01:33:59.216
01:38:54.595                             : en:01:38:54.595
01:43:26.199                             : en:01:43:26.199
01:49:03.537                             : en:01:49:03.537
01:56:38.366                             : en:01:56:38.366

Re: Subtitles not working for specific file.

PostPosted: Mon Jun 30, 2014 5:23 am
by DenyAll
This file will be transcoded (TrueHD will trigger transcoding of the audio). You should be able to set your subtitle options to extract the embedded subtitles and burn them into the transcoded video.

Not sure why that isn't working. Another option (and one that I would do) is to remux your MKV file, moving the AC3 audio to be the first audio track. MKVmerge should do it, otherwise XMedia Recode using the copy stream options will. This should then enable the MKV to be played natively (in all but the 2010 models) which is always preferred to transcoding and may hopefully also fix the subtitle issue.

Re: Subtitles not working for specific file.

PostPosted: Mon Jun 30, 2014 4:42 pm
by Stomp
Tried to remux it and setting AC3 audio as default audio, but still subtitles are not working. And I have a 2011 VT30 series Panasonic TV.

Re: Subtitles not working for specific file.

PostPosted: Tue Jul 01, 2014 11:43 am
by DenyAll
OK, perhaps try the Generic Profile (this will ensure it's not being transcoded - it shouldn't be now that the primary audio is AC3 but this will double check it). I havent got a VT30 - I believe they support embedded subs in MKV containers natively (ie. do any other MKV's with embedded subs play without transcoding) but I could be wrong.

ps. I also should have said in my earlier post for this test the Delivery, Subtitles setting should only have Subtitles enabled - the other two settings should be off at this stage.

If still not working, two thoughts spring to mind:
  • That the VT30 cannot support embedded subs natively. If so, then the only way you can get it to work is to extract the subs and burn them in during the transcode. On this file however, the file size and bit rate may be an issue - your PC may not be able to extract the subs and transcode it fast enough. You can test this by manually extracting the subs and seeing how long it takes.
  • I'm wondering if the subs themselves are flawed in some way.
If you're up for a play, try a process of:
  1. extracting the subs using ffmpeg - see how long it takes as that may point the first point being the issue and take note of any errors;
  2. test the sub file using srtwiz (see http://wiki.serviio.org/doku.php?id=wikitools)
  3. then burning them in manually using ffmpeg noting the frame rate of the transcode process
You should be able to find the commands for 1 and 3 by examining a detailed log from Serviio when all three checkboxes are on in the Delivery, Subtitles settings - if not come back and I'll chase them up.

Re: Subtitles not working for specific file.

PostPosted: Thu Jul 03, 2014 3:05 pm
by Stomp
I've tried earlier to burn them in, but it was too hard to precess that it wouldn't even play.
Yes, VT30 series support embedded subs natively, I've watched movies with subs earlier.
I turned on Generic DNLA profile and subs were now working, but audio was weird, there was some guy talking over a movie, some kind of documentary or something. Tried setting both audio tracks as default, neither fixed it.

Re: Subtitles not working for specific file.

PostPosted: Fri Jul 04, 2014 12:04 pm
by DenyAll
Weird - you should be able to play this file using the Panasonic 2011 profile natively in the same manner it is doing for the Generic profile - just make sure you only have the first checkbox only checked in the Delivery, Subtitles area.

I think to solve this issue, you may have to re-encode your audio. XMedia Recode will allow you to create multiple audio tracks from the original: so you can re-encode your DTS track to AC3.

Use Xmedia Recode to create a new version of the file - set the video track to copy, subtitles to copy but set the audio to convert DTS to AC3 for the first audio track. You may also want to keep the original audio - DTS as the second audio, and the other AC3 (which I suspect is a commentary track) as the third, by copying these. Using copy on the video and on the original audio tracks will ensure no loss in quality.

Doing all this should enable you to play the file natively with subtitle support. I suspect you cannot burn them in during a transcode due the file size/bit rate ie. cannot do it fast enough.