Firefox, can't play two 60fps videos at the same time.

Soldato
Joined
29 Feb 2004
Posts
3,829
For some reason firefox can't seem to play two 60fps videos at the same time.

When trying to play two 60fps videos in different tabs, the audio is fine, but the video is frozen. The second you close one or pause one, the other starts playing. Two 30fps are fine and 60 & 30 is fine, just not more than one 60fps. I searched and can generally only find people saying they can't play a 60fps video and it turns out to be a resource issue.

System has plenty of resources (i7 5820k, 16GB and cpu usage is fine).

Any ideas? Only want to play two at the same time as when watching tournaments etc on twitch, during the downtime between games, want to watch youtube. At the moment I have to keep closing twitch or pausing it before I can watch youtube :(.
 
works fine for me, am using ff49, two tabs from same ff process, i7 laptop too,
with both sound and video ok.


two60fps_zpswfohr2w5.jpg~original
 
Try using another client like chrome at the same time?

Don't know why I didn't think of the simple solution.

Unfortunately it did not work. After doing some testing/messing around the issue seems to be hardware acceleration in firefox.

Using IE, the second I start to play another vid, firefox stops the video (audio is fine though). Close the vid in IE and Firefox is fine. Turn off hardware acceleration and Firefox will happily play multiple vids. I have more than enough cpu, so will probably just disable hardware when watching something on twitch and go back after. Using the latest relive drivers with a 290.

works fine for me, am using ff49, two tabs from same ff process, i7 laptop too,
with both sound and video ok.

What gpu & do you have hardware acceleration enabled?

Seems to be Firefox and hardware acceleration causing the issue for me. Wonder if it's something to do with the drivers I'm using or an amd/firefox bug.
 
hardware acceleration enabled, so both of below attributes set to false,
gfx.direct2d.disabled
layers.acceleration.disabled

its an optimus laptop w/intel hd + nvidia nvs
I cannot see activity on the nvidia so i assume intel hd is being used.
 
Another less simple solution's (possibly) is i personally watch twitch through VLC media player because the browser based version is simply awful i am wondering if this could help?

Only takes 20 mins or so to set up if you think it's worth a shot. A few good guides online or i can re visit one and help you set it up myself if you would prefer.

I sometimes actually use it as a radio, as with VLC you have a lot more options to have it how you want and some streamers who have great personality's but bad internet who have videos that cut out every 10 seconds for a 2 second interval is really off putting, however if i remove the video and just have their audio coming through it works faultlessly and i just listen to them waffle on about random stuff.
 
What GPU are you using? Could be hampering the video decoder on it, but pretty sure Youtube 60FPS uses VP9 which only Kabylake/Pascal/Polaris seems to support, and Skylake with partial support.
 
yes you are right, I had not appreciated that the utube 60fps are all vp9, that you cannot hardware decode without latest intelHD/nvidias,
netflix apparently adopting it too - very convenient for Intel and nvidia sales (roku 2/3 boxes maybe impacted)

Armadillo, I was playing the 60fps vp9 videos only with a resolution of ~720p so maybe that lightened the burden

Even for non 60fps material in firefox, it seems vp8/vp9 streams maybe preferred, but it looks as though you can pursuade h264 stream to be played
which would be accelerated , and may then give 1440p/2160p@30fps

If you goto https://www.youtube.com/html5 it tells you what your browser supports (but you cannnot express a preference) and also within ff access about:support which shows what graphics hardware ff knows about
 
yes you are right, I had not appreciated that the utube 60fps are all vp9, that you cannot hardware decode without latest intelHD/nvidias,
netflix apparently adopting it too - very convenient for Intel and nvidia sales

Latest AMD arch has vp9 decoding support.
 
Recently I found Firefox problems went away with a refresh and after removing certain add-ons.

E.g. I was getting dropped frames on Twitch and youtube and fixed it with a refresh and getting rid of one add on that was breaking multi-thread support (Zotero, a reference manager, ridiculous). Video performance is absolutely perfect now.

Click the menu button, help ?, troubleshooting information. Or just go to about:support
 
I subsequently found the h264ify add-on for firefox tha restricts the utube streams to h264 ;
ie those that can be h/w accelerated by my older cpu and gfx card - cpu demand dropped from 12%->2% (i7 QM)

.... so you might want to try this with your dual 60fps videos - if you look at your utube context menu stats what is your current codec ?

but the 1440p/4K videos are only available with vp9 codec


Also had to cirumvent the no unisgned add-ons restriction lol, to try and get the utube download add-on to work

"mandatory add-on signing refers to Firefox preventing users from installing any add-ons that have not been approved by mozilla's testers. ... firefox users have been spoiled all these years, always having the capability of installing any add-on they've desired."

of course doing what we "desire" should not be allowed.
stay within the plantation and obey the rules, that way nothing gets broken or get crashed (hopefully). and nobody gets "spoiled", god forbid!
we, the user children, should not be 'spoiled" by allowing us to make mistakes, by too much freedom to do what we 'desire'.
 
Back
Top Bottom