Page 1 of 1

External .srt not showing

Posted: Sat Aug 09, 2014 9:23 pm
by evrenyeni
I have recently changed my TV from Samsung ES 7000 to H 7000.

Playing mkvs with external .srt subtitles were ok with my wd mybooklive (twonky 7.2.6-2 installed) and es7000.

But with h7000, there is no external .srt subtitles showing. (Embedded subtitles are ok)

Does anybody know any solution?

Re: External .srt not showing

Posted: Sun Aug 10, 2014 12:54 am
by phibertron
it might be this, it might not be
maybe the new one doesn't support external subs via dlna, maybe it does, maybe it doesn't,
does it state this anywhere that you can find, as it might have changed

Do you remember what Twonky detected the ES 7000 as?
What is it detecting the H 7000 as?

Re: External .srt not showing

Posted: Sun Aug 10, 2014 12:20 pm
by evrenyeni
I could not reach any info from Samsung if H7000 series support external subtitle or not.

After doing some google search, i found this review;

http://www.avforums.com/review/samsung- ... view.10391

which has a comment saying;

"No playing mkv with external subs(srt) from nas server"

So it seems that other people are facing this issue too.

I do not remember how twonky detects es7000. The H 7000 is detecting by twonky as "Samsung Smart TV".

Re: External .srt not showing

Posted: Sun Aug 10, 2014 4:16 pm
by phibertron
I wen to the Samsung site for the tv here
http://www.samsung.com/au/consumer/tv-a ... H7000AWXXY

then downloaded the user manual here

Code: Select all

http://downloadcenter.samsung.com/content/UM/201403/20140331193420198/[ENG]X14DVBADH-0327.pdf
I looked through the manual to see if said one way or the other, and didn't find anything about ti
But , on page 211, I found the below information on subtitles
while it still doesn't completely answer the question
There is one thing to try
put a supported video and supported external subtitle file onto a usb stick
and see if playing it via usb works or not
but be aware that what works on usb doesn't always work with the TV's dlna client
Supported External Subtitles

.ttxt MPEG-4 Timed text
.smi SAMI
.srt SubRip
.sub SubViewer
.sub Micro DVD .sub or .txt
.txt Micro DVD
.ssa SubStation Alpha
.ass Advanced SubStation Alpha
.psb Powerdivx
.xml SMPTE-TT Text
Supported Internal Subtitles

AVI Xsub
MKV SubStation Alpha
MKV Advanced SubStation Alpha
MKV SubRip
MKV VobSub
MP4 MPEG-4 Timed text
MP4 TTML in smooth streaming
MP4 SMPTE-TT TEXT MP4
MP4 SMPTE-TT PNG MP4

Re: External .srt not showing

Posted: Sun Aug 10, 2014 5:20 pm
by evrenyeni
I copied an .mkv and .srt to a usb stick. When playing the movie, the subtitles were displayed correctly.

So it seems that h7000 can show external subtitles from usb, but there is a problem when playing from dlna.

Re: External .srt not showing

Posted: Sun Aug 10, 2014 6:37 pm
by phibertron
So we now know it can use external subs from usb
Now the question is whether or not this will work via dlna
remember, what works via usb is not guaranteed to work via dlna

To see if it can do this from dlna lets see if the Samsung AllShare can do it
and or adjust the twonky client profile for the tv

Samsung didn't make this easy for me to figure out
But if you try to download the AllShare app, which is now called Samsung Link, a cloud version
all the links were dead or had me going in circles
But I was able to find it here
http://www.samsung.com/africa_en/suppor ... -downloads
I you have a pc to test this on, you could install it there
copy over a video and srt and see if it works via dlna using the Samsung AllShare

Re: External .srt not showing

Posted: Sun Aug 10, 2014 6:40 pm
by phibertron
if it didn't work with Samsung AllShare, we could try to see if making a change to the client xml might help
I know that at some point in time they added a mime type translation to get subs working on LG TV's
but I don't know if it was related to external or internal subs issues
<MimeTranslations>
<MimeTypeMapping>
<In>application/x-srt</In>
<Out>text/srt</Out>
</MimeTypeMapping>
</MimeTranslations>
To be able to do this on your nas, you will have to enable SSH acess
connect to the ip of your nas with this url, x.x.x.x is the ip of your nas

Code: Select all

http://x.x.x.x/UI/ssh
I would use WinSCP as your SSH client for ease of editing "Samsung_Smart_TV.xml"

http://winscp.net/eng/index.php

Once SSH is enabled,
using WinSCP connect to the IP of the WD
(login : root, password : welc0me) are the credentials needed to log in

The file you want to edit is most likely in this path, or one very similar to it

Code: Select all

/usr/local/twonkyserver/resources/devicedb/Samsung
If you browse to it, and then double click on the file "Samsung_Smart_TV.xml"
it will open in the winscp's default editor
In the existing <MimeTranslations> section
there are already a couple <MimeTypeMapping> sections
add this right below it, just like the other ones that are already there are
<MimeTypeMapping>
<In>application/x-srt</In>
<Out>text/srt</Out>
</MimeTypeMapping>
Save the file and then close it
a twonky server restart is needed for changes to take effect

From the WD web interface stop the twonky server, then renable it

What we just did is either going to work or it isn't

Re: External .srt not showing

Posted: Sun Aug 10, 2014 11:29 pm
by evrenyeni
Tried the combinations as instructed:

1- Installed Samsung AllShare > copied a video and srt to shared folder > H7000 showed external subtitle over the mkv
So it works.

2- Added the mentioned "<MimeTranslations>" to the "Samsung_Smart_TV.xml" > Rebooted twonky > No external subtitles on H7000 while playing the related mkv
It does not seem to be working.

Re: External .srt not showing

Posted: Mon Aug 11, 2014 5:28 am
by phibertron
well at least we now know that ext subs work via dlna

I was looking at the revision history
http://twonkyforum.com/viewtopic.php?f= ... 702#p34695

and noticed this

Twonky Server 7.2.8
================
· Add subtitle (closed caption) support for newest LG and Samsung TV sets.

I might be worth a shot in first testing 7.2.8 on a pc, to see if it what they say works

http://www.twonkyforum.com/downloads/7.2.8/

.

Re: External .srt not showing

Posted: Mon Aug 11, 2014 9:01 am
by evrenyeni
I have updated Mybook Live's Twonky to 7.2.8
and also installed this version to PC. Then I tried to play
the same movie and subtitle from PC's Twonky Server and also from Mybook Live's.

Result: No external srt subtitles showing.

I want to note that, embedded subtitles (mkv) are displaying correctly.

Re: External .srt not showing

Posted: Mon Aug 11, 2014 3:39 pm
by phibertron
I hate it when that happens, a revisions says one thing, and the result is another

I know you mentioned it worked with the older tv
But just for clarification, the .srt file is in the same folder as the movie
and the filename of the movie are exactly the same except for the extentions?

Does changing the client profile from "Samsung Smart TV" to "Samsung TV" help at all?

This is a wild guess
But I "· Add subtitle (closed caption) support for newest LG and Samsung TV sets."
Most likely means actual CC subs
One quick way to check, is to see if using the CC button on the remote makes it work for an external sub
Or
to make a copy of an srt file for a movie and change it from .srt to .smi
you might have do a rescan/rebuild of the db for the file to be picked up

side note:
earlier I mentioned trying to add the mimtype conversion for the srt
when doing some searching on the CC thing
I stumbld across a post on the servioo forums, http://forum.serviio.org/viewtopic.php?f=10&t=5261
In which it looks servioo, is actually changing srt mimetype to CC in the profile
Im not saying this is the answer, but it is interesting that is what they are doing
<SubtitlesMimeType>smi/caption</SubtitlesMimeType>

If you were wondering, it would probably look like this
but it does beg the question, where in the profile or in 7.2.8, did twonky add the cc changes they mentioned
as I've looked at a lot files, and to me it must be inside the server code if it exists, its now where that I can see

<MimeTranslations>
<MimeTypeMapping>
<In>application/x-srt</In>
<Out>smi/caption</Out>
</MimeTypeMapping>
</MimeTranslations>

Re: External .srt not showing

Posted: Mon Aug 11, 2014 9:32 pm
by evrenyeni
Thank you for your great effort about solving this problem. You never get tired of making research and giving ideas after ideas. Thank you very much.

These are the results/answers of your suggestions/questions:

1. Yes, the .srt file is in the same folder as the movie and the filename of the movie are exactly the same except for the extentions.

2. Changing the client profile from "Samsung Smart TV" to "Samsung TV" did not work.

3. After pressing the CC button on the remote, TV does not react except showing the sign "Not Applicable"

4. Changed the subtitles extension from .srt to .smi and restarted Twonky server. It did not work too.

5. Added the mentioned "<MimeTranslations>" text in to the "Samsung_Smart_TV.xml" and the result is the same: No external subtitles showing.

I think we are getting closer to the solution because we have eliminated a lot of options.

Re: External .srt not showing

Posted: Mon Aug 11, 2014 9:48 pm
by phibertron
evrenyeni wrote: Thank you for your great effort about solving this problem. You never get tired of making research and giving ideas after ideas. Thank you very much.
Your Welcome =)
5. Added the mentioned "<MimeTranslations>" text in to the "Samsung_Smart_TV.xml" and the result is the same: No external subtitles showing.
Just checking, when you edited the xml and added the smi/caption mime translation
do you restart the server? as a restart is needed for changes to take effect
I think we are getting closer to the solution because we have eliminated a lot of options.
That we have, I just hope this is one we can solve, and not have to wait for Twonky fix in there code

Re: External .srt not showing

Posted: Mon Aug 11, 2014 9:53 pm
by phibertron
Got another thing to check,
depending on where you got your .srt file from, its possible that it could be the wrong format
It would need to be in UTF-8 or ASCII as far as I can tell

Re: External .srt not showing

Posted: Tue Aug 12, 2014 12:23 am
by phibertron
I wonder if doing this might help?

Something similar is used in the "Samsung_TV.xml" but for different file types
<ExtraProtocolInfo>http-get:*:text/srt:*</ExtraProtocolInfo>
In the current "Samsung_Smart_TV.xml"
this would be placed in Adaptations section, like below

</MimeTranslations>
<ExtraProtocolInfo>http-get:*:text/srt:*</ExtraProtocolInfo>
</Adaptations>
Also along the way on my quest I stumbled on these fellows, there may be more out there, who knows...
http-get:*:application/x-srt:*,http-get:*:application/x-sub:*,http-get:*:text/srt:*,http-get:*:text/sub:*
I think that maybe if we query the tv with some upnp tools, it might tell us what its looking for, it might not

Re: External .srt not showing

Posted: Tue Aug 12, 2014 9:40 pm
by evrenyeni
I restart the server every time I make changes in the samsung smart tv xml file or on the server config.

I am using the same mkv and srt files at tests and the srt's encoding is ANSI. I think there is nothing wrong with the subtitle file because the TV shows this subtitle when playing from AllShare server at the PC.

I put the "ExtraProtocolInfo" strings one by one and all together to the mentioned place, non of them works...

If you tell me which upnp tool to use and also how to use it, I can query the TV.

Re: External .srt not showing

Posted: Wed Aug 13, 2014 2:28 am
by phibertron
Bummer

Over on the Serviio forums, there is some info on the Intel UPnP tools

HOWTO: Provide supported formats of a device
http://forum.serviio.org/viewtopic.php?f=5&t=19

Re: External .srt not showing

Posted: Thu Aug 14, 2014 9:12 pm
by evrenyeni
Installed Intel UPnP tools but it could not detect the tv.

Re: External .srt not showing

Posted: Fri Aug 15, 2014 1:10 am
by phibertron
Possible causes
- firewall on pc
- twonky server running on pc
- on the tv, do you have to allow media servers? maybe the tool has to be allowed?
- maybe have the start playing something from twonky first?

Re: External .srt not showing

Posted: Sun Aug 17, 2014 6:05 pm
by evrenyeni
- I turned off the firewall on PC
- Closed the twonky server running on the PC.
- On the TV, I could not found any settings to allow media players
- I started playing something from twonky server, then run a new scan

non of the above works.

Re: External .srt not showing

Posted: Sun Aug 17, 2014 9:53 pm
by phibertron
Aight, I'll play with the tool and see what I see, maybe there is something else to do

Re: External .srt not showing

Posted: Fri Sep 26, 2014 12:04 pm
by evrenyeni
Last night the TV software updated automatically and Voilà!

External .srt subtitles are showing correctly when playing MKV's from Mybooklive on the TV. (Twonky server is the same, no update has been performed since the last post)

The problem has been solved.

Re: External .srt not showing

Posted: Fri Sep 26, 2014 8:40 pm
by phibertron
NICE!

Thanks for the update, glad to hear its now working