I've been toying with a dual WAN configuration and was surprised when I tried a yt-dlp download with --live-from-start. Although lots of individual segments are download and merged, I was surprised that they all passed through the same WAN.
Don't know if it's just my setup or the way yt-dlp was written. Since current and past segments are downloaded individually, is it possible to take full advantage of the extra bandwidth?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 8 of 8
-
-
Just to follow this up, yt-dlp has the switch --concurrent-fragments (-N). Default is 1, but you can select how many fragments to download simultaneously.
It works in theory, but I can't get it to use both WANs, it just does multiple fragments across the same one. It doesn't works as well as I'd like. -
I think a lot dependa on how your dual-WAN is setup. Do you have two breakouts? Are they load balancing? Is one a failover for the other?
Try runningCode:curl ifconfig.io
-
Maybe the load balancing works in a way that the line is selected (maybe amongst other criteria) by file size, or maybe the load balancing even happens ONLY for bigger files at all... And ALL chunks are relatively small single files...
-
Exactly, it all depends on how it was setup initially and the configuration
-
I'm using OpenWRT's mwan3 setup on my router to load balance two ISPs. Beyond that, I dunno much.
@Karoolus - How does someone run curl? Sounds linux-y. -
https://openwrt.org/docs/guide-user/network/wan/multiwan/mwan3#how_mwan3_load-balancing_works
How mwan3 load-balancing works
- mwan3 uses normal Linux policy routing to balance outgoing traffic over multiple WAN connections
- Linux outgoing network traffic load-balancing is performed on a per-IP connection basis -- it is not channel-bonding, where a single connection (e.g. a single download) will use multiple WAN connections simultaneously
- As such load-balancing will help speed multiple separate downloads or traffic generated from a group of source PCs all accessing different sites but it will not speed up a single download from one PC (unless the download is spread across multiple IP streams such as by using a download manager)
how fast are your WAN connections?
If you have version 1803 or later of Windows 10, curl is installed by default.
(but if the above mwan3 info is true, it will only return the same external ip address each time) -
Rebooted router, access point router and modems and now it works fine.
It's strange since failover worked fine. Different devices used different wans, but I couldn't get single programs to use more than one wan on my PC.
Similar Threads
-
Need help for download with yt-dlp
By sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 15:02 -
yt-dlp question
By blanc in forum Video Streaming DownloadingReplies: 9Last Post: 26th Mar 2022, 11:00 -
Help with yt-dlp
By Loryanam2 in forum Video Streaming DownloadingReplies: 1Last Post: 5th Jan 2022, 11:57 -
Help with yt-dlp downloads
By jeffo in forum Video Streaming DownloadingReplies: 3Last Post: 3rd Dec 2021, 17:40 -
DLP Chip
By biferi in forum Newbie / General discussionsReplies: 1Last Post: 8th Apr 2021, 15:53