Page 1 of 2

mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 7:10 pm
by pur_berger
Hello!

First - wow - that's some cool Software you have written here - almost working with no changes to be made (only the password issue when trying to get Networkfolders to work). Got almost all of my files to play on my new Samsung.

But ...

I had no luck with mkv and subtitles at all. Reason - I have tons of Animes from the Internet which are basically all mkv's. So - as my Jpanese is somwhere between 0 and 0.5 i really need these tiny little words written on the botom of the screen telling what the guys (and ladies, monsters, mechas, ...) are talking about.

So - I thought you are using ffdshow to do the transcoding - when looking in the config of these (C:\Windows\System32\rundll32.exe ffdshow.ax,configure) I see that Subtitles are enabled there, also the embedded ones. But - nothing displayed on my unit and the Subtitle button of the remote gives me a "not availible" - i doubt this has a function in allshare at all.

So - the questions: Is there a way to enable the subtitle in the transcoding?

THX and Best Regards

Markus

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 8:05 pm
by Cerberus
are subtitles turned on in the tools menu on your TV and correct language selected ?

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 8:27 pm
by pur_berger
Well - that's a little mysterious ...

To explain I've got myself one uf these new D Models - with SmartTV. So - no Manual provided - and the build-in one is crap (to be specific it's a UE32D5700).

So - When I select "TV" as source that's the only setting where I can set Subtitles on or off ove the main menue. In "Language" there's only the option "preffered". All other sources lead to greyd out setting in the Menue.

When using "Tools" Button you also only get within "TV" the option for Subtitle - nowhere else.

Viewing the Video using "Tools" you only get teh bottom Bar with FWD, REV, Picture Size, Sound, but no Subtitle.

By the way - does anyone have a source for a complete Manual for this Samsung?


Regards


Markus

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 9:12 pm
by Cerberus
If the file your playing hasnt got subtitles then the option is not there only when there is subtitles does that option magicly appear in that menu. are they embedded subtitles or SRT files ?

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 9:27 pm
by pur_berger
Embedded - that's the problem. I know that (when named correctly) the TV can identify srt files and some other formats also - but these are not availible as it's a single mkv container. Also you can't simply extract the subtitle (well - you can but it's a format srviio can't work with).

Still - what I don't understand - is serviio not using ffdshow for transcoding - and ffdshow is capable of handling also embedded subtitles (I use it also for the Team-Mediaportal software with the saf package for teh codecs without problems now for years).

I have played a little some time ago with vlc using as streaming server to stream fiels to my Android - and basically it's working (including teh Subtitles) but stability was an issue (about 60% of the files have caused VLC to crash - what't probably a issue of teh HW config I'm using). Anyway - I know it is possible also to stream the embedded Subs to the device - somwhow - with other products - not stable - and not with my samsung - but there is a way (I think also the guys writing TVersity have found a way to do it).

Well - would be cool if it would be supported - If not I simply need to stick to my Mediacenter PC.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 10:52 pm
by Cerberus
now your out of my domain into ZIPs he will be able to tell you why certain bits are not used were im not sure mite be licencing issue though? Zip will certainly see this topic and comment.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sun Apr 17, 2011 11:00 pm
by zip
FFmpeg is used for transcoding. Some player support embedded subtitles, I think, not sure about the Sammy. You could use a tool to extract the embedded subtitle into srt and play it that way.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 7:38 am
by pur_berger
Well - it's not that easy - as you are not getting an srt out of the mkv file. And I didn't find a tool which enbale soyu (in a easy way) to convert it to one. For my understanding: When you say transcoding - isn't it that you convert the original content to a format the client is able to understand? So basically - what content are you streaming - all of the content in the mkv or only the avi?

Best Regards


Markus

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 8:26 am
by zip
There are lots of tools to extract the subtitle from the MKV. And there are a lots of tools to convert the subtitle file (if not .srt already) to srt.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:02 pm
by pur_berger
well - not as helpfull as expected - but meanwhile I found something which (proably) helps around this (Basically the issue is - it's an ass with needs to be extracted and conververted to srt)

Credits go to - http://blog.visualcoding.net/2011/03/ex ... subtitles/ - only one or two changes needed to be made to make it run.

in the exctractor.rb at line 62 I have changed the line to

if lines[i].include? 'subtitles'

as it could identify the lines with the original one.

Cool thing is that it is a real batch running over all file in teh Folderstructure and - easy to use :)

Maybe this also something which is worth of implementing to serviio? Something like "Exctract Subtitles on teh fly"?

Regards


Markus

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:11 pm
by zip
pur_berger wrote:Maybe this also something which is worth of implementing to serviio? Something like "Exctract Subtitles on teh fly"?

Ticket already exists: https://bitbucket.org/xnejp03/serviio/i ... mbedded-in

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:24 pm
by pur_berger
Of course it does - since Ages ;) - but this solution could provide a way of how to.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:32 pm
by zip
I have the idea, just not the time :-)

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:38 pm
by pur_berger
jaja - time :)

One last questing (totally unrelated to this topic) - any plans of implementing profiles for Android tablets too?

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Mon Apr 18, 2011 12:57 pm
by zip
Search the forum, there are a few topics related to Android already. When someone gives me a working profile I'll sure include it in the release.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Fri May 27, 2011 4:06 pm
by DanL
Hi,
Sorry to revive an old post, but I noticed in this one that you mentioned MKV's play find on your D series Samsung SmartTV. I can't get them to play at all using the Samsung C/D profile (or any other profile for that matter).

They play fine via a USB flash drive, but are reported as "incorrect file format" (or something like that) via Serviio.

Are there modifications I need to make the the config to get it to work?

Thanks for any help.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Thu Jun 16, 2011 9:46 pm
by pur_berger
You need to select the correct profile in teh serviio setup - at the first screen where you see the conecting devices you can select the profile in teh dropdown list.

Regards

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sat Jun 18, 2011 1:04 am
by DanL
I AM using the correct profile (I think). It auto-selected Samsung C/D, and the device is a Samsung D TV.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sat Jun 18, 2011 9:58 am
by pur_berger
Did you also activate "Transcoding"? Might be a stupid question - but without as far i know you will get this error on most files.

Re: mkv, subtitles and Samsung D - driving me crazy ...

PostPosted: Sat Jun 18, 2011 4:17 pm
by DanL
Yes, transcoding is checked.