INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DLNA will not stream mkv rips  (Read 23980 times)

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
DLNA will not stream mkv rips
« on: April 29, 2012, 09:21:20 am »

Hi All, I have a Samsung 46" D8000 Series 8 SMART 3D Full HD LED TV (UE46D8000YU) and this connects to the DLNA server with the Samsung options fine. I can play video, music and see pictures all OK. When I try to stream a £d mkv ripped film it sits on 1 second playback for ever. In the server logs I get

251310  14:46  Finished  GET:http://xxx.xxx.xxx.xxx:5210/Video/F1417757.mpg  128KB  0:00.007
251311  14:46  Finished  GET:http://xxx.xxx.xxx.xxx:5210/Video/F1417757.mpg  128KB  0:00.007
251312  14:46  Finished  GET:http://xxx.xxx.xxx.xxx:5210/Video/F1417757.mpg  128KB  0:00.026

etc.

If I play a normal video I get

251362  14:46  Writing  GET:http://xxx.xxx.xxx.xxx:52100/Video/F779347.avi  119MB

The size on this just gets bigger the more it streams.

It is as if the streaming function never starts to the TV and the TV never gets the duration of the movie. If I place the same 3D mkv file on a memory stick it plays fine. The TV is on a 1Gb network hardwired. Also if I use the DLNA server on my readynas it streams just fine.
Looks like he file is being converted when it does not have to be. If I select 'Never convert' in the video section then the TV reports an unsupported file format!!!

How can I turn on more logging for media network? The normal logging does not seem to capture much.
Any ideas....

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #1 on: April 29, 2012, 09:28:56 am »


Just thought I would include the video information - well the best I can get.



Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #2 on: April 30, 2012, 10:09:05 am »

The interesting data here is the fact that you can play it from the NAS. I'm assuming that the NAS is not converting the file to another format. So then the only difference between MC with conversion turned off and the NAS should be the DLNA and Mimetypes reported to the TV.

You could try checking the "mpeg video mimetype override" under the DLNA server advanced settings then changing the DLNAType from MPEG_PS to either MPEG_PS_NTSC or MPEG_PS_PAL depending on your location.

Some renderers can play a lot of video formats that they don't advertise in DLNA. What the override does is fool the device into thinking the file that they are being given is in a supported DLNA format then the device uses whatever underlying player it has and the player adjusts to the actual format of the file. The underlying player is often VLC or Mplayer.
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #3 on: April 30, 2012, 10:46:20 am »

Hi Bob, Tried MPEG_PS_PAL but got the same result. The NAS as you suggest does not convert the video format.

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #4 on: April 30, 2012, 01:07:08 pm »

Hi Bob, Tried MPEG_PS_PAL but got the same result. The NAS as you suggest does not convert the video format.

Ross
Hi Ross,
I assume you checked the Advanced->"mpeg video mimetype override" checkbox as well?
What is the value of the "compression" field in MC for one of the videos you are trying to play? (you should see container with the codecs in parentheses ).

You might have to do a wireshark trace of browsing to the file in the NAS so we can compare mimetype and DLNA flags to the ones MC provides.


Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #5 on: April 30, 2012, 01:10:20 pm »

Hi Bob,

Yes I checked the Advanced->"mpeg video mimetype override" checkbox as well.

The compression is (video:AVC1, audio:DTS Audio)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #6 on: April 30, 2012, 02:10:02 pm »

Hi Ross,
That looks good. I assume MC recognizes the Container type as mkv (first thing in the compression field)?

Could I trouble you for a wireshark dump of the a DLNA browse to the directory containing one of these files on your NAS?
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #7 on: May 01, 2012, 07:48:28 am »

Hi Bob, I have the wireshark dump.

http://www.rossplews.com/WWW/Public/SAM-NAS.pcap

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #8 on: May 01, 2012, 09:03:03 am »

Hi Bob, I have the wireshark dump.

http://www.rossplews.com/WWW/Public/SAM-NAS.pcap

Ross
Ross,
It slipped my mind that if you have a switch or router connecting your PC, NAS and TV together you can't trace most of the activity between the TV and NAS from the PC, you'd need a hub instead (try to find one of those these days!).

However, I can see from the sink protocol info from your TV that you should try
MPEG_PS_NTSC for the DLNAType and video/mpeg for the mimetype.
or
MPEG_TS_HD_NA for the DLNAType and video/vnd.dlna.mpeg-tts for the mimetype
or
MPEG_TS_SD_NA for the DLNAType and video/vnd.dlna.mpeg-tts for the mimetype

The TV claims pretty limited media support.
mp3 and 2 channel L16 (LPCM)
jpeg medium (screen size, choose your TV resolution in MC's image DLNA server image conversion)
MPEG2 TS and MPEG2 PS NTSC

Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #9 on: May 01, 2012, 09:15:26 am »

Bob, Tried all three setting without success   :'(

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #10 on: May 01, 2012, 09:17:01 am »

Bob, Tried all three setting without success   :'(

Ross
Ross,
Are you certain your NAS isn't transcoding??
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #11 on: May 01, 2012, 09:18:47 am »

I have been through the menus and there is nowhere to setup transcoding. It's a 'netgear readynas ultra plus'. All you can setup is the path to the video files.

Also the readynas forums have confirmed that out of the box (mine is) the device will not transcode without extra s/w being installed.

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #12 on: May 01, 2012, 10:05:54 am »

I have been through the menus and there is nowhere to setup transcoding. It's a 'netgear readynas ultra plus'. All you can setup is the path to the video files.

Also the readynas forums have confirmed that out of the box (mine is) the device will not transcode without extra s/w being installed.

Ross
How are you getting to the files on the NAS? Are you going through the DLNA menus on the TV or using a network browse on the TV?
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #13 on: May 01, 2012, 10:12:46 am »

DLNA menus to navigate to the video section
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #14 on: May 02, 2012, 09:38:49 am »

Hi Bob, Is there any other information I can get you to help solve this issue?

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #15 on: May 03, 2012, 10:22:21 am »

Hi Bob, Is there any other information I can get you to help solve this issue?

Ross
Hi Ross,
If you can find out what the NAS is doing for a content directory for the DLNAType and mimetype for the .mkv's it would likely help.
Either you'd need to get that info from the NAS manufacturer or sniff it with wireshark.
The only way you are going to be able to sniff it is if you can connect the TV, the NAS and a computer with wireshark on it together on a hub (not switch). At a minimum, you'd need the computer and one of either the NAS or TV connected to a hub.
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #16 on: May 03, 2012, 10:50:45 am »

Hi Bob, A wireshark trace from TV to NAS connected via a hub (state of the ark).

http://www.rossplews.com/WWW/Public/NAS-TV-HUB.pcap

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #17 on: May 03, 2012, 10:53:08 am »

Bob, The IP's are 4=pc capture 2=NAS 14=TV

I know you could have worked this out but...

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #18 on: May 03, 2012, 11:19:53 am »

Bob, The IP's are 4=pc capture 2=NAS 14=TV

I know you could have worked this out but...

Ross
Interesting.
It's not providing a DLNAType at all but it is providing a mimetype.

In the mimetype override, try video/x-mkv.
Not sure what to put in the DLNAType but it's got to have something (at least for now). Try MPEG_TS.

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #19 on: May 03, 2012, 11:22:36 am »

Also, if you get a chance, install upnp developer tools on the PC, run device spy and go to the Connection Manager for the TV then GetProtocolInfo and copy and paste the sink protocol info into a message here... Thanks...
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #20 on: May 03, 2012, 11:25:02 am »

All working now Bob, looks like the video/x-mkv is the key.

You star.....

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #21 on: May 03, 2012, 11:37:42 am »

Bob, Do you still want me to do the sink protocol stuff for you?

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #22 on: May 03, 2012, 02:48:20 pm »

Bob, Do you still want me to do the sink protocol stuff for you?

Ross
No, that's ok. As long as it works..
I'm making a small change to remove the whole DLNAType if the override is empty but since your's works without change it appears it's ignoring it anyway.
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #23 on: May 04, 2012, 11:26:28 am »

Bob, It stopped working. Here is the sink info you wanted.

http://www.rossplews.com/WWW/Public/Samsung-TV-sink-info.txt

I have no idea why it stopped and I can't remember changing anything...

Ross
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #24 on: May 04, 2012, 11:28:22 am »

Whenever a renderer stops working, the first thing to do is to power-cycle it...
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #25 on: May 04, 2012, 11:33:59 am »

The sink info indicates that it will accept
video/x-mkv
with anything after it so the DLNA flags should be a non-issue.
The mimetype is supposed to be video/x-matroska but some vendors use non-standard mimetypes, sigh.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #26 on: May 04, 2012, 11:38:44 am »

Finally, if your content is varied, you might want to create 2 servers, one for transcoding, one for not. You could name them accordingly.
On the transcoding one, set to always convert for video, using the mpeg2/dvd PAL profile (assuming you are in a PAL country) it looks like you could set the override on and the mimetype to video/mpeg and the DLNAType to MPEG_PS_PAL_XAC3 (or perhaps MPEG_PS_PAL).
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #27 on: May 04, 2012, 11:47:41 am »

Whenever a renderer stops working, the first thing to do is to power-cycle it...


Tried - no luck
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #28 on: May 04, 2012, 11:50:57 am »

On a TV you may have to pull the power cord. Some go into a kind of sleep mode when the power button/switch/etc is pressed.
Did you change MC versions at all?
Did the TV firmware update??
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #29 on: May 04, 2012, 11:53:15 am »

The sink info indicates that it will accept
video/x-mkv
with anything after it so the DLNA flags should be a non-issue.
The mimetype is supposed to be video/x-matroska but some vendors use non-standard mimetypes, sigh.

set the following:

Tick - MPEG video mimetype override
Video MimeType Override: video/x-mkv
Video DLNA Override: MPEG_TS

But this does not work. Still works direct from the NAS.

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #30 on: May 04, 2012, 11:54:20 am »

On a TV you may have to pull the power cord. Some go into a kind of sleep mode when the power button/switch/etc is pressed.
Did you change MC versions at all?
Did the TV firmware update??


Yup i pulled the plug. No MC version change and I don't think the TV upgraded it's firmware.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13944
Re: DLNA will not stream 3D mkv rips
« Reply #31 on: May 04, 2012, 01:15:45 pm »

I'm kind of at a loss...
How about deleting the DLNA server.
Re-add it with the Samsung template.
Make the changes to the advanced settings.
Power-cycle the TV and see if anything changes...
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #32 on: May 04, 2012, 02:23:20 pm »

I'm kind of at a loss...
How about deleting the DLNA server.
Re-add it with the Samsung template.
Make the changes to the advanced settings.
Power-cycle the TV and see if anything changes...


Did that - still the same result.
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream 3D mkv rips
« Reply #33 on: May 04, 2012, 02:24:24 pm »

I do have a long bank holiday weekend - so if you need me to do some traces on a hub etc or the upnp tool stuff just ask.

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream mkv rips
« Reply #34 on: May 05, 2012, 04:39:42 am »

I have discovered that this is for 2D and 3D mkv files. Looks like the mimetype override is not working.

Ross
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: DLNA will not stream mkv rips
« Reply #35 on: May 05, 2012, 10:14:04 am »

set the following:

Tick - MPEG video mimetype override
Video MimeType Override: video/x-mkv
Video DLNA Override: MPEG_TS

And
Video
Conversion: Never Convert

This works  ;D
Logged
Pages: [1]   Go Up