BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.58k stars 330 forks source link

Increase buffer network cache for smooth video playback even when internet connection becomes very weak #3088

Open trimechee opened 11 months ago

trimechee commented 11 months ago

Hello, thank you so much for this great amazing wonderful marvellous web browser ! 💯 🥇

Please i have request : I found clever way to full buffer streaming and have smooth playback even when internet connection becomes very weak when many members of our family connect to wifi:: disable MSE media source extension by going to "about:config" and setting the value "false" to "media.mediasource.enabled", ir works on ok.ru/video, sibnet, uqload....like in this site :

https://french-anime.com/animes-vf/1214-mashle.html

but sometimes, some streaming platforms and video players don't work if MSE media source extensions is disabled, so our dream is that our beloved Waterfox Browser increase the buffer network cache of streaming videos which is currently only 20 or 30 seconds no matter what our internet connection is weak and the video is in very high definition, so we could have smooth playback even with weak connection, thank you very much !

EDIT : i make some researches and i tested many values of these flags but sadly, nothing changes, the quantity of the network cache buffer does not change :(

media.cache_readahead_limit

media.cache_resume_threshold

yokoffing commented 11 months ago
media.cache_readahead_limit
media.cache_resume_threshold

What I've researched so far is that these prefs do not affect videos above 720p and only affect certain video players (e.g., those not using DASH playback). And they only really work when media.mediasource.enabled is false.

But I could be wrong.

trimechee commented 11 months ago

Bravoo! Thank you so much for sharing these sensational information! I put values of 9999 and 999999 for the flags

media.cache_readahead_limit media.cache_resume_threshold

but they didn't work in firefox, and recently I discovered that we have to disable media.mediasource.enabled at the same time with putting the values 9999 for media.cache_readahead_limit

and

media.cache_resume_threshold!

on the other hand we can avoid all that just by using Pale moon browser and Basilisk browser, because even by not disabling the MSE, we can almost full buffer several video players like uqload on this site: https://french-anime.com/animes-vf/

there is an option in the pale moon settings to disable MSE, I tried and it full buffered the videos from uqload, sibnet....

pity that firefox no longer full buffers videos, a 150 MB video for 20 minutes is not heavy and it is reasonable, and when our connection becomes weak, it is difficult to playback without jerks

otherwise, to avoid the problems of jerks and ads, we have to download and the best is to use the famous down them all then use the 1click option which memorizes the last action and downloads video even the hls videos!

https://www.downthemall.org/

https://french-anime.com/animes-vf/

after several searches, this the only free donwloader manager capable of downloading complex videos, i.e. m3u8, hls...it's FDM:

https://www.freedownloadmanager.org/

and of course the famous extension

https://www.downloadhelper.net/

there are great open source downloaders like:

https://github.com/mhogomchungu/media-downloader

And

https://github.com/aandrew-me/ytDownloader

but they can't detect embed videos, the dream is that these dowloader natively integrates open source extensions for detecting and downloading videos like:

https://github.com/rowrawer/stream-detector https://github.com/chandler-stimson/live-stream-downloader https://github.com/meowcateatrat/elephant

trimechee commented 11 months ago

I specify when i said "EDIT : i make some researches and i tested many values of these flags but sadly, nothing changes, the quantity of the network cache buffer does not change :(", i was talking only about some streaming platforms, but on other paltforms, wa can full buffer the video.....