INTERACT FORUM
Networks and Remotes => Media Network => Topic started by: rossp 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
-
Just thought I would include the video information - well the best I can get.
(http://www.rossplews.com/WWW/Public/Streams.jpg)
Ross
-
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.
-
Hi Bob, Tried MPEG_PS_PAL but got the same result. The NAS as you suggest does not convert the video format.
Ross
-
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.
-
Hi Bob,
Yes I checked the Advanced->"mpeg video mimetype override" checkbox as well.
The compression is (video:AVC1, audio:DTS Audio)
-
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?
-
Hi Bob, I have the wireshark dump.
http://www.rossplews.com/WWW/Public/SAM-NAS.pcap (http://www.rossplews.com/WWW/Public/SAM-NAS.pcap)
Ross
-
Hi Bob, I have the wireshark dump.
http://www.rossplews.com/WWW/Public/SAM-NAS.pcap (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
-
Bob, Tried all three setting without success :'(
Ross
-
Bob, Tried all three setting without success :'(
Ross
Ross,
Are you certain your NAS isn't transcoding??
-
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
-
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?
-
DLNA menus to navigate to the video section
-
Hi Bob, Is there any other information I can get you to help solve this issue?
Ross
-
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.
-
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 (http://www.rossplews.com/WWW/Public/NAS-TV-HUB.pcap)
Ross
-
Bob, The IP's are 4=pc capture 2=NAS 14=TV
I know you could have worked this out but...
Ross
-
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.
-
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...
-
All working now Bob, looks like the video/x-mkv is the key.
You star.....
Ross
-
Bob, Do you still want me to do the sink protocol stuff for you?
Ross
-
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.
-
Bob, It stopped working. Here is the sink info you wanted.
http://www.rossplews.com/WWW/Public/Samsung-TV-sink-info.txt (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
-
Whenever a renderer stops working, the first thing to do is to power-cycle it...
-
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.
-
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).
-
Whenever a renderer stops working, the first thing to do is to power-cycle it...
Tried - no luck
-
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??
-
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
-
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.
-
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...
-
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.
-
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
-
I have discovered that this is for 2D and 3D mkv files. Looks like the mimetype override is not working.
Ross
-
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