Maxstupo / ydl-ui

A UI for the command-line video downloader "youtube-dl"
MIT License
362 stars 35 forks source link

Some issues: Scaling, Download failed, Not best video/audio downloaded #19

Closed iG8R closed 5 years ago

iG8R commented 5 years ago

Hi. I faced some issues.

  1. Scaling issue. Display parameters - 4K resolution with 150% scaling factor First start:

    2019-06-19_103936

    After Download->Add URL...->Download directory (pushing three-dot button)

    2019-06-19_104027
  2. While using youtube-dl attached with ydl-ui package every time I get failed download
    Log: Working Directory: C:\ Executing: f:_Downloads\YouTube-dl\YDL_UI_v2.4.1_Portable\bin\youtube-dl.exe --no-overwrites --format "bestvideo[width<=?3840][height<=?2160][fps<=?144]+bestaudio/best[width<=?3840][height<=?2160][fps<=?144]" --prefer-ffmpeg --ffmpeg-location "f:_Downloads\YouTube-dl\YDL_UI_v2.4.1_Portable\bin\ffmpeg.exe" "https://www.youtube.com/watch?v=tFUDPRYHZ-E" [youtube] tFUDPRYHZ-E: Downloading webpage [youtube] tFUDPRYHZ-E: Downloading video info webpage WARNING: Requested formats are incompatible for merge and will be merged into mkv. ERROR: unable to download video data: HTTP Error 403: Forbidden

After replacing youtube-dl with the 2019.06.08 version - everything is OK.

  1. Downloaded streams are not the best ones. E.g. https://www.youtube.com/watch?v=tFUDPRYHZ-E has 60fps video but ydl-ui only downloads 30fps video stream even though "Video Quality" is set to 4K and "Frame rate" to 144Hz.

PS. I have the following parameters for youtube-dl for the best downloadable streams: youtube-dl -o C://%(title)s.%(ext)s -f bestvideo[height=?4320][fps=?60]+bestaudio/bestvideo[height=?2160][fps=?60]+bestaudio/bestvideo[height=?1440][fps=?60]+bestaudio/bestvideo[height=?1080][fps=?60]+bestaudio/bestvideo[height=?720][fps=?60]+bestaudio/bestvideo[height=?480][fps=?60]+bestaudio/bestvideo[height=?360][fps=?60]+bestaudio/bestvideo[height=?240][fps=?60]+bestaudio/bestvideo[height=?144][fps=?60]+bestaudio/bestvideo[height=?4320][fps=?50]+bestaudio/bestvideo[height=?2160][fps=?50]+bestaudio/bestvideo[height=?1440][fps=?50]+bestaudio/bestvideo[height=?1080][fps=?50]+bestaudio/bestvideo[height=?720][fps=?50]+bestaudio/bestvideo[height=?480][fps=?50]+bestaudio/bestvideo[height=?360][fps=?50]+bestaudio/bestvideo[height=?240][fps=?50]+bestaudio/bestvideo[height=?144][fps=?50]+bestaudio/bestvideo[height=?4320][fps=?48]+bestaudio/bestvideo[height=?2160][fps=?48]+bestaudio/bestvideo[height=?1440][fps=?48]+bestaudio/bestvideo[height=?1080][fps=?48]+bestaudio/bestvideo[height=?720][fps=?48]+bestaudio/bestvideo[height=?480][fps=?48]+bestaudio/bestvideo[height=?360][fps=?48]+bestaudio/bestvideo[height=?240][fps=?48]+bestaudio/bestvideo[height=?144][fps=?48]+bestaudio/bestvideo[height=?4320][fps=?30]+bestaudio/bestvideo[height=?2160][fps=?30]+bestaudio/bestvideo[height=?1440][fps=?30]+bestaudio/bestvideo[height=?1080][fps=?30]+bestaudio/bestvideo[height=?720][fps=?30]+bestaudio/bestvideo[height=?480][fps=?30]+bestaudio/bestvideo[height=?360][fps=?30]+bestaudio/bestvideo[height=?240][fps=?30]+bestaudio/bestvideo[height=?144][fps=?30]+bestaudio/bestvideo[height=?4320][fps=?24]+bestaudio/bestvideo[height=?2160][fps=?24]+bestaudio/bestvideo[height=?1440][fps=?24]+bestaudio/bestvideo[height=?1080][fps=?24]+bestaudio/bestvideo[height=?720][fps=?24]+bestaudio/bestvideo[height=?480][fps=?24]+bestaudio/bestvideo[height=?360][fps=?24]+bestaudio/bestvideo[height=?240][fps=?24]+bestaudio/bestvideo[height=?144][fps=?24]+bestaudio/best -i --ignore-config --hls-prefer-native https://www.youtube.com/watch?v=tFUDPRYHZ-E

Maxstupo commented 5 years ago
  1. I will look into the scaling issue. Does this issue occur with the "download archive" button?

  2. Downloads failing is because YDL-UI v2.4.1 is packaged with youtube-dl 2019.04.30. The next release will have a button to update youtube-dl manually.

  3. You can uncheck preferred and set frame rate to 60, this will download the best video with a frame rate of 60 or fail if that frame rate is unavailable.

iG8R commented 5 years ago
  1. No, it doesn't. Scaling doesn't change while pushing the "download archive" button.

  2. OK, thank you.

  3. Thank you, I used to know this, but it's annoying to pick the right resolution and fps every time - in this situation the essence of YDL-UI is lost due to large amount of manual work. It would be convenient to have such a function as described in the "Preferred?" option - "Download video with the highest frame rate UP to the selected frame rate". That is why I use forementioned command line parameters.

  4. In the beginning of the topic I forgot to mention one more issue: Progress doesn't show during and after downloading process.

    2019-06-20_104327_2
**Log (click to expand to view)** ``` Working Directory: D:\ Executing: f:\_Downloads\YouTube-dl\YDL_UI_v2.4.1_Portable\bin\youtube-dl.exe --ignore-errors --no-overwrites --format "bestvideo[width<=?3840][height<=?2160][fps=?60]+bestaudio/best[width<=?3840][height<=?2160][fps=?60]" --prefer-ffmpeg --ffmpeg-location "f:\_Downloads\YouTube-dl\YDL_UI_v2.4.1_Portable\bin\ffmpeg.exe" "https://www.youtube.com/watch?v=tFUDPRYHZ-E" [youtube] tFUDPRYHZ-E: Downloading webpage [youtube] tFUDPRYHZ-E: Downloading video info webpage [youtube] tFUDPRYHZ-E: Downloading js player vfloOZja_ [youtube] tFUDPRYHZ-E: Downloading js player vfloOZja_ WARNING: Requested formats are incompatible for merge and will be merged into mkv. [download] Destination: GMVLike Monster-tFUDPRYHZ-E.f299.mp4 [download] 0.0% of 85.34MiB at 672.49KiB/s ETA 02:09 [download] 0.0% of 85.34MiB at 1.48MiB/s ETA 00:57 [download] 0.0% of 85.34MiB at 2.75MiB/s ETA 00:31 [download] 0.0% of 85.34MiB at 4.91MiB/s ETA 00:17 [download] 0.0% of 85.34MiB at 7.61MiB/s ETA 00:12 [download] 0.1% of 85.34MiB at 12.36MiB/s ETA 00:06 [download] 0.1% of 85.34MiB at 20.75MiB/s ETA 00:04 [download] 0.3% of 85.34MiB at 31.24MiB/s ETA 00:02 [download] 0.6% of 85.34MiB at 30.30MiB/s ETA 00:02 [download] 1.2% of 85.34MiB at 35.13MiB/s ETA 00:02 [download] 2.3% of 85.34MiB at 44.52MiB/s ETA 00:01 [download] 4.7% of 85.34MiB at 45.95MiB/s ETA 00:01 [download] 9.4% of 85.34MiB at 57.46MiB/s ETA 00:01 [download] 11.1% of 85.34MiB at 54.87MiB/s ETA 00:01 [download] 11.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.2% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.2% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.2% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 11.3% of 85.34MiB at 62.08MiB/s ETA 00:01 [download] 11.4% of 85.34MiB at 83.12MiB/s ETA 00:00 [download] 11.7% of 85.34MiB at 22.66MiB/s ETA 00:03 [download] 12.3% of 85.34MiB at 36.99MiB/s ETA 00:02 [download] 13.5% of 85.34MiB at 54.78MiB/s ETA 00:01 [download] 15.8% of 85.34MiB at 53.57MiB/s ETA 00:01 [download] 20.5% of 85.34MiB at 59.40MiB/s ETA 00:01 [download] 22.6% of 85.34MiB at 57.00MiB/s ETA 00:01 [download] 22.6% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.6% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.6% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.6% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.6% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.7% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 22.8% of 85.34MiB at 62.48MiB/s ETA 00:01 [download] 22.9% of 85.34MiB at 83.45MiB/s ETA 00:00 [download] 23.2% of 85.34MiB at 91.08MiB/s ETA 00:00 [download] 23.8% of 85.34MiB at 23.78MiB/s ETA 00:02 [download] 25.0% of 85.34MiB at 38.81MiB/s ETA 00:01 [download] 27.3% of 85.34MiB at 45.68MiB/s ETA 00:01 [download] 32.0% of 85.34MiB at 44.94MiB/s ETA 00:01 [download] 34.1% of 85.34MiB at 48.15MiB/s ETA 00:01 [download] 34.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 34.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 34.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 34.1% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 34.2% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 34.2% of 85.34MiB at 60.90MiB/s ETA 00:00 [download] 34.3% of 85.34MiB at 82.45MiB/s ETA 00:00 [download] 34.4% of 85.34MiB at 83.09MiB/s ETA 00:00 [download] 34.7% of 85.34MiB at 99.95MiB/s ETA 00:00 [download] 35.3% of 85.34MiB at 43.32MiB/s ETA 00:01 [download] 36.5% of 85.34MiB at 59.59MiB/s ETA 00:00 [download] 38.8% of 85.34MiB at 62.05MiB/s ETA 00:00 [download] 43.5% of 85.34MiB at 63.28MiB/s ETA 00:00 [download] 45.3% of 85.34MiB at 64.30MiB/s ETA 00:00 [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 45.4% of 85.34MiB at 83.12MiB/s ETA 00:00 [download] 45.6% of 85.34MiB at 83.31MiB/s ETA 00:00 [download] 45.9% of 85.34MiB at 91.00MiB/s ETA 00:00 [download] 46.4% of 85.34MiB at 95.37MiB/s ETA 00:00 [download] 47.6% of 85.34MiB at 73.80MiB/s ETA 00:00 [download] 50.0% of 85.34MiB at 75.26MiB/s ETA 00:00 [download] 54.6% of 85.34MiB at 48.20MiB/s ETA 00:00 [download] 56.7% of 85.34MiB at 49.80MiB/s ETA 00:00 [download] 56.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 56.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 56.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 56.8% of 85.34MiB at Unknown speed ETA 00:02 [download] 56.8% of 85.34MiB at 30.21MiB/s ETA 00:01 [download] 56.8% of 85.34MiB at 41.02MiB/s ETA 00:00 [download] 56.9% of 85.34MiB at 62.05MiB/s ETA 00:00 [download] 57.0% of 85.34MiB at 83.07MiB/s ETA 00:00 [download] 57.3% of 85.34MiB at 83.28MiB/s ETA 00:00 [download] 57.9% of 85.34MiB at 54.06MiB/s ETA 00:00 [download] 59.1% of 85.34MiB at 58.04MiB/s ETA 00:00 [download] 61.4% of 85.34MiB at 34.79MiB/s ETA 00:00 [download] 66.1% of 85.34MiB at 44.84MiB/s ETA 00:00 [download] 68.0% of 85.34MiB at 47.95MiB/s ETA 00:00 [download] 68.0% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 68.0% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 68.0% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 68.0% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 68.0% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 68.1% of 85.34MiB at 41.07MiB/s ETA 00:00 [download] 68.1% of 85.34MiB at 62.08MiB/s ETA 00:00 [download] 68.3% of 85.34MiB at 83.12MiB/s ETA 00:00 [download] 68.6% of 85.34MiB at 90.86MiB/s ETA 00:00 [download] 69.2% of 85.34MiB at 87.02MiB/s ETA 00:00 [download] 70.3% of 85.34MiB at 63.58MiB/s ETA 00:00 [download] 72.7% of 85.34MiB at 64.07MiB/s ETA 00:00 [download] 77.4% of 85.34MiB at 59.71MiB/s ETA 00:00 [download] 79.3% of 85.34MiB at 62.96MiB/s ETA 00:00 [download] 79.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 79.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 79.3% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 79.4% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 79.4% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 79.4% of 85.34MiB at Unknown speed ETA 00:00 [download] 79.5% of 85.34MiB at 62.05MiB/s ETA 00:00 [download] 79.6% of 85.34MiB at 10.64MiB/s ETA 00:01 [download] 79.9% of 85.34MiB at 19.27MiB/s ETA 00:00 [download] 80.5% of 85.34MiB at 32.34MiB/s ETA 00:00 [download] 81.7% of 85.34MiB at 49.52MiB/s ETA 00:00 [download] 84.0% of 85.34MiB at 55.44MiB/s ETA 00:00 [download] 88.7% of 85.34MiB at 51.79MiB/s ETA 00:00 [download] 90.8% of 85.34MiB at 37.08MiB/s ETA 00:00 [download] 90.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.8% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.9% of 85.34MiB at Unknown speed ETA Unknown ETA [download] 90.9% of 85.34MiB at 82.85MiB/s ETA 00:00 [download] 91.1% of 85.34MiB at 83.20MiB/s ETA 00:00 [download] 91.4% of 85.34MiB at 76.93MiB/s ETA 00:00 [download] 92.0% of 85.34MiB at 31.43MiB/s ETA 00:00 [download] 93.1% of 85.34MiB at 44.56MiB/s ETA 00:00 [download] 95.5% of 85.34MiB at 54.92MiB/s ETA 00:00 [download] 100.0% of 85.34MiB at 41.35MiB/s ETA 00:00 [download] 100% of 85.34MiB in 00:01 [download] Destination: GMVLike Monster-tFUDPRYHZ-E.f251.webm [download] 0.0% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 0.1% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 0.2% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 0.5% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 1.0% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 2.0% of 3.15MiB at Unknown speed ETA Unknown ETA [download] 3.9% of 3.15MiB at 82.86MiB/s ETA 00:00 [download] 7.9% of 3.15MiB at 83.18MiB/s ETA 00:00 [download] 15.9% of 3.15MiB at 83.34MiB/s ETA 00:00 [download] 31.8% of 3.15MiB at 80.07MiB/s ETA 00:00 [download] 63.6% of 3.15MiB at 30.53MiB/s ETA 00:00 [download] 100.0% of 3.15MiB at 40.87MiB/s ETA 00:00 [download] 100% of 3.15MiB in 00:00 [ffmpeg] Merging formats into "GMVLike Monster-tFUDPRYHZ-E.mkv" Deleting original file GMVLike Monster-tFUDPRYHZ-E.f299.mp4 (pass -k to keep) Deleting original file GMVLike Monster-tFUDPRYHZ-E.f251.webm (pass -k to keep) ```
  1. Could you implement the ability to edit the settings of already added URLs and re-download them again? If the URL is failed to be downloaded or already completed, it would be useful to be able to change only some parameters but not add the same URL from the very beginning.