Unable to stream 4k video on Youtube

tinynja98

Estimable
Jan 17, 2015
19
0
4,590
7
How come i can watch a downloaded 4k video at about 25 fps (its smooth) but i cannot stream a 4k video from youtube with the same computer? On youtube, i get like 1 or 2 fps.

PS. I'm using html 5 for youtube videos and i used the stock, default video viewer from windows 10 to watch the downloaded 4k video.

I have 30mbps/10mbps connection so that's not the problem.
 

rhysiam

Honorable
Mar 24, 2013
84
0
10,610
15
Uncompressed video is absolutely massive so any streamed content has to be heavily compressed (encoded) to make it workable on even high speed internet services.

The compression/encode process uses really complex algorithms to reduce the video size while maintain as high a quality as possible.

These algorithms are designed to be as simple as possible to decode - that makes sense because every time you watch the content you have to first decode it, so a simpler decode process makes it possible to watch the content on older and slower computers and results in less power (and longer battery life) on portable devices.

BUT, they all take massive computational resources to ENcode the content in the first place. That's why you can watch (decode) 4K content live, but you can't get anywhere near streaming (encoding) 4K content live.
 

rhysiam

Honorable
Mar 24, 2013
84
0
10,610
15
Oh, sorry - I totally misread your question.

Most graphics cards (IGPs) have dedicated video decode hardware built in. That means that well programmed software can take key stages of the video decode process away from the CPU and allow it to be completed by those hardware resources, which are tailor-made to decode video.

The issue is that the software you're using to play the videos needs to be aware of your hardware and how to utilise the dedicate decode. Some software is better at this than others.

Have you tried other web browsers? I gets tons of dropped frames trying to play 1080p@60 content on my Surface using Google Chrome, plus it melts the battery and the device gets crazy hot. But if I play the same content on IE or Edge it plays seamlessly, stays cool and lasts 3 times as long.

The Intel HD 4400 graphics has dedicated decode hardware. Chrome doesn't use it effectively and IE does... which makes all the difference in the world.

What's your graphics cards? Have you tried different browsers yet? Got the latest drivers installed?

Sorry for the confusion with my initial post - I thought you meant streaming as in live game-streaming.
 

freeskier93

Estimable
Dec 2, 2014
4
0
4,510
0
Why would you say your 30mbps connection isn't the problem? If you were trying to watch 4k@60fps then that's definitely not enough. I just tested on our gigabit connection and according to task manager 4k@60fps, from YouTube, is averaging about 40mpbs with spikes north of 60mbps.

Also, as far as I know, YouTube isn't using any formats for 4k that can be hardware decoded. It's completely software decode on the CPU so you better have a beefy CPU. Again, with my test, I'm at about 80% CPU usage with a Xeon E3-1231 v3 turboing all the way up to 3.8 Ghz.
 

rhysiam

Honorable
Mar 24, 2013
84
0
10,610
15
I believe 4k YouTube averages about 45mbps, which would be an issue, but you can usually tell the difference between buffering and insufficient decode resources.

Just pause the video and let it buffer a bit, then hit play. That'll way you can tell whether it's bandwidth or decode.
 

tinynja98

Estimable
Jan 17, 2015
19
0
4,590
7


Because i can clearly see that the video is being downloaded (i dont know if it's the good term) faster than im playing it. (the light gray is faster than the red...)



I have tried Microsoft Edge like you told me too but the video was like in slow motion and after 5 seconds it would skip all the frames to catch up with the video. Btw, i used firefox when i posted this thread.



My graphics card is an Asus HD 6570.



I have tried updating my drivers, but the 4k streaming from youtube was pretty much the same.
 

freeskier93

Estimable
Dec 2, 2014
4
0
4,510
0
YouTube is known to have performance issues with Firefox. What is your CPU utilization while watching the video? What CPU do you have?

Since you're using Firefox and HTML5 then I can guarentee you YouTube is using VP9 format. Your GPU doesnt support hardware acceleration for VP9 (in fact I don't know of any GPU currently on the market that does). That means your CPU is doing all the decoding.
 

tinynja98

Estimable
Jan 17, 2015
19
0
4,590
7
We're getting closer and closer to a satisfactory answer! :D

My cpu is a Core2 Quad q6700 and i can see that it is running at 100% all the time when i try to stream the 4k video from youtube.

I tested with the local 4k video and it was running at about 75% on average, sometimes reaching 90%.

So.... is the "problem" the VP9 format that youtube is using? How can i know what is the format of my local 4k video?
 

aznricepuff

Honorable
Oct 17, 2013
38
0
10,610
12


If you have VLC, then open up the video, right-click the screen -> Tools -> Codec Information (Ctrl-J) -> find the line with heading 'Codec' under the video stream (usually stream 0).

If you have MPC-HC, then open up the video, then right-click the screen -> Properties (Shift-F10) -> MediaInfo tab -> find the lines with headings 'Codec ID, Codec ID/Info' under 'Video'.

If you have neither of those, then tell us the file extension of the video file - it's not as precise but we can make some educated guesses with it.
 

tinynja98

Estimable
Jan 17, 2015
19
0
4,590
7
its an .mp4 file but i downloaded it from youtube via clipconverter.cc so it converted it...

But that's what i don't understand... i cannot watch a 4k video via youtube but i can watch the exact same video if i download it from youtube...
 

djlamp94

Prominent
Nov 11, 2017
23
0
560
0


have you tried using the extensinon called h264ify? I have it on chrome but i think it exists on firefox
 
Thread starter Similar threads Forum Replies Date
T Apps General Discussion 1
A Apps General Discussion 2
C Apps General Discussion 2
J Apps General Discussion 1
V Apps General Discussion 1
shivampandit1999 Apps General Discussion 4
S Apps General Discussion 1
E Apps General Discussion 1
T Apps General Discussion 1
C Apps General Discussion 9
L Apps General Discussion 1
A Apps General Discussion 6
S Apps General Discussion 1
F Apps General Discussion 1
S Apps General Discussion 2
G Apps General Discussion 3
I Apps General Discussion 8
V Apps General Discussion 3
L Apps General Discussion 8
E Apps General Discussion 7

Similar threads


ASK THE COMMUNITY

TRENDING THREADS