Samsung 4K TV MU6300

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Samsung 4K TV MU6300

Post by saintfrenz »

Hello,

My 40" Samsung 4K TV (MU6300) wont detect UMS. UMS does detect my TV though and uses the Samsung-UHD.conf. I have attached the trace logs, including screenshots of UMS showing the renderer info it detected. Also tried completely disabling the WIndows Firewall to check if it was a network issue, to no avail. When attempting to select the detected renderer and play a file, UMS shows error log lines:
10:59:04 ERROR Failed to send action "SetAVTransportURI" to [TV] Samsung 6 Series (40): Error: Invalid Args (HTTP response was: 500 Internal Server Error)
10:59:04 ERROR Failed to send action "Play" to [TV] Samsung 6 Series (40): Error: Transition not available (HTTP response was: 500 Internal Server Error)

Don't know if that is relevant. Please help.
Attachments
ums_dbg_samsung_mu6300.zip
(115.25 KiB) Downloaded 472 times
Synergist
Posts: 1
Joined: Tue Oct 30, 2018 11:53 am

Re: Samsung 4K TV MU6300

Post by Synergist »

Those look like errors you'd see if you try and play a video in through the UMS interface by using the UMS playback controls. Samsung DLNA stack just doesn't support that.

I have an MU6400 and I see similar stuff; however I can see the DLNA server through the TV menu and I can play media OK. There's an issue with some of the MKVs I play where the picture breaks up / pixelates really badly - I think that's an issue with all Samsung TVs running Tizen, I remember seeing a forum post about it -- and of course, now I can't find it! -- but I'm not sure there's an easy fix. It appears to be related to when a subtitle should appear on-screen.

Frustratingly I've not figured out yet why UMS wants to transcode some files by default but offers the original MKV in the root folder for others. I thought it was due to some of them having Dolby TrueHD or DTS-MA but it's not.

Heads up, our TVs don't support PGS format subtitles.

Current slightly tweaked renderer I'm using is below. it lazily only uses a regular expression to do an inverse (NOT) match on device string, so this will match anything except C- and D- range Samsungs. I'm more concerned with finding a way to workaround Samsung's broken DLNA streaming with some subtitles, it's horrible! I'll improve the regex in future to more specifically match MU series TVs after that.

(Ignore some of the boilerplate comments in the file as I borrowed from other renderers. Let me know if you find any files don't work.)

I always use the #--Transcode-- submenu in folders to stream original files (unless the original MKV is offered in the root folder, with the proper file size); otherwise you'll need to use the transcode original version if you're playing HDR content as remuxing/transcoding loses the HDR metadata.

Tip: Although UMS offers it, Samsung support for resuming playback via DLNA interface is broken. I've enabled chapters in the #--Transcode-- folder, but to skip to a time while playing a video, up-arrow on the remote to the seek bar then start typing the time you want to jump to - hit select/enter on the remote to jump to the time. You'll see the time indicator changing as you type the time in. You can also use the rewind/play/pause/fast forward buttons on the bottom of the remote if you have them.

Code: Select all

#----------------------------------------------------------------------------
# Profile for Samsung MU series TVs.
# Based on the E+ Series and Blu-ray players with AllShare DLNA profile
# 
# Tweaked *very* slightly for Samsung MU series UHD TVs.
# See DefaultRenderer.conf for descriptions of all the available options.
# http://ps3mediaserver.org/forum/viewtopic.php?f=15&t=8889
# Version: 1.4.4-CW2 (modified)
#
# Disable all transcoders in UMS to avoid inadvertent transcoding and check
# the video's size displayed on the TV's DLNA menu matches the source file!
#

RendererName = Samsung MU Series
RendererIcon = samsung-tv.png

# ============================================================================
# This renderer has sent the following string/s:
#
# TV:            User-Agent:
# --------------------------
# UE46ES8000     SEC_HHP_[TV]UE46ES8000/1.0 DLNADOC/1.50
# UE40H 5500AW   SEC_HHP_[TV]Samsung LED40/1.0 DLNADOC/1.50
#                SEC_HHP_[TV] Samsung/1.0 DLNADOC/1.50
# UN55ES6100     SEC_HHP_[TV]UN55ES6100/1.0 DLNADOC/1.50
# UE37ES5500     SEC_HHP_[TV]UE37ES5500/1.0 DLNADOC/1.50
#
# Note: for maximum compatibility the regex is defined negatively as anything
# not matching a C/D series UA (see SamsungAllShare-CD.conf). The positive
# definition would be:
# UserAgentSearch = SEC_HHP.*(TV|HT|BD).*([E-Z]S?\d{4}|Samsung.*\d{2})/
# ============================================================================
#

UserAgentSearch = SEC_HHP(?!.*[CD]S?\d{3}\d?/)
UpnpDetailsSearch = (?!.*[CD]S?\d{3}\d?) , (Samsung|AllShare)
LoadingPriority = 3

DefaultVBVBufSize = true
MuxDTSToMpeg = true
MaxVideoBitrateMbps = 0
# MaxVideoBitrateMbps = 50
TranscodedVideoFileSize = 1000000
ChunkedTransfer = true
SubtitleHttpHeader = CaptionInfo.sec
PrependTrackNumbers = true
CharMap = / :
MediaInfo = true

#TranscodeVideo = MPEGTS-H264-AC3
TranscodeVideo = MPEGTS-H264-AAC
TranscodeFastStart = true
SeekByTime = false
#SeekByTime = true
UseClosedCaption = true

MaxVideoWidth = 4096
MaxVideoHeight = 2160
# Samsung TV allow up to H264 5.1
H264Level41Limited = false
# some Samsung UHD display are 8 bits, but all are 12 bits capable (dithering)
SupportedVideoBitDepths = 8,10,12

#HEVC codec is only available in MKV/MP4/TS containers.
#VC1 AP L4 is not supported

# Supported video formats:
Supported = f:avi|divx  	v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/avi		w:4096	h:2160	b:320000000
Supported = f:avi|divx		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/avi		w:4096	h:2160	b:640000000
Supported = f:avi|divx		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/avi		w:1920	h:1080	b:160000000
#Supported = f:avi|mkv		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-matroska	w:4096	h:2160	b:320000000
#Supported = f:avi|mkv		v:h265|mjpeg					a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-matroska	w:4096	h:2160	b:640000000
#Supported = f:avi|mkv		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-matroska	w:1920	h:1080	b:160000000

Supported = f:avi|mkv	v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|h264|h265|vp6	a:ac3|lpcm|adpcm|aac|aac-lc|he-aac|wma|eac3|mp3|dts		m:video/x-matroska	w:4096	h:2160	b:0

Supported = f:mp4		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mp4		w:4096	h:2160	b:320000000
Supported = f:mp4		v:h265|mjpeg					a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mp4		w:4096	h:2160	b:640000000
Supported = f:mp4		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mp4		w:1920	h:1080	b:160000000
Supported = f:3gp		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/3gpp		w:4096	h:2160	b:320000000
Supported = f:3gp		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/3gpp		w:4096	h:2160	b:640000000
Supported = f:3gp		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/3gpp		w:1920	h:1080	b:160000000
Supported = f:mov		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/quicktime	w:4096	h:2160	b:320000000
Supported = f:mov		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/quicktime	w:4096	h:2160	b:640000000
Supported = f:mov		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/quicktime	w:1920	h:1080	b:160000000
Supported = f:flv		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-flv		w:4096	h:2160	b:320000000
Supported = f:flv		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-flv		w:4096	h:2160	b:640000000
Supported = f:flv		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-flv		w:1920	h:1080	b:160000000
Supported = f:mpegps|mpegts	v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mpeg		w:4096	h:2160	b:320000000
Supported = f:mpegps|mpegts	v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mpeg		w:4096	h:2160	b:640000000
Supported = f:mpegps|mpegts	v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mpeg		w:1920	h:1080	b:160000000
Supported = f:mpegts		v:h265						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/mpeg		w:4096	h:2160	b:640000000
Supported = f:wmv		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-wmv	w:4096	h:2160	b:320000000
Supported = f:wmv		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-wmv	w:4096	h:2160	b:640000000
Supported = f:wmv		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-wmv	w:1920	h:1080	b:160000000
Supported = f:asf		v:h264						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-asf	w:4096	h:2160	b:320000000
Supported = f:asf		v:mjpeg						a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-asf	w:4096	h:2160	b:640000000
Supported = f:asf		v:divx|mp4|mpeg1|mpeg2|vc1|wmv|h263|vp6		a:ac3|lpcm|adpcm|aac|aac-he|wma|eac3|mp3|dts		m:video/x-ms-asf	w:1920	h:1080	b:160000000
Supported = f:webm		v:vp8						a:vorbis						m:video/webm		w:1920	h:1080	b:160000000
Supported = f:webm		v:vp9						a:vorbis						m:video/webm		w:4096	h:2160	b:160000000

# Supported audio formats:
Supported = f:mp3   	m:audio/mpeg
Supported = f:aac   	m:audio/x-m4a
Supported = f:flac   	m:audio/x-flac		n:2
Supported = f:vorbis   	m:audio/vorbis		n:2
Supported = f:wma   	m:audio/x-ms-wma
Supported = f:wav   	m:audio/wav
Supported = f:ape   	m:audio/ape
Supported = f:aiff   	m:audio/L16
Supported = f:alac   	m:audio/m4a

# Supported image formats:
Supported = f:bmp    	m:image/bmp		w:4096	h:4096
Supported = f:jpg    	m:image/jpeg		w:15360	h:8640
Supported = f:png    	m:image/png		w:4096	h:4096
Supported = f:mpo    	m:image/mpo		w:15360	h:8640

# Supported subtitles formats:
SupportedExternalSubtitlesFormats = SAMI,SUBRIP,MICRODVD,ASS,TEXT,WEBVTT,TX3G
SupportedInternalSubtitlesFormats = DIVX,ASS,SUBRIP,VOBSUB,TX3G
#SupportedInternalSubtitlesFormats = SAMI,SUBRIP,MICRODVD,ASS,TEXT,WEBVTT,TX3G

#todo : add when available - Powerdivx .psb
# todo : add when available - SMPTE-TT Text .xml
# todo : add when available - TTML in smooth streaming MP4
# todo : add when available - SMPTE-TT Text MP4
# todo : add when available - SMPTE-TT PNG MP4
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Re: Samsung 4K TV MU6300

Post by saintfrenz »

Any help?? Anyone?? :(
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Re: Samsung 4K TV MU6300

Post by saintfrenz »

Synergist, I don know why, but I didn't see your response in the thread until now, otherwise I wouldn't have replied to my own post that way.The issue is that I cant see UMS in the TV menu AT ALL. Anyway, will try the config you provided and update the thread.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung 4K TV MU6300

Post by SubJunk »

It's possible that UMS is broadcasting on a different network interface than your TV expects, can you try selecting an option in "Force networking on interface"? Usually the valid ones are the ones with an IP address in brackets in that list.
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Re: Samsung 4K TV MU6300

Post by saintfrenz »

Yes, that worked!! Now the TV can detect and play from UMS. But there is another issue now. I can only seem to play stuff that are not transcoded. Any transcoding will result in the TV saying an error has occured with the following in the log file
"Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host"
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung 4K TV MU6300

Post by SubJunk »

Hi saintfrenz, that's great news that it is detected now! Please post new logs so we can see why that new problem might happen
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Re: Samsung 4K TV MU6300

Post by saintfrenz »

Here are the new logs. The file I tried to play is called S07E01.mp4 I tried to play it directly and using every option in the #--TRANSCODE--# folder, all resulting in errors.
Attachments
ums_dbg.zip
(154.75 KiB) Downloaded 428 times
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung 4K TV MU6300

Post by SubJunk »

How about this config?
Attachments
Samsung-UHD.conf
(7.02 KiB) Downloaded 611 times
saintfrenz
Posts: 6
Joined: Sun Oct 28, 2018 3:12 am

Re: Samsung 4K TV MU6300

Post by saintfrenz »

The new config made no difference unfortunately. Here are the debug logs with the new config.
Attachments
ums_dbg.zip
(154.63 KiB) Downloaded 437 times
Post Reply