VideoHelp Forum


Try StreamFab All-in-One and download Netflix, Amazon Prime, etc! Or Try DVDFab and copy all Blu-rays and DVDs!

Try NordVPN to access Netflix or other streaming services from any country and also surf safely! Try NordVPN!
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. the old youtube-dl.exe behavior was that it downloaded 5mega bytes/s for one file, total +10mega bytes/s for many file downloading at once for last 10 years.

    the new youtube-dl.exe behavior is that for 9/10 trials, it downloads 40k bytes/s. it started slow like this since several months ago (2021 May), when there was some kind of ban of youtube-dl

    i think this is some form of copy protection done by youtube

    i can get the normal 5 mega bytes/s speed in one out of 10 trials at the moment. i have to keep canceling the batch and starting the batch again and agian until it hits right, but soon and often it disconnects from downloading, if i so much as touch or make one click on a firefox webrowser somewhere, which is also painful. now i start to watch youtube things from a browser in a normal way, or i just quit watching youtube.

    -----------------------------------------------------
    youtube-dl.exe - 2020-0508.exe
    youtube-dl.exe - 2020-1101.exe
    youtube-dl.exe - 2020-1112.exe
    youtube-dl.exe - 2020-1119.exe
    youtube-dl.exe - 2020-1121.exe
    youtube-dl.exe - 2020-1124.exe
    youtube-dl.exe - 2020-1214.exe
    youtube-dl.exe - 2020-1222.exe
    youtube-dl.exe - 2021-0417.exe
    youtube-dl.exe - 2021-0606.exe

    all these version had the same slowness problems
    ----------------------------------------------------
    i checked GitHut and reddit websites i didnt find the reason why it is slow.
    i dont want to open an account for the websites above yet.
    i hope someone here could explain or point me to the direction where i can read and find some reasonings.
    Quote Quote  
  2. Originally Posted by sommers View Post

    i checked GitHut and reddit websites i didnt find the reason why it is slow.
    Did you check Github? If you did you would see their depository is desolate and the project hasn't has an update since early June.

    You need yt-dlp (based on youtube-dl) but a thriving project. They have a Discord server for assistance - use the HELP channel for advice - the developer himself is very active on there every day, too.
    https://discord.gg/XNuEuaNr

    Download latest release:
    https://github.com/yt-dlp/yt-dlp/releases/download/2021.09.25/yt-dlp_x86.exe

    You need aria2c for Windows
    https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0-win-64bit-build1.zip

    Put aria2c.exe in same folder as yt-dlp, along with ffmpeg.exe (full version over 100mb) https://www.mediafire.com/file/mv3ffex88q6z3ef/ffmpeg.exe/file

    Call yt-dlp in the same way, from the command line. Update with -U (same as yt-dl) and discover formats with -F (same as yt-dl).

    Or for a quick, easy 'best available' use:

    Code:
    yt-dlp -f bv,ba --compat-options multistreams --external-downloader aria2c "youtubeURL"
    Example code for own, individual selections (substitute your own formats). Obv works with Playlists too.

    Code:
    yt-dlp -f 299+140 --compat-options multistreams --external-downloader aria2c "youtubeURL"
    Post back a speed comparison ; )
    Last edited by codehound; 8th Oct 2021 at 04:19.
    Quote Quote  
  3. Originally Posted by sommers View Post
    the new youtube-dl.exe behavior is that for 9/10 trials, it downloads 40k bytes/s. it started slow like this since several months ago (2021 May), when there was some kind of ban of youtube-dl
    i think this is some form of copy protection done by youtube
    Can you provide an example argument that you use(d) which produce these results? I get the same issue using a linux emulator on iOS to download when using --date-before and --date-after arguments. It may be sending too many requests or something causing YouTube to flag and throttle your connections. If you're using computer maybe try using a yt-dl gui without special arguments just download a playlist or a users profile see if you get throttled.
    Quote Quote  
  4. thanks, yt-dlp_x86.exe "url" fixed all.
    it downloaded them with pizazz like old days. i found no slowness at all.
    and uses the same commands as youtube-dl

    however
    old days downloading way
    5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 .....

    yt-dlp_x86.exe's new downloading way
    5 5 5 5 short pause 5 5 5 5 short pause 5 5 5 5 5 short pause 5 5 5 5 5 ......
    this behavior was ok. i wanted to let you know.

    webm is a new default for yt-dlp_x86.exe, i need mp4 for cutting and joining collage lecture tube videos for later

    aria2c.exe had no effect on speed, the detail is shown below

    ***************************************
    i have a few questions about ffmpeg.exe and yt-dlp_x86.exe
    ***************************************
    yt-dlp_x86.exe --compat-options multistreams --external-downloader aria2c.exe
    makes no difference and it is the same as simple yt-dlp_x86.exe alone

    yt-dlp_x86.exe --external-downloader aria2c.exe
    makes no difference and it is the same as simple yt-dlp_x86.exe alone

    yt-dlp_x86.exe -f bv,ba --compat-options multistreams --external-downloader aria2c.exe
    makes no difference and it is the same as simple yt-dlp_x86.exe alone

    i will omit this line all together -f bv,ba --compat-options multistreams --external-downloader aria2c.exe

    ***************************************
    --format mp4

    this command makes no sound.
    is there a way to interpret this command "--format mp4" as "--file_extension mp4"

    if i use the command line below, my total command line will be too long and hard to understand and edit at the moment.
    and i havent learned them yet.

    yt-dlp_x86.exe -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best'

    ***************************************
    i want to use this --no-part, what would be the catch?

    is .part some kind of a temporary cache file to convert things or merge things faster?
    because i dont want to constantly chase them and delete them

    ***************************************
    which version is better or newer or more stable, AA1 or AA2?

    AA1=ffmpeg version 2021-03-03-git-4dc039b4c7-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
    built with gcc 10.2.0 (Rev6, Built by MSYS2 project)

    AA2=ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
    built with gcc 10.2.0 (Rev6, Built by MSYS2 project)

    ***************************************

    c:\ffmpeg\presets has
    libvpx-1080p.ffpreset
    libvpx-1080p50_60.ffpreset
    libvpx-360p.ffpreset
    libvpx-720p.ffpreset
    libvpx-720p50_60.ffpreset

    what are they? is this ok to delete them?
    ***************************************
    Quote Quote  
  5. webm is a new default for yt-dlp_x86.exe, i need mp4 for cutting and joining collage lecture tube videos for later
    Are you sure about that ? I haven't tested yt-dlp much yet, but with youtube-dl, WEBM was chosen only if the video / audio streams selected were incompatible with the MP4 container, which can happen if you let it decide what is “best”. Normally with AVC video + AAC audio (as in the example given above by specifying “-f 299+140” — but both formats have to be actually available for that particular video for this to work) the default container should be MP4. But if I'm not mistaken, WEBM is merely a special “flavor” or MKV (at least the headers look very similar), so if it's only a matter of joining files it should be easy with MKVToolNix — unless you prefer MP4 for compatibility reasons, if intending to watch those collages on a standalone device.

    if i use the command line below, my total command line will be too long and hard to understand and edit at the moment.
    and i havent learned them yet.
    You don't really need to memorize everything, you can create a script and then only modify the link / URL.
    Code:
    set link=https://www.youtube.com/watch?v=whatever
    yt-dlp -f [settings] %link%
    Or even, if always using the same settings, add the --batch-file option then leave the script unchanged and only edit a separate text file containing the URL(s) to download.



    c:\ffmpeg\presets has
    libvpx-1080p.ffpreset
    libvpx-1080p50_60.ffpreset
    libvpx-360p.ffpreset
    libvpx-720p.ffpreset
    libvpx-720p50_60.ffpreset

    what are they? is this ok to delete them?
    Not sure what those files are (except that they're obviously presets), but they are certainly not required for ffmpeg's regular operation. That said, with a total size just above 1KB you won't recover much free space by deleting them. In that regard, I would be more worried about the multiple instances of the ffmpeg executable which you may already have on your system, since many utilities include their own ffmpeg executable among their subfolders, as I mentioned here. That problem can be solved through the use of hard links : get the most recent build and then replace all other ffmpeg.exe files by a hard link of that one file, which is easy with LinkShellExtension — on my system I found about 700MB worth of ffmpeg and ffmpeg related files, but it could be much more than that, with the ever increasing size of the official build.
    Last edited by abolibibelot; 8th Oct 2021 at 16:43.
    Quote Quote  
  6. i made a big testing mistake, i just found out. so i need to report this again

    SET P2=C:\Programs\YOUTUBE-DL\WIN10\yt-dlp_x86.exe
    SET G1=--no-part
    REM SET G2=--format mp4
    SET G3=--compat-options multistreams --external-downloader aria2c.exe

    ************************************************** *
    this was the bad one , i forgot to put %G3% in the command line
    START "" %P2% G1% %G2% %URL%

    download stuttered.
    5 5 5 5 short pause 5 5 5 5 short pause 5 5 5 5 5 short pause 5 5 5 5 5 .....
    and some of downloaded video files suffered missing audios
    ************************************************** *
    the corrected one

    START "" %P2% G1% %G2% %G3% %URL%

    it worked, i could see blue % done. green download speed, yellow time elapse
    it didnt seem to suffer from missing audios when making webms
    ************************************************** *

    -f bv,ba --compat-options multistreams --external-downloader aria2c.exe
    this command makes videos with no sound.
    the default quality wasnt bad, video file sizes werent big and were similar to the old ways.. so i will study this -f later.
    Quote Quote  
  7. ffpreset... they are certainly not required for ffmpeg's regular operation
    ok, thanks, i know what i will do about them.

    ************************************
    I will delete this version
    ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
    built with gcc 10.2.0 (Rev6, Built by MSYS2 project)

    and i will keep this version
    ffmpeg version 2021-03-03-git-4dc039b4c7-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
    built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
    ************************************

    but with youtube-dl, WEBM was chosen only if the video / audio streams selected were incompatible with the MP4 container
    what you said is true but, getting a webm with the youtube-dl's default operation is extremely rare maybe about 0.001%, or maybe 2~4 webm files per year. the rest of my downloads was mp4 files.

    so far, every download made by the yt-dlp's default operation was webms

    if there are no easy way to produce mp4s, then i will study -f.....
    but wait!!!! i just made my 1st try using yt-dlp_x86.exe --format best %URL% command, and it produced the mp4 video which was the same thing as the old youtube-dl.exe's mp4.

    " --format best" command solved my problem

    webm x1 x1.5, video sizes are way too big (x0.5 is not possible)
    mp4 x0.5 x1 x1.5 all video sizes are possible, (x0.5 is possible, i can even put a small video at the corner )
    yes i know everything depends on the original resolution but...

    i just found out yt-dlp_x86.exe bypasss the age restriction videos as well like old days.

    *************************************************
    WEBM is merely a special “flavor” or MKV (at least the headers look very similar), so if it's only a matter of joining files it should be easy with MKVToolNix
    if it is a movie then i accept MKV, but if it is a lecture video, i said no to MKV, because FF and Fast rewind is too slow. MKV quite often (but not too often) was codec-ed in some kind of "Herv10 ???? dont know exact spell" it is either unplayble or needs a special codec i have no idea about.

    *************************************************
    my final thought
    reasons for using yt-dlp_x86.exe
    i can drag and drop many many URL's to a DOS batch file as fast as i can and filter out all the clcikbait videos.
    you can not do this normally, because many youtube videos start with 1 or 2 ads right from the beginning.
    Quote Quote  
  8. ************************************
    I will delete this version
    ffmpeg version 4.4-full_build

    and i will keep this version
    ffmpeg version 2021-03-03-git-4dc039b4c7-full_build
    ************************************
    what you said is true but, getting a webm with the youtube-dl's default operation is extremely rare maybe about 0.001%, or maybe 2~4 webm files per year. the rest of my downloads was mp4 files.

    " --format best" command solved my problem
    *************************************************
    if it is a movie then i accept MKV, but if it is a lecture video, i said no to MKV, because FF and Fast rewind is too slow. MKV quite often (but not too often) was codec-ed in some kind of "Herv10 ???? dont know exact spell" it is either unplayble or needs a special codec i have no idea about.
    1. This is describing Stable builds vs Nightly builds.
    2. You're likely getting webm files because opus is considered a better audio codec but not supported by mp4 container.
    3. If you want to convert one of the webm or mkv to mp4, you can mux the video losslessly while converting the audio to aac or another audio codec supported by the mp4 container format.
    4. You can add "HEVC Video Extensions from Device Manufacturer" for free from the Official Microsoft Store, (don't pay for the $0.99 one). Also download a video player which supports hevc, which is practically all of them.
    Quote Quote  
  9. CodeHound, thank you very much. I was having the same speed problem with YouTube.dl, but now, after reading your comment, I am using YT_DLP.

    Today, October 12, 2021, I used yt_dlp, plus the full version of FFMPEG, to create a ONE-CLICK file to download videos.

    The user copies the url from their internet browser and then click on my file and the download will start automatically,
    with the best video and audio resolution, plus the thumbnail. It is awesome for people who just need to download videos.

    I created a batch file and packed it together with yt_dlp and ffmpeg into an SFX EXECUTABLE, which is the file.

    Those who wish to inspect the files can use winrar to unpack the SFX executable.

    My file is called "ONE-CLICK YT_DLP.exe", and can be downloaded as a rar file from:

    https://www.mediafire.com/file/bfb3ibj1fh82h4p/ONE-CLICK+YT_DLP.rar/file

    I hope it will be of some use to some people, as it is extremely easy to use, again, just by copying the url and clicking on my file.

    THANK YOU ALL
    Quote Quote  
  10. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    @newman kidman
    Thank you for the elegant bat file.I found it works very well.
    The current setting in the bat file -f selects "best video and audio" ( eg webm vp9 and opus) which playback ok on the pc, but my (older) media player doesn't recognize these formats.
    Can you tell me how to modify the -f command to give me an mp4 with x264 and aac - if they were available?
    Quote Quote  
  11. @sambat, thank you for your appreciation of my file.

    You can replace -f bestvideo+bestaudio with -f 137+140

    Making the entire command line as follows:

    yt-dlp_x86.exe -o YOUR_VIDEOS\%DateTime% --write-thumbnail -f 137+140 "AUTOMATIC_URL"

    All the format codes can be found through the link below:

    https://gist.github.com/AgentOak/34d47c65b1d28829bb17c24c04a0096f
    Quote Quote  
  12. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Worked like charm, thank you.
    Quote Quote  



Similar Threads