Samsung 2-4k playback issues

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
backs999
Posts: 3
Joined: Fri Jan 26, 2018 12:45 am

Samsung 2-4k playback issues

Post by backs999 »

Hi Guys,

i'm hoping you can help me somehow!

i'm using a samsung UE40MU6120 with desktop UMS. for some reason when i try to play 2 or 4k movies, i get a few issues.

- either the file doesn't play at all, stating "check internet connection" but after a few attempts starts to work
- file works but constantly buffers every 5 seconds
- always unable to forward/rewind

and occasionally, the file plays with no problems at all.

is there any way to resolve this?

thanks so much.
Attachments
ums_dbg.zip
(39.64 KiB) Downloaded 403 times
abcd
Posts: 19
Joined: Mon Jan 22, 2018 5:53 am

Re: Samsung 2-4k playback issues

Post by abcd »

I have the same TV. Go into your UMS install folder and find the file Samsung-NotCD.conf inside the renderers folder. Open it in a text editor, clear everything, and paste the following:

Code: Select all

#----------------------------------------------------------------------------
# Profile for Samsung E+ series TVs and Blu-ray players with AllShare DLNA.
# See DefaultRenderer.conf for descriptions of all the available options.
# http://ps3mediaserver.org/forum/viewtopic.php?f=15&t=8889
# Version: 1.4.4 (modified)
#

RendererName = Samsung E+ 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)

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

# Supported video formats:
Supported = f:avi|mkv             m:video/avi
Supported = f:flv                 m:video/mp4
Supported = f:mov                 m:video/quicktime
Supported = f:mp4|mpegps|mpegts   m:video/mpeg

# Supported audio formats:
Supported = f:mp3   m:audio/mpeg
Supported = f:wav   m:audio/L16

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

TranscodeVideo = MPEGTS-H264-AC3
SeekByTime = exclusive
MaxVideoWidth = 3840
MaxVideoHeight = 2160
SupportedVideoBitDepths = 8,10
H264Level41Limited = false
StreamSubsForTranscodedVideo = false
Then save the file, quit UMS and restart it. Then try to play the video and it'll probably work. With these settings it probably won't have to transcode the 4K movies, which will take all of the mentioned problems away. See also my thread here.
Last edited by abcd on Sat Jan 27, 2018 4:34 am, edited 1 time in total.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Samsung 2-4k playback issues

Post by Nadahar »

@abcd If/when you have a renderer configuration that works really well for your renderer, you should create a pull request here: https://github.com/UniversalMediaServer ... rver/pulls
with the new configuration file. That way your work figuring it out can be shared with others by default as it will be distributed with UMS.
abcd
Posts: 19
Joined: Mon Jan 22, 2018 5:53 am

Re: Samsung 2-4k playback issues

Post by abcd »

Nadahar wrote: Sat Jan 27, 2018 2:33 am @abcd If/when you have a renderer configuration that works really well for your renderer, you should create a pull request here: https://github.com/UniversalMediaServer ... rver/pulls
with the new configuration file. That way your work figuring it out can be shared with others by default as it will be distributed with UMS.
That's a good idea, I'll try that when I have tried your branch build to see how the subs work. I'll need to figure out my TV's user agent though, does UMS show or log that somewhere? Also, I personally changed TranscodeVideo to MPEGTS-H264-AC3. The TV also works with H265, but my PC can't actually handle transcoding to that (maybe I just put UMS's quality settings too high?). What do you suggest I use for TranscodeVideo?
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Samsung 2-4k playback issues

Post by Nadahar »

If you turn on "trace" logging the user agent should be logged when the device connects.

Regarding transcoding I would go with h264 for now. h265 is still a bit to immature and is generally quite heavy without hardware acceleration. The bandwidth saved by using h265 over your local network probably isn't noticeable, so h264 should be a safe bet.
backs999
Posts: 3
Joined: Fri Jan 26, 2018 12:45 am

Re: Samsung 2-4k playback issues

Post by backs999 »

abcd, thank you so for this.

i'm getting another issue now though.. every 10 or so seconds, the screen is going fuzzy and distorted :S.
abcd
Posts: 19
Joined: Mon Jan 22, 2018 5:53 am

Re: Samsung 2-4k playback issues

Post by abcd »

backs999 wrote: Sat Jan 27, 2018 7:01 am abcd, thank you so for this.

i'm getting another issue now though.. every 10 or so seconds, the screen is going fuzzy and distorted :S.
First thing to check is if the video is still being transcoded or not. To check this, go to the video on your TV and check the filesize of the video (bottom left corner while in the file browser). If the size is something just under 1000 kB, the file is being transcoded. If the size is a lot larger (depends on video length and quality, but it's probably at least a few hundreds of MBs), it's not being transcoded.
User avatar
Sami32
Posts: 851
Joined: Mon Apr 11, 2016 5:09 am

Re: Samsung 2-4k playback issues

Post by Sami32 »

Hi @backs999,

You have set the TRACE mode only after having started the logging, so we miss some useful informations.
Whatever, don't expect to get HEVC 4K 10-bit being smootly transcoded to MPEG-2 with your CPU ;)
No way.

We miss the CPU info so i cannot even say if your CPU will support transcoding such media to H.264, but except if you've the latest Intel processor i don't think so.

You need to get or create an approppriate renderer that fit your need.
I did made one some months ago for an other user, so if you want try:
http://sendanywhe.re/8864ONUO

It was done for an other fork, so i slightly adapted it for your need.
backs999
Posts: 3
Joined: Fri Jan 26, 2018 12:45 am

Re: Samsung 2-4k playback issues

Post by backs999 »

hey Sami,

thanks alot.

i have a i5 6600k, is that really not sufficient?
abcd
Posts: 19
Joined: Mon Jan 22, 2018 5:53 am

Re: Samsung 2-4k playback issues

Post by abcd »

Sami32, did you actually read the entire thread? Because I don't think the backs999's video is still being transcoded with the conf file I sent. Also, I took a quick look at the conf file you sent and you have SeekByTime set to true, which just doesn't work for the UE40MU6120. (It needs to be set to exclusive.)
Post Reply