Page 1 of 1

Subtitles with LS5600

PostPosted: Wed May 08, 2013 6:58 pm
by jakubk
Hi! First of all, let me say that while being a geek, I don't really know a lot about multimedia stuff.

Basically I bought a new LG 32LS5600 a couple of days ago and have already spent a couple of hours tweaking Serviio profiles to get the subtitles working. I have had the best results with the basic PS3 profile, which at least plays majority of my MKVs including sound but I haven't managed to get any kind of subtitles to show. I have noticed an interesting thing with any of the profiles - if I enable the "burn-in subtitle" feature, the video just starts to load and the TV freezes and I have to unplug it from the wall.

Has anybody managed to get subtitles working with LG TVs? I have read perhaps everything on the topic here on these forums but haven't had any luck in making it work... Cheers!

This is my Device Spy output
http-get:*:audio/l16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/l16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-avi:*,http-get:*:video/mpeg:*,http-get:*:video/avi:*,http-get:*:video/mp4:*,http-get:*:video/x-matroska:*,http-get:*:video/3gpp:*,http-get:*:video/x-msvideo:*

Re: Subtitles with LS5600

PostPosted: Wed May 08, 2013 8:53 pm
by slyguy42o
have you tried the burned in sub option yet?

Re: Subtitles with LS5600

PostPosted: Wed May 08, 2013 9:59 pm
by jakubk
Yes I have tried it and as I said in the original post, the TV just freezes when I try to play a movie with that option turned on:(

Re: Subtitles with LS5600

PostPosted: Thu May 09, 2013 3:36 pm
by slyguy42o
sorry I missed that tidbit. can you enabled detailed logging and post a copy of your server logs?

Re: Subtitles with LS5600

PostPosted: Thu May 09, 2013 4:19 pm
by zip
LG should play subs without the need to burn them in. NOt sure if it's only for some models / file types though.

Re: Subtitles with LS5600

PostPosted: Thu May 09, 2013 6:05 pm
by jakubk
Hi again,

I have uploaded a .zip containing four logs (see description below). In all four cases I was trying to play The Hobbit in .mkv with embedded Czech and English subtitles.

pc5dczc_ps3_burnedsubs_false - PS3 profile; burn-in subtitles option is off - if the .mkv doesn't contain subtitles, it will play ok. However, if it does contain subtitles, the TV's media browser will show a different icon and it is not possible to open the movie (TV ignores button presses)
pc5dczc_ps3_burnedsubs_true - PS3 profile; burn-in subtitles option is on - mkv with subtitles will start opening, but after a couple of seconds the TV gets stuck
pc5dczc_generic_burnedsubs_false - Generic profile; burn-in subtitles option is off - all movies play OK but without sound (that is expected as the TV doesn't support DTS) and subtitles
pc5dczc_generic_burnedsubs_true - Generic profile; burn-in subtitles option is on - same as pc5dczc_ps3_burnedsubs_true

Huh, I hope I have written everything correctly, but it should be OK:) Could anyone please have a look at the logs? Perhaps we'll be able to figure something out together.

Thanks again!

Re: Subtitles with LS5600

PostPosted: Fri May 10, 2013 4:29 pm
by zip
I'm not sure if the player supports embedded subtitles. I was talking about external (.srt) subtitles.

Re: Subtitles with LS5600

PostPosted: Sat May 11, 2013 10:23 am
by jakubk
Does the player have to support embedded subtitles? I thought that Serviio can extract embedded subtitles and serve them to the TV in the same way as external. If it is not capable of doing that, could you add a feature like this in the next release, Petr? That would be great!

Re: Subtitles with LS5600

PostPosted: Mon May 13, 2013 10:22 am
by zip
Yes, it supports it (if you enable embedded subtitles in the console). If you then disable burned-in subs, it should extract them and serve as external resource. The extraction might take a long time though (espcially with huge files an/ord files on remote drives or with slow IO), in which case the TV might timeout. You should see the extraction happening when you enable detailed log.

Also for the extraction to work you have to chose preferred language code(s) and set them in the console.

Re: Subtitles with LS5600

PostPosted: Mon May 13, 2013 7:36 pm
by jakubk
Petr, I have tried to embed subtitles (which work great on my TV when used as external) into a mkv and they are extracted succesfully by Serviio (at least I think so according to the log). However, the TV doesn't display them. Could you please take a look at the log attached if you see anything wrong? Ctrl+F for this line "2013-05-13 21:29:45,969 DEBUG [SubtitlesService] Found embedded subtitle track: 0 (cze)", that's the first occurence of the subtitles in the log.

Thank you so much for you help!

Re: Subtitles with LS5600

PostPosted: Tue May 14, 2013 11:32 pm
by zip
It looks fine. The TV makes about 3 requests for the subtitles file, but it takes about 10 - 15 seconds to respond to the request (to extract the subs file). It actually requests the mkv before it gets the subtitle back.

So it either times out and gives up, or the subtitle file is damaged. But assuming it works when served as external srt, I'd say it's the first case.

You can try to simulate the request by opening this in browser to see how long it takes to return the file.

  Code:
http://192.168.1.35:8895/resource/632/SUBTITLE.srt

Re: Subtitles with LS5600

PostPosted: Fri May 17, 2013 5:36 pm
by jakubk
It takes exactly 30 seconds to return the file from the link, that's quite long... is there any way to speed it up?

Re: Subtitles with LS5600

PostPosted: Sat May 18, 2013 12:01 pm
by jakubk
I have noticed another thing. I can't play external .srt subtitles using the default LG TV profile in Serviio, but the subtitles play OK using the Generic profile (but without sound due to the lack of support of DTS on my TV). So basically all I need is a combination of the generic profile + DTS transcoding into AC3.

I have edited the default LG profile like this but it didn't achieve what I wanted, I'm unable to play my MKV movie again if there are any subtitles in the folder that have the same name (other MKVs work OK)
  Code:
   <Profile id="8" name="LG TV / player" extendsProfileId="1">       
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" aCodec="dca" />
         </Video>
      </Transcoding>
      <Subtitles>
         <SoftSubs mime-type="text/srt" />         
      </Subtitles>   
   </Profile>


How do create a profile that's a copy of the generic one only with support of transcoding DTS into AC3?

Re: Subtitles with LS5600

PostPosted: Wed May 22, 2013 1:46 pm
by zip
This profile looks fine.

Can you confirm if you can play:

1. non-mkv with external .srt
2. mkv with non-dts audio
3. mkv with dts audio
4. mkv with non-dts audio + srt
5. mkv with dts audio + srt

And provide detailed log for those that don't work (from browsing to the file + pressing the play button)