oleksis / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
https://oleksis.github.io/youtube-dl-gui/
The Unlicense
1.66k stars 107 forks source link

Taking forever to download/pre-process links #147

Open Aeliffa opened 11 months ago

Aeliffa commented 11 months ago

After a month or so without using the GUI, now it takes about 5 minutes to process my requests and give me the file. This is compared to the 10 seconds it used to take. I've tried it with and without ffmpeg. No pathing errors there, it's fine. I'm using the version from the windows store and have reinstalled it to no avail. It just says "pre-processing" (yes even if I set it to default where there shouldn't be any pre-processing) for several minutes at 0%.

Before going further


What is the purpose of your issue?


Bug report

If the problem occurs when downloading a URL please provide the full verbose output as follows:

  1. Restart yt-dlg
  2. Go to Options > Extra tab
  3. Enable Debug youtube-dl
  4. Go to Options > Advanced tab and Clear your log content
  5. Try to download the URL
  6. Copy the whole log content and insert it between the ``` part below
2023-09-20 15:52:24,105-DEBUG-Worker_1-[debug] Command-line config: ['--newline', '-R', '2', '-i', '-o', 'C:\\Users\\Bard\\Downloads\\midis\\MuseScore\\Piano\\PHONOGRAPH VERS\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '-v', '--ignore-config', '--hls-prefer-native', '--ffmpeg-location', 'C:\\ffmpeg\\bin', 'https://www.youtube.com/watch?v=gL95BpwjBfQ']
2023-09-20 15:52:24,105-DEBUG-Worker_1-[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
2023-09-20 15:52:24,105-DEBUG-Worker_1-[debug] yt-dlp version stable@2023.07.06 [b532a3481] (win_exe)
2023-09-20 15:52:24,105-DEBUG-Worker_1-[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
2023-09-20 15:52:24,106-DEBUG-Worker_1-[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev (setts), ffprobe 6.0-full_build-www.gyan.dev
2023-09-20 15:52:24,106-DEBUG-Worker_1-[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
2023-09-20 15:52:24,106-DEBUG-Worker_1-[debug] Proxy map: {}
2023-09-20 15:52:24,106-DEBUG-Worker_1-[debug] Loaded 1855 extractors
2023-09-20 15:52:24,106-DEBUG-Worker_1-[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
2023-09-20 15:52:24,107-DEBUG-Worker_1-[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
2023-09-20 15:52:24,107-DEBUG-Worker_1-[debug] Invoking http downloader on "https://rr2---sn-jvhj5nu-nh4l.googlevideo.com/videoplayback?expire=1695271918&ei=jncLZZ3GKY7FsfIPo6qk6AE&ip=(redacted)&id=o-AFpX0oGMCm2M1BJ8tZwhGLYLYoa0iBINAj4qavj9VVis&itag=251&source=youtube&requiressl=yes&mh=aZ&mm=31%2C29&mn=sn-jvhj5nu-nh4l%2Csn-o097znsz&ms=au%2Crdu&mv=m&mvi=2&pl=21&initcwndbps=1803750&spc=UWF9f9ZcLjts3c1QEmVHmXA6fhqoSZE&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=8950201&dur=513.461&lmt=1560412557619795&mt=1695249926&fvip=3&keepalive=yes&fexp=24007246&beids=24350017&c=ANDROID&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAK3Vbs8nb9DpKklxGtjYaS0bfBTNvnC9S7jN8gWQ6WAuAiAzVjNI0NCe6XFmeKaQUhyILlUCMeVQ97GWFm8XCPYajQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgOy-ybxdoZcG-fsF0DEr48XnmeNe4HWGFp0tjiMy8H-4CIExWJC6UkTUZX6As9GeO5xhMwzuYhH2ejjGuQjBprLUj"
2023-09-20 15:52:24,107-DEBUG-Worker_1-[debug] ffmpeg command line: "C:\ffmpeg\bin\ffprobe" -show_streams "file:C:\Users\Bard\Downloads\midis\MuseScore\Piano\PHONOGRAPH VERS\Master of Puppets (Guitar Track).webm"
2023-09-20 15:52:24,107-DEBUG-Worker_1-[debug] ffmpeg command line: "C:\ffmpeg\bin\ffmpeg" -y -loglevel "repeat+info" -i "file:C:\Users\Bard\Downloads\midis\MuseScore\Piano\PHONOGRAPH VERS\Master of Puppets (Guitar Track).webm" -vn -acodec libmp3lame "-q:a" 5.0 -movflags "+faststart" "file:C:\Users\Bard\Downloads\midis\MuseScore\Piano\PHONOGRAPH VERS\Master of Puppets (Guitar Track).mp3"

What operating system do you use ?

Windows 10

tranric commented 7 months ago

I have a similar issue, using GUI from oleksis it hangs on pre-processing forever. It seems to work fine on dlp version released on 2023.10.13 and prior but any version after that date released it hangs.

my extra commands are:

--sub-langs all --compat-options no-live-chat --embed-subs --recode-video mp4 --format bestvideo+bestaudio+mergeall --embed-thumbnail --merge-output-format mkv --embed-metadata --embed-chapters --yes-playlist

But works fine on any version after 2023.10.13 if i have no options on the extra commands.