Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some youtube uri are incredibly slow with 2019.09.12.1 (not with 2019.08.13) #22463

Closed
JohnXLivingston opened this issue Sep 20, 2019 · 1 comment
Closed

Comments

@JohnXLivingston
Copy link

@JohnXLivingston JohnXLivingston commented Sep 20, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.09.12.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ /var/www/peertube/peertube-latest/node_modules/youtube-dl/bin/youtube-dl -v "https://www.youtube.com/watch?v=pFxCLgsD_LU"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=pFxCLgsD_LU']
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-5-amd64-x86_64-with-debian-10.1
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
[youtube] pFxCLgsD_LU: Downloading webpage
[youtube] pFxCLgsD_LU: Downloading video info webpage
[youtube] pFxCLgsD_LU: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/dash/expire/1568993018/ei/mpqEXf6FE9O3VLmav_gM/ip/2001%3A910%3A1410%3A100%3A%3A1/id/a45c422e0b03fcb5/source/youtube/requiressl/yes/playback_host/r4---sn-a0jpm-a0ms.googlevideo.com/mm/31%2C29/mn/sn-a0jpm-a0ms%2Csn-25glene6/ms/au%2Crdu/mv/u/mvi/3/pl/38/tx/23722138/txs/23722138%2C23722139/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/mt/1568971257/fvip/4/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Ctx%2Ctxs%2Chfr%2Cas%2Citag/sig/ALgxI2wwRgIhAONIiLviWx5ZlYg0btKFZaCyuuWa3u8RdoLQ4zRQ2s7BAiEA1TRZIozjaYGWdvTT2J3T3m65Zy74Wh3wu0DbXlV9dSI%3D/lsparams/playback_host%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl/lsig/AHylml4wRQIhAKlIrHPqOzBrlnTSnyafEImMR78higma17Q1HTumcUJ4AiAUc0EDJyp-VO90_Bn4tvETZlXbDK13BSlYC8PTaI-LqQ%3D%3D'
[dashsegments] Total fragments: 36
[download] Destination: Clip_chambre_a_air-pFxCLgsD_LU.f248.webm
[download]   5.6% of ~10.49MiB at 16.54MiB/s ETA 01:14:12

Description

On some youtube's video (like https://www.youtube.com/watch?v=pFxCLgsD_LU ), with youtube-dl 2019.09.12.1 the download is incredibly slow. It says 16.54MiB/s, but in fact it is stuck for a long time at the same percentage of completion. It take about 2 minutes to download 1Mo.

$ ls -lh 
total 1.4M
-rw-r--r-- 1 john john 1.4M Sep 20 09:30 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.part
-rw-r--r-- 1 john john   50 Sep 20 09:30 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.ytdl
$ ls -lh 
total 2.2M
-rw-r--r-- 1 john john 2.2M Sep 20 09:32 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.part
-rw-r--r-- 1 john john   50 Sep 20 09:32 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.ytdl
$ ls -lh 
total 4.4M
-rw-r--r-- 1 john john 4.4M Sep 20 09:38 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.part
-rw-r--r-- 1 john john   50 Sep 20 09:38 Clip_chambre_a_air-pFxCLgsD_LU.f248.webm.ytdl

This is not a bandwidth issue, I am on a web server.

The same url with youtube-dl 2019.08.13 worked perfectly.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 20, 2019

>youtube-dl.exe pFxCLgsD_LU -f 248
[youtube] pFxCLgsD_LU: Downloading webpage
[youtube] pFxCLgsD_LU: Downloading video info webpage
[youtube] pFxCLgsD_LU: Downloading MPD manifest
[dashsegments] Total fragments: 36
[download] Destination: Clip chambre à air-pFxCLgsD_LU.webm
[download] 100% of 24.70MiB in 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.