Giter Site home page Giter Site logo

Don't download full video about yt-dlp HOT 10 CLOSED

ElYaiko avatar ElYaiko commented on July 18, 2024
Don't download full video

from yt-dlp.

Comments (10)

bashonly avatar bashonly commented on July 18, 2024

show complete verbose output please

from yt-dlp.

ElYaiko avatar ElYaiko commented on July 18, 2024

show complete verbose output please

Added

from yt-dlp.

bashonly avatar bashonly commented on July 18, 2024

I don't see any evidence of it downloading the full video? Just a slow download speed

from yt-dlp.

ElYaiko avatar ElYaiko commented on July 18, 2024

I don't see any evidence of it downloading the full video? Just a slow download speed

You're right, tried downloading 10 seconds and it worked.
Is there a way to speed up the download speed?, 100kb/s is very slow.

from yt-dlp.

bashonly avatar bashonly commented on July 18, 2024

You could try downloading a different format, e.g. 140

Downloading with ffmpeg is naturally slow since ffmpeg is unable to abide by youtube's http chunk size limitation (for which they'll throttle your download speed when exceeded).

Sometimes a particular format will give a slow download rate, while others fare better (hence the suggestion).

Youtube also seems to be experimenting with throttling download speeds for iOS client formats, so you could also try --extractor-arg "youtube:player_client=web"

from yt-dlp.

ElYaiko avatar ElYaiko commented on July 18, 2024

You could try downloading a different format, e.g. 140

Downloading with ffmpeg is naturally slow since ffmpeg is unable to abide by youtube's http chunk size limitation (for which they'll throttle your download speed when exceeded).

Sometimes a particular format will give a slow download rate, while others fare better (hence the suggestion).

Youtube also seems to be experimenting with throttling download speeds for iOS client formats, so you could also try --extractor-arg "youtube:player_client=web"

Still stuck at 100kb/s, even tried with:

-f 140 --extractor-arg "youtube:player_client=web" --throttled-rate 500K -r 5M -N 6

from yt-dlp.

bashonly avatar bashonly commented on July 18, 2024

Downloading with ffmpeg is naturally slow since ffmpeg is unable to abide by youtube's http chunk size limitation (for which they'll throttle your download speed when exceeded).

It's probably just this then. IIRC the http chunk size throttling doesn't apply to formats 18 and 22, if those are available / usable for you. You would be downloading video & audio and extracting the audio, but even so it would prob still be faster if you got a "normal" download speed instead of 100KB/s

from yt-dlp.

ElYaiko avatar ElYaiko commented on July 18, 2024

Downloading with ffmpeg is naturally slow since ffmpeg is unable to abide by youtube's http chunk size limitation (for which they'll throttle your download speed when exceeded).

It's probably just this then. IIRC the http chunk size throttling doesn't apply to formats 18 and 22, if those are available / usable for you. You would be downloading video & audio and extracting the audio, but even so it would prob still be faster if you got a "normal" download speed instead of 100KB/s

It worked much better, the only problem is that sometimes they are not available or is not the best quality.
How one's can know what formats are not throttled by ffmpeg?

$ yt-dlp AgpWX18dby4 -F
[youtube] Extracting URL: AgpWX18dby4
[youtube] AgpWX18dby4: Downloading webpage
[youtube] AgpWX18dby4: Downloading ios player API JSON
[youtube] AgpWX18dby4: Downloading m3u8 information
[info] Available formats for AgpWX18dby4:
ID  EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2 mhtml 48x27        0    │                  mhtml │ images                                  storyboard
sb1 mhtml 80x45        0    │                  mhtml │ images                                  storyboard
sb0 mhtml 160x90       0    │                  mhtml │ images                                  storyboard
233 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
234 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
139 m4a   audio only      2 │  209.35MiB   49k https │ audio only          mp4a.40.5   49k 22k low, m4a_dash
249 webm  audio only      2 │  189.32MiB   44k https │ audio only          opus        44k 48k low, webm_dash
250 webm  audio only      2 │  251.24MiB   59k https │ audio only          opus        59k 48k low, webm_dash
140 m4a   audio only      2 │  555.63MiB  129k https │ audio only          mp4a.40.2  129k 44k medium, m4a_dash
251 webm  audio only      2 │  502.96MiB  117k https │ audio only          opus       117k 48k medium, webm_dash
602 mp4   256x144     13    │ ~  2.31GiB  551k m3u8  │ vp09.00.10.08  551k video only
394 mp4   256x144     25    │  233.73MiB   54k https │ av01.0.00M.08   54k video only          144p, mp4_dash
269 mp4   256x144     25    │ ~  1.73GiB  413k m3u8  │ avc1.4D400C    413k video only
160 mp4   256x144     25    │  252.42MiB   59k https │ avc1.4D400C     59k video only          144p, mp4_dash
603 mp4   256x144     25    │ ~  2.67GiB  636k m3u8  │ vp09.00.11.08  636k video only
278 webm  256x144     25    │  309.38MiB   72k https │ vp9             72k video only          144p, webm_dash
395 mp4   426x240     25    │  426.66MiB   99k https │ av01.0.00M.08   99k video only          240p, mp4_dash
229 mp4   426x240     25    │ ~  1.93GiB  460k m3u8  │ avc1.4D4015    460k video only
133 mp4   426x240     25    │  564.01MiB  131k https │ avc1.4D4015    131k video only          240p, mp4_dash
604 mp4   426x240     25    │ ~  2.66GiB  635k m3u8  │ vp09.00.20.08  635k video only
242 webm  426x240     25    │  489.38MiB  114k https │ vp9            114k video only          240p, webm_dash
396 mp4   640x360     25    │  911.43MiB  212k https │ av01.0.01M.08  212k video only          360p, mp4_dash
230 mp4   640x360     25    │ ~  3.51GiB  838k m3u8  │ avc1.4D401E    838k video only
134 mp4   640x360     25    │    1.16GiB  278k https │ avc1.4D401E    278k video only          360p, mp4_dash
18  mp4   640x360     25  2 │    2.38GiB  569k https │ avc1.42001E         mp4a.40.2       44k 360p
605 mp4   640x360     25    │ ~  3.66GiB  874k m3u8  │ vp09.00.21.08  874k video only
243 webm  640x360     25    │    1.09GiB  261k https │ vp9            261k video only          360p, webm_dash
397 mp4   854x480     25    │    1.51GiB  360k https │ av01.0.04M.08  360k video only          480p, mp4_dash
231 mp4   854x480     25    │ ~  5.82GiB 1389k m3u8  │ avc1.4D401E   1389k video only
135 mp4   854x480     25    │    1.95GiB  466k https │ avc1.4D401E    466k video only          480p, mp4_dash
606 mp4   854x480     25    │ ~  5.19GiB 1239k m3u8  │ vp09.00.30.08 1239k video only
244 webm  854x480     25    │    1.76GiB  420k https │ vp9            420k video only          480p, webm_dash
398 mp4   1280x720    25    │    2.97GiB  709k https │ av01.0.05M.08  709k video only          720p, mp4_dash
232 mp4   1280x720    25    │ ~ 10.91GiB 2602k m3u8  │ avc1.4D401F   2602k video only
136 mp4   1280x720    25    │    3.24GiB  774k https │ avc1.4D401F    774k video only          720p, mp4_dash
609 mp4   1280x720    25    │ ~  9.53GiB 2273k m3u8  │ vp09.00.31.08 2273k video only
247 webm  1280x720    25    │    3.30GiB  786k https │ vp9            786k video only          720p, webm_dash
399 mp4   1920x1080   25    │    4.90GiB 1170k https │ av01.0.08M.08 1170k video only          1080p, mp4_dash
270 mp4   1920x1080   25    │ ~ 19.83GiB 4731k m3u8  │ avc1.640028   4731k video only
137 mp4   1920x1080   25    │   10.93GiB 2608k https │ avc1.640028   2608k video only          1080p, mp4_dash
614 mp4   1920x1080   25    │ ~ 16.24GiB 3874k m3u8  │ vp09.00.40.08 3874k video only
248 webm  1920x1080   25    │    5.75GiB 1371k https │ vp9           1371k video only          1080p, webm_dash

from yt-dlp.

bashonly avatar bashonly commented on July 18, 2024

It's only 18 and 22

from yt-dlp.

ElYaiko avatar ElYaiko commented on July 18, 2024

It's only 18 and 22

Understood, thanks for the help!

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.