Page 1 of 1

Burned-in subtitles not working with KDL-60R550A

PostPosted: Mon Aug 12, 2013 2:07 am
by sysrage
Whenever I check the box to "Enable burned-in subtitles", my Sony KDL-60R550A won't play any videos that either have embedded subs or contain a SRT file in the same directory. When trying to view videos in these cases, the TV gets stuck for 30+ seconds then just says unable to play video. If I uncheck the box for "Enable burned-in subtitles", the videos play perfectly (but without subtitles). Unfortunately, the TV also doesn't appear to like subtitles that aren't burned-in. It always says subtitles are not available, if I try to enable them on the TV.

Can anybody point me in the right direction to either fix burned-in subtitles or get my TV to show the external subtitles? Below is a Serviio debug log taken while attempting to play a video which contains embedded subtitles when "Enable burned-in subtitles" is checked. I've also provided ffmpeg -i info and mediainfo data for the same video file. I've tried using both the ffmpeg.exe that comes with Serviio 1.3 and the latest Zeranoe build. Both behave the same way. I am using the "Sony Bravia TV (2012) - US" profile. I've tried others with no change in behavior.

Serviio Debug Log:
http://filebin.ca/rD1HVIPqNv4/serviio-subs-debug.log

ffmpeg.exe -i output:
  Code:
C:\Program Files\Serviio\lib>ffmpeg.exe -i "e:\Downloads\Movies\Pan's Labyrinth
(2006)\Pan's Labyrinth.mkv"
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 18 2013 10:49:28 with gcc 4.7.2 (GCC)
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtm
p --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --extr
a-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --a
rch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross
-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'e:\Downloads\Movies\Pan's Labyrinth (2006)\Pan's
Labyrinth.mkv':
  Metadata:
    creation_time   : 2010-06-23 16:21:53
  Duration: 02:07:52.20, start: 0.000000, bitrate: 12281 kb/s
    Chapter #0.0: start 0.000000, end 433.600000
    Metadata:
      title           : 00:00:00.000
    Chapter #0.1: start 433.600000, end 671.963000
    Metadata:
      title           : 00:07:13.600
    Chapter #0.2: start 671.963000, end 1474.014000
    Metadata:
      title           : 00:11:11.963
    Chapter #0.3: start 1474.014000, end 1783.407000
    Metadata:
      title           : 00:24:34.014
    Chapter #0.4: start 1783.407000, end 2295.627000
    Metadata:
      title           : 00:29:43.407
    Chapter #0.5: start 2295.627000, end 2613.611000
    Metadata:
      title           : 00:38:15.627
    Chapter #0.6: start 2613.611000, end 3205.244000
    Metadata:
      title           : 00:43:33.611
    Chapter #0.7: start 3205.244000, end 3738.151000
    Metadata:
      title           : 00:53:25.244
    Chapter #0.8: start 3738.151000, end 4059.639000
    Metadata:
      title           : 01:02:18.151
    Chapter #0.9: start 4059.639000, end 4586.665000
    Metadata:
      title           : 01:07:39.639
    Chapter #0.10: start 4586.665000, end 5094.548000
    Metadata:
      title           : 01:16:26.665
    Chapter #0.11: start 5094.548000, end 5470.298000
    Metadata:
      title           : 01:24:54.548
    Chapter #0.12: start 5470.298000, end 5838.207000
    Metadata:
      title           : 01:31:10.298
    Chapter #0.13: start 5838.207000, end 6398.642000
    Metadata:
      title           : 01:37:18.207
    Chapter #0.14: start 6398.642000, end 6722.049000
    Metadata:
      title           : 01:46:38.642
    Chapter #0.15: start 6722.049000, end 7672.200000
    Metadata:
      title           : 01:52:02.049
    Stream #0:0(spa): Video: h264 (High), yuv420p, 1920x1038, SAR 1:1 DAR 320:17
3, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      title           : Pan's Labyrinth (2006)
    Stream #0:1(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      title           : AC3 5.1 @ 640 kbps
    Stream #0:2(eng): Audio: aac, 48000 Hz, stereo, fltp
    Metadata:
      title           : Commentary
    Stream #0:3(cze): Subtitle: subrip
    Stream #0:4(dan): Subtitle: subrip
    Stream #0:5(dut): Subtitle: subrip
    Stream #0:6(eng): Subtitle: subrip
    Stream #0:7(fin): Subtitle: subrip
    Stream #0:8(fre): Subtitle: subrip
    Stream #0:9(ger): Subtitle: subrip
    Stream #0:10(hrv): Subtitle: subrip
    Stream #0:11(hun): Subtitle: subrip
    Stream #0:12(nor): Subtitle: subrip
    Stream #0:13(pol): Subtitle: subrip
    Stream #0:14(por): Subtitle: subrip
    Stream #0:15(por): Subtitle: subrip
    Stream #0:16(rum): Subtitle: subrip
    Stream #0:17(slv): Subtitle: subrip
    Stream #0:18(srp): Subtitle: subrip
    Stream #0:19(swe): Subtitle: subrip
    Stream #0:20(vie): Subtitle: subrip
At least one output file must be specified


mediainfo output:
  Code:
General
Unique ID                                : 241683810326527348655980978426790916991 (0xB5D29BD6435EA5D493FB64FCCE8DB37F)
Complete name                            : E:\Downloads\Movies\Pan's Labyrinth (2006)\Pan's Labyrinth.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 11.0 GiB
Duration                                 : 2h 7mn
Overall bit rate                         : 12.3 Mbps
Encoded date                             : UTC 2010-06-23 16:21:53
Writing application                      : mkvmerge v4.0.0 ('The Stars were mine') built on Jun  5 2010 17:44:09
Writing library                          : libebml v1.0.0 + libmatroska v1.0.0

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                                 : 2h 7mn
Nominal bit rate                         : 12.5 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 038 pixels
Display aspect ratio                     : 1.85:1
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.262
Title                                    : Pan's Labyrinth (2006)
Writing library                          : x264 core 98 r1649 20cbe10
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=tesa / subme=10 / psy=1 / psy_rd=1.10:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=12500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.80
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 7mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : 14ms
Stream size                              : 585 MiB (5%)
Title                                    : AC3 5.1 @ 640 kbps
Language                                 : Spanish
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : A_AAC
Duration                                 : 2h 7mn
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz / 24.0 KHz
Compression mode                         : Lossy
Title                                    : Commentary
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Czech
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Danish
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Dutch
Default                                  : No
Forced                                   : No

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

Text #5
ID                                       : 8
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Finnish
Default                                  : No
Forced                                   : No

Text #6
ID                                       : 9
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : French
Default                                  : No
Forced                                   : No

Text #7
ID                                       : 10
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : German
Default                                  : No
Forced                                   : No

Text #8
ID                                       : 11
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Croatian
Default                                  : No
Forced                                   : No

Text #9
ID                                       : 12
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Hungarian
Default                                  : No
Forced                                   : No

Text #10
ID                                       : 13
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Norwegian
Default                                  : No
Forced                                   : No

Text #11
ID                                       : 14
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Polish
Default                                  : No
Forced                                   : No

Text #12
ID                                       : 15
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Portuguese
Default                                  : No
Forced                                   : No

Text #13
ID                                       : 16
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Portuguese
Default                                  : No
Forced                                   : No

Text #14
ID                                       : 17
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Romanian
Default                                  : No
Forced                                   : No

Text #15
ID                                       : 18
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Slovenian
Default                                  : No
Forced                                   : No

Text #16
ID                                       : 19
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Serbian
Default                                  : No
Forced                                   : No

Text #17
ID                                       : 20
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Swedish
Default                                  : No
Forced                                   : No

Text #18
ID                                       : 21
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : Vietnamese
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : :00:00:00.000
00:07:13.600                             : :00:07:13.600
00:11:11.963                             : :00:11:11.963
00:24:34.014                             : :00:24:34.014
00:29:43.407                             : :00:29:43.407
00:38:15.627                             : :00:38:15.627
00:43:33.611                             : :00:43:33.611
00:53:25.244                             : :00:53:25.244
01:02:18.151                             : :01:02:18.151
01:07:39.639                             : :01:07:39.639
01:16:26.665                             : :01:16:26.665
01:24:54.548                             : :01:24:54.548
01:31:10.298                             : :01:31:10.298
01:37:18.207                             : :01:37:18.207
01:46:38.642                             : :01:46:38.642
01:52:02.049                             : :01:52:02.049

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Mon Aug 12, 2013 2:22 am
by sysrage
I ran the following command and it took 3-4 minutes to successfully rip the embedded subtitles out of the MKV.

  Code:
ffmpeg.exe -i "E:\Downloads\Movies\Pan's Labyrinth (2006)\Pan's Labyrinth.mkv" -y -an -vn -map 0:6 -c:s copy -f srt E:\Transcode\Serviio\blah.srt


I would guess that this rip of the embedded subs taking so long is what's causing the transcoding to fail and my TV to not display the video. However, I see the same problem if I use an external SRT file. So, I wouldn't think that'd be the cause.

Any help would be much appreciated. Thanks in advance!

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Mon Aug 12, 2013 8:16 am
by Illico
sysrage wrote:Any help would be much appreciated. Thanks in advance!


Does "E:\Downloads" is an external or local drive.
On FAQ, you can read this :
WARNING: Embedded subtitles might not work for some (large) files, due to the time needed to extract them. It's even more true if the file is stored on a remote drive.

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Tue Aug 13, 2013 12:58 am
by sysrage
It's a local drive. Also, that doesn't explain why the same failure occurs when using external SRT files.

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Wed Aug 14, 2013 12:35 am
by sysrage

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Wed Aug 14, 2013 12:55 pm
by zip
Disable Embedded subtitles and enable Burned-in. Does that work for the external .srt?

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Thu Aug 15, 2013 2:11 am
by sysrage
zip wrote:Disable Embedded subtitles and enable Burned-in. Does that work for the external .srt?


No, it doesn't. Same failure.

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Thu Aug 15, 2013 8:20 am
by zip
can you post detailed log with this setup of playing the file?

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Fri Aug 16, 2013 2:32 am
by sysrage
zip wrote:can you post detailed log with this setup of playing the file?


I already posted a detailed log with both burned-in subtitles and embedded subtitles enabled. If, for some reason, that's not enough, I'll grab a new log with embedded subtitles disabled, burned-in subtitles enabled, and a SRT file.

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Fri Aug 16, 2013 10:57 am
by zip
sysrage wrote:
zip wrote:can you post detailed log with this setup of playing the file?


I already posted a detailed log with both burned-in subtitles and embedded subtitles enabled. If, for some reason, that's not enough, I'll grab a new log with embedded subtitles disabled, burned-in subtitles enabled, and a SRT file.

Yes please

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Sun Aug 18, 2013 1:25 am
by sysrage
Version 1.3.1 fixed burned-in subtitles when a SRT file is available. The video files still fail to play if extraction of embedded subtitles is enabled, though. Anything I can gather to help you fix embedded subtitles?

Re: Burned-in subtitles not working with KDL-60R550A

PostPosted: Sun Aug 18, 2013 9:34 am
by zip
As stated above, if it takes a long time to extract them it'll fail. Until FFmpeg rework the way burned in subs work, that's all I can do.