Page 1 of 2
v1.2 - does not display .MKV embedded subtitles on C-series

Posted:
Sat Mar 02, 2013 4:08 pm
by obermotz
Hi,
both "Enable subtitles" and "Enable extraction of subtitles embedded" are checked but my TV does not display any embedded subtitles (external .SRT subtitles display fine tough). Any ideas how to make this work?
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sat Mar 02, 2013 4:30 pm
by Illico
Could you enable
detailed logging ?
Could you provide details about your file (see signature links) ?
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sat Mar 02, 2013 8:41 pm
by Johnnyslt
i have the same problem
log attached
samsung LE32D550
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sun Mar 03, 2013 8:45 am
by Illico
@Johnnyslt: mkv are delivered in native format. What is your serviio console settings for subtitles ?
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sun Mar 03, 2013 12:08 pm
by zip
Did you enter preferred languages in the console? Without it it won't pick any embedded subs.
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sun Mar 03, 2013 9:41 pm
by Johnnyslt
here are my settings and movie that i've tried :

btw transcoding is disabled...is it required?
new log attched
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Sun Mar 03, 2013 11:42 pm
by zip
Is D drive a local dri ve? How long does this command take?
- Code:
ffmpeg.exe -i "D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD.mkv" -y -an -vn -map 0:2 -c:s srt -f srt d:\testsubs.srt
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Mon Mar 04, 2013 10:12 pm
by Johnnyslt
- Code:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\ffmpeg.exe -i "D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.20
12.BluRay.1080p.x264-xHD.mkv" -y -an -vn -map 0:2 -c:s srt -f srt d:\testsubs.srt
ffmpeg version N-50442-g4f0d4ac Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 2 2013 15:30:48 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --
enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enab
le-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enabl
e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, matroska,webm, from 'D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.201
2.BluRay.1080p.x264-xHD.mkv':
Metadata:
title : Morhpy @ xHD Team!
creation_time : 2013-02-25 16:44:39
Duration: 01:50:15.07, start: 0.000000, bitrate: 9936 kb/s
Chapter #0.0: start 0.000000, end 369.286000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 369.286000, end 917.708000
Metadata:
title : 00:06:09.286
Chapter #0.2: start 917.708000, end 1236.068000
Metadata:
title : 00:15:17.708
Chapter #0.3: start 1236.068000, end 1828.243000
Metadata:
title : 00:20:36.068
Chapter #0.4: start 1828.243000, end 2195.068000
Metadata:
title : 00:30:28.243
Chapter #0.5: start 2195.068000, end 2660.825000
Metadata:
title : 00:36:35.068
Chapter #0.6: start 2660.825000, end 2952.408000
Metadata:
title : 00:44:20.825
Chapter #0.7: start 2952.408000, end 3269.433000
Metadata:
title : 00:49:12.408
Chapter #0.8: start 3269.433000, end 3742.447000
Metadata:
title : 00:54:29.433
Chapter #0.9: start 3742.447000, end 4189.143000
Metadata:
title : 01:02:22.447
Chapter #0.10: start 4189.143000, end 4512.633000
Metadata:
title : 01:09:49.143
Chapter #0.11: start 4512.633000, end 4795.833000
Metadata:
title : 01:15:12.633
Chapter #0.12: start 4795.833000, end 5206.410000
Metadata:
title : 01:19:55.833
Chapter #0.13: start 5206.410000, end 5857.351000
Metadata:
title : 01:26:46.410
Chapter #0.14: start 5857.351000, end 6223.968000
Metadata:
title : 01:37:37.351
Chapter #0.15: start 6223.968000, end 6615.067000
Metadata:
title : 01:43:43.968
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Metadata:
title : French DTS 1509kbps
Stream #0:2(rum): Subtitle: subrip (default) (forced)
Metadata:
title : Romana (xHD) myxz.org
Output #0, srt, to 'd:\testsubs.srt':
Metadata:
title : Morhpy @ xHD Team!
encoder : Lavf54.63.102
Chapter #0.0: start 0.000000, end 369.286000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 369.286000, end 917.708000
Metadata:
title : 00:06:09.286
Chapter #0.2: start 917.708000, end 1236.068000
Metadata:
title : 00:15:17.708
Chapter #0.3: start 1236.068000, end 1828.243000
Metadata:
title : 00:20:36.068
Chapter #0.4: start 1828.243000, end 2195.068000
Metadata:
title : 00:30:28.243
Chapter #0.5: start 2195.068000, end 2660.825000
Metadata:
title : 00:36:35.068
Chapter #0.6: start 2660.825000, end 2952.408000
Metadata:
title : 00:44:20.825
Chapter #0.7: start 2952.408000, end 3269.433000
Metadata:
title : 00:49:12.408
Chapter #0.8: start 3269.433000, end 3742.447000
Metadata:
title : 00:54:29.433
Chapter #0.9: start 3742.447000, end 4189.143000
Metadata:
title : 01:02:22.447
Chapter #0.10: start 4189.143000, end 4512.633000
Metadata:
title : 01:09:49.143
Chapter #0.11: start 4512.633000, end 4795.833000
Metadata:
title : 01:15:12.633
Chapter #0.12: start 4795.833000, end 5206.410000
Metadata:
title : 01:19:55.833
Chapter #0.13: start 5206.410000, end 5857.351000
Metadata:
title : 01:26:46.410
Chapter #0.14: start 5857.351000, end 6223.968000
Metadata:
title : 01:37:37.351
Chapter #0.15: start 6223.968000, end 6615.067000
Metadata:
title : 01:43:43.968
Stream #0:0(rum): Subtitle: srt (default) (forced)
Metadata:
title : Romana (xHD) myxz.org
Stream mapping:
Stream #0:2 -> #0:0 (subrip -> srt)
Press [q] to stop, [?] for help
size= 96kB time=01:43:50.89 bitrate= 0.1kbits/s
video:0kB audio:0kB subtitle:96 global headers:0kB muxing overhead 0.000000%
it took 3-4 minutes to extract the sub
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Mon Mar 04, 2013 10:37 pm
by zip
How long does this take?
- Code:
ffmpeg.exe -i "D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD.mkv" -y -an -vn -map 0:2 -c:s copy -f raw d:\testsubs.sub
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Tue Mar 05, 2013 12:33 am
by djhojd
Hi guys
I'm in the exact situation as Johnnyslt, I'm using serviio 1.2 under Ubuntu 12.04 and have the same problem with rum/ro subtitles embedded in all my movies on a D-series. I'm very excited to this new features for the subtitles and can't wait to see them working. How can I help so that we can get to the bottom of this? Should I go thru the same process as Johnnyslt?
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Tue Mar 05, 2013 7:31 am
by Illico
This is probably the same problem:
viewtopic.php?f=7&t=9470I saw this problem during beta testing, but I don't know why ffmpeg extraction was too long...
@Johnnyslt, could you compare extract time with the lastest Zip proposition ?
ffmpeg.exe -i "D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD.mkv" -y -an -vn -map 0:2 -c:s copy -f raw d:\testsubs.sub
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Tue Mar 05, 2013 1:31 pm
by Johnnyslt
I'll do it tonight when I get home.
Btw "D:" is a local drive.
Sent from my Evo 3D GSM using Tapatalk 2
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Tue Mar 05, 2013 9:27 pm
by Johnnyslt
- Code:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Windows\system32>ffmpeg.exe -i "D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia
.2012.BluRay.1080p.x264-xHD.mkv" -y -an -vn -map 0:2 -c:s copy -f raw d:\testsubs.sub
ffmpeg version N-50442-g4f0d4ac Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 2 2013 15:30:48 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --
enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enab
le-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enabl
e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 17.103 / 52. 17.103
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.102 / 54. 63.102
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 41.100 / 3. 41.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, matroska,webm, from 'D:\Asterix.and.Obelix.God.Save.Britannia.2012.BluRay.1080p.x264-xHD\Asterix.and.Obelix.God.Save.Britannia.201
2.BluRay.1080p.x264-xHD.mkv':
Metadata:
title : Morhpy @ xHD Team!
creation_time : 2013-02-25 16:44:39
Duration: 01:50:15.07, start: 0.000000, bitrate: 9936 kb/s
Chapter #0.0: start 0.000000, end 369.286000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 369.286000, end 917.708000
Metadata:
title : 00:06:09.286
Chapter #0.2: start 917.708000, end 1236.068000
Metadata:
title : 00:15:17.708
Chapter #0.3: start 1236.068000, end 1828.243000
Metadata:
title : 00:20:36.068
Chapter #0.4: start 1828.243000, end 2195.068000
Metadata:
title : 00:30:28.243
Chapter #0.5: start 2195.068000, end 2660.825000
Metadata:
title : 00:36:35.068
Chapter #0.6: start 2660.825000, end 2952.408000
Metadata:
title : 00:44:20.825
Chapter #0.7: start 2952.408000, end 3269.433000
Metadata:
title : 00:49:12.408
Chapter #0.8: start 3269.433000, end 3742.447000
Metadata:
title : 00:54:29.433
Chapter #0.9: start 3742.447000, end 4189.143000
Metadata:
title : 01:02:22.447
Chapter #0.10: start 4189.143000, end 4512.633000
Metadata:
title : 01:09:49.143
Chapter #0.11: start 4512.633000, end 4795.833000
Metadata:
title : 01:15:12.633
Chapter #0.12: start 4795.833000, end 5206.410000
Metadata:
title : 01:19:55.833
Chapter #0.13: start 5206.410000, end 5857.351000
Metadata:
title : 01:26:46.410
Chapter #0.14: start 5857.351000, end 6223.968000
Metadata:
title : 01:37:37.351
Chapter #0.15: start 6223.968000, end 6615.067000
Metadata:
title : 01:43:43.968
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Metadata:
title : French DTS 1509kbps
Stream #0:2(rum): Subtitle: subrip (default) (forced)
Metadata:
title : Romana (xHD) myxz.org
[NULL @ 000000000215ea40] Requested output format 'raw' is not a suitable output format
d:\testsubs.sub: Invalid argument
C:\Windows\system32>
ERROR !!!
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Tue Mar 05, 2013 9:50 pm
by zip
That's fine, I gave you a bad command line... I was able to reporoduce the delays in extracting subs, but not sure I can do anything to fix it, especially on very large files.
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Wed Mar 06, 2013 11:53 am
by drago17
hello!
i have the same issue with srt incorporated in mkv.
i have enabled "subtitles" and "extract subtitles", but it dont work.
i got a samsung c6000 and serviio is running on win XP.
if i play external sub (tv reproduce it natively) and i enable the "incorporation" serviio print the sub in video (double sub on screen), so that feature run (i dont need it but is ok).
what can i do to help u to solve the mkv issue?
thanks a lot
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Wed Mar 06, 2013 1:46 pm
by zip
drago17 wrote:if i play external sub (tv reproduce it natively) and i enable the "incorporation" serviio print the sub in video (double sub on screen), so that feature run (i dont need it but is ok).
Do you mean you select enable Burning in and you're seeing both, the burned in and text subtitles at the same time? If yes, it's a bug.
For the embedded subs, it seems it's dependent on the mkv file, if FFmpeg can extract the subtitle file from it quickly, it'll work, otherwise not. No idea how to fix it atm.
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Wed Mar 06, 2013 2:06 pm
by Illico
zip wrote:For the embedded subs, it seems it's dependent on the mkv file, if FFmpeg can extract the subtitle file from it quickly, it'll work, otherwise not. No idea how to fix it atm.
Dependent on the mkv file, probably... and the path too, with a remote path the extraction process was too slow too, but that could be two different problem.
( With mkvtoolnix tools, I also had a different extraction time between local and remote path)
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Wed Mar 06, 2013 2:12 pm
by djhojd
I just used ffmpeg (1.1.3) from a terminal (under Ubuntu 12.04 x64) to extract a srt from The.Hobbit.An.Unexpected.Journey.2012.720p.BluRay.x264 which has time=02:39:29.20, on a SSD SATA3 and took real=0m40.711s. How long is serviio waiting for extraction before starting streaming?
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Wed Mar 06, 2013 3:03 pm
by zip
Currently there is 30 sec timeout. But for example Samsungs start streaming before it gets the extracted subtitle (if it takes a long time), causing the subs to be missing. I thikn this will have to stay as experimental functionality, until FFMpeg implement burning it embedded subtitles (and even them it'll only work proerly with hardsubs, not softsubs - which the Samsungs would support without reencoding).
Is someone here a member of the FFmpeg user mailinglist? Maybe there is some trick to make it faster (e.g. if the subs are stored at the beginning of the file, we would not have to remux the whole file)
Re: v1.2 - does not display .MKV embedded subtitles on C-ser

Posted:
Thu Mar 07, 2013 6:31 am
by Johnnyslt
zip wrote:Currently there is 30 sec timeout. But for example Samsungs start streaming before it gets the extracted subtitle (if it takes a long time), causing the subs to be missing. I thikn this will have to stay as experimental functionality, until FFMpeg implement burning it embedded subtitles (and even them it'll only work proerly with hardsubs, not softsubs - which the Samsungs would support without reencoding).
Is someone here a member of the FFmpeg user mailinglist? Maybe there is some trick to make it faster (e.g. if the subs are stored at the beginning of the file, we would not have to remux the whole file)
Hopefully you will find something to make it work right.
Sent from my Evo 3D GSM using Tapatalk 2