4k buffering and stuttering

DLNA, AirPlay, Chromecast, PS3, XBOX, iTunes, & other media players
Locked
User avatar
McHaggis69
Getting the hang of things
Posts: 59
Joined: Sat Sep 04, 2010 1:07 am
Location: Scotland

4k buffering and stuttering

Post by McHaggis69 » Fri Dec 28, 2018 3:45 am

Setup is a QNAP TS-251A
1Gb internet connection
fully wired (cat 5e) setup to a new Sony KD-55AF8 Television

I've been trying to stream 4k content from the QNAP to the TV.

I've tried
Kodi (on the TV)
Plex (on the QNAP)
VLC (on the TV)
I've even tried the Sony media player via DLNA to the QNAP
and various other so-called media players.

For the record, Kodi is my system of choice and plays my 1080p content flawlessly.
I have disappointingly found out the TV does not have gigabit network hardware built in, but I've also tried wireless which I was suggested would get me better speeds/playback.

However on high bitrate 4k files (80Mbps) no matter what I do, I'm getting varying levels of buffering and stuttering playback (depending on what media player I'm using).
4k playback via the internet (youtube etc) plays fine, so why can't I stream 4k from my NAS properly?

Any clues or things to try very much appreciated.

User avatar
dolbyman
Guru
Posts: 22814
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 4k buffering and stuttering

Post by dolbyman » Fri Dec 28, 2018 4:07 am

is it a Sony android TV ? my TV (Samsung KS8000) does not have kodi or vlc

I can play 4k HDR fine, within the confines of 100Mbit (my TV suffers the same non gigabit fate as yours)

what is the data wired data transfer speed to/from your NAS via 1GbE?

User avatar
McHaggis69
Getting the hang of things
Posts: 59
Joined: Sat Sep 04, 2010 1:07 am
Location: Scotland

Re: 4k buffering and stuttering

Post by McHaggis69 » Fri Dec 28, 2018 8:54 pm

Its a Sony android TV.
Is it worth trying a USB-Network (1Gb) adaptor in one of the USB slots on the TV or will that make no difference?

How would I test the 'data wired data transfer speed via the network'?

User avatar
dolbyman
Guru
Posts: 22814
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 4k buffering and stuttering

Post by dolbyman » Fri Dec 28, 2018 10:19 pm

test it with a disk benchmark tool ... on a computer not the tv

User avatar
McHaggis69
Getting the hang of things
Posts: 59
Joined: Sat Sep 04, 2010 1:07 am
Location: Scotland

Re: 4k buffering and stuttering

Post by McHaggis69 » Sat Dec 29, 2018 7:39 pm

OK, so from my iMac on the same network, the disk speed tests from the folder on the QNAP are -

Image

For the non-tech like me, I'm disappointed to see that it appears there are a lot of crosses against the 2k writes and reads...
I'm guessing this means that the QNAP cannot serve 4k content quickly enough from the hard disk?

If this is right, I'm gutted... surely from a fairly new NAS this is disappointing. Is there anything I can do to fix this?

User avatar
dolbyman
Guru
Posts: 22814
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 4k buffering and stuttering

Post by dolbyman » Sat Dec 29, 2018 11:17 pm

that is a benchmark for (raw, low compressed) video editing ...so the bitrate requirements are MUCH higher

that NAS is basically hitting 1GbE, that should be by far enough to stream any kind of consumer 4k material

Bob Zelin
Experience counts
Posts: 1051
Joined: Mon Nov 21, 2016 12:55 am
Location: Orlando, FL.
Contact:

Re: 4k buffering and stuttering

Post by Bob Zelin » Sat Dec 29, 2018 11:58 pm

Hi -
the data rates that you are seeing is the correct network speeds for a 1G connection - from ANY system - including Mac to Mac. A 1G connection is 125 MB/sec theoretical, and even with the best "tweeked" systems on Macs or PC's, you can't get more than 110 MB/sec in real life over a 1G network from computer to computer. 4K h.264 or h.265 media has a much lower bandwidth than this. If you have 4K media on your QNAP that is h.264, simply play it on your Mac over your 1G network. You will see it plays without issue. So why isn't it working to your TV. I have no idea. I never tried this. I work with pro video editing systems, and only read this post when I saw the Blackmagic Disk Speed Test - I thought this was a video question. While this does not answer your question, 4K raw media - depending on the compression codec - can take a LOT more than 125 MB/sec, so we use larger QNAP's that have at least 8 drives (the TS-251+ has 2 drives) and a 10G network connection between the computer (Mac or PC) and the QNAP.

Sorry I don't have a direct answer to your question.

Bob Zelin
Bob Zelin / Rescue 1, Inc.
http://www.bobzelin.com

User avatar
McHaggis69
Getting the hang of things
Posts: 59
Joined: Sat Sep 04, 2010 1:07 am
Location: Scotland

Re: 4k buffering and stuttering

Post by McHaggis69 » Sun Dec 30, 2018 7:43 pm

OK, so despite having the issue on multiple video players, it seems the problem can be resolved in Kodi.

I have a Marantz surround system hdmi'd to the TV which handles all my audio.
Within Kodi I have disabled the option 'Enabled Dolby Digital transcoding' and the 4k content (mostly) now streams ok. I assume the AV system was slowing everything down while decoding audio...?

Its still not perfect and on a few test 4k files I downloaded from the internet, I still get buffering.

User avatar
dolbyman
Guru
Posts: 22814
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 4k buffering and stuttering

Post by dolbyman » Mon Dec 31, 2018 12:59 am

seems strange ...when audio/video hits your avr, all decoding is done so there should be not stutter introduced here

is your tv up to the task ? (check cpu usage during kodi playback and if hardware decoding is utilized)

andalex
New here
Posts: 4
Joined: Fri Jun 06, 2014 10:31 am

Re: 4k buffering and stuttering

Post by andalex » Thu Apr 22, 2021 1:26 am

After 3 days of going crazy with buffering problems on a previously fine running system where I recently started to watch a lot of 4K HDR content from my QNAP NAS via LAN, I think, I finally found the problem.

I tested the network performance, expected one of the routers to be the culprit, but the network is fine. Tried restarting the NAS, no significant improvement. The problem did not present consistently...

My scheduled RAID scrubbing priority was set to HIGH. It takes over a day to complete on my RAID 5. As soon as I switched it to low priority all buffering stopped.

What a relief!

:D :D :D
TS-259 Pro+

User avatar
OneCD
Ask me anything
Posts: 8984
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: 4k buffering and stuttering

Post by OneCD » Thu Apr 22, 2021 3:25 am

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

Locked

Return to “Media Streaming”