Package: yt-dlp Version: 2023.03.04-1 Severity: grave Justification: renders package unusable
Hello and thanks for maintaining this useful package! After upgrading from yt-dlp/2023.02.17-1 to yt-dlp/2023.03.04-1, mpv is no longer able to use yt-dlp to play YouTube videos: $ mpv https://www.youtube.com/watch?v=........... EDL specifies no segments.' EDL parsing failed. Error in EDL. EDL: source file 'edl://!mp4_dash,init=%915%https://rr1---sn-hpa7znzy.googlevideo.com/videoplayback?expire=1679861814&ei=1lMgZOdpiqvXAtvOorAL&ip=176.207.81.113&id=.....................&itag=251&source=youtube&requiressl=yes&mh=Ud&mm=31%2C29&mn=sn-hpa7znzy%2Csn-hpa7kn76&ms=au%2Crdu&mv=m&mvi=1&pl=21&gcr=it&initcwndbps=742500&spc=99c5CXNHIzrXpm8d9GnEVnYuvfkNUx0&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=2393695&dur=146.021&lmt=1565382960171852&mt=1679839757&fvip=2&keepalive=yes&fexp=24007246&c=ANDROID&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgK694JvtFcYR2CD8XvmJn6i09Q9lraFGyVhAMcpRX-UICIQCCGeSN6JZGoxj5dZMwNp-qBqRmJ11_PZLZI2eZCTLkhg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJd3QxRLmHXqr04xeeC1fjZSFZr9k6cv2So71H8l6Ax2AiEAhKnq5EgVOp84xsaGYrOL8Uga7UxrqNJG6fCqH4mH238%3D&range=0-2393695;' has unknown duration. EDL specifies no segments.' EDL parsing failed. Error in EDL. EDL: source file 'edl://!mp4_dash,init=%915%https://rr1---sn-hpa7znzy.googlevideo.com/videoplayback?expire=1679861814&ei=1lMgZOdpiqvXAtvOorAL&ip=176.207.81.113&id=.....................&itag=248&source=youtube&requiressl=yes&mh=Ud&mm=31%2C29&mn=sn-hpa7znzy%2Csn-hpa7kn76&ms=au%2Crdu&mv=m&mvi=1&pl=21&gcr=it&initcwndbps=742500&spc=99c5CXNHIzrXpm8d9GnEVnYuvfkNUx0&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=8861743&dur=146.000&lmt=1565383003479714&mt=1679839757&fvip=2&keepalive=yes&fexp=24007246&c=ANDROID&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKRzV0x6RiHkG_vxxixrOMea0A9COXLNQKnMXZMH-JjoAiBflw-hlwAKQUe_kv1e7oI91GhJbXwXdDtknxSqJXSdVg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJd3QxRLmHXqr04xeeC1fjZSFZr9k6cv2So71H8l6Ax2AiEAhKnq5EgVOp84xsaGYrOL8Uga7UxrqNJG6fCqH4mH238%3D&range=0-8861743;' has unknown duration. File tags: Uploader: ......... - ..... Channel_URL: https://www.youtube.com/channel/........................ No video or audio streams selected. Exiting... (Errors when loading file) Instead, if I manually download the YouTube video: $ yt-dlp -o test https://www.youtube.com/watch?v=........... [youtube] Extracting URL: https://www.youtube.com/watch?v=........... [youtube] ...........: Downloading webpage [youtube] ...........: Downloading android player API JSON [info] ...........: Downloading 1 format(s): 248+251 [dashsegments] Total fragments: 1 [download] Destination: test.f248.webm [download] 100% of 8.45MiB in 00:00:00 at 8.71MiB/s [dashsegments] Total fragments: 1 [download] Destination: test.f251.webm [download] 100% of 2.28MiB in 00:00:00 at 6.66MiB/s [Merger] Merging formats into "test.webm" Deleting original file test.f251.webm (pass -k to keep) Deleting original file test.f248.webm (pass -k to keep) I obtain a 'test.webm' file, that can later be played with mpv: $ mpv test.webm (+) Video --vid=1 (*) (vp9 1080x1080 25.000fps) (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz) AO: [jack] 44100Hz stereo 2ch floatp VO: [gpu] 1080x1080 yuv420p AV: 00:00:03 / 00:02:26 (2%) A-V: 0.000 Exiting... (Quit) If I downgrade yt-dlp to version 2023.02.17-1, everything works again: $ mpv https://www.youtube.com/watch?v=........... (+) Video --vid=1 (*) (vp9 1080x1080 25.000fps) (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz) File tags: Uploader: ......... - ..... Channel_URL: https://www.youtube.com/channel/........................ AO: [jack] 44100Hz stereo 2ch floatp VO: [gpu] 1080x1080 yuv420p AV: 00:00:03 / 00:02:26 (3%) A-V: 0.000 Cache: 141s/15MB Exiting... (Quit) What's wrong? Did yt-dlp change API? If this is the case, the new version of yt-dlp Debian package should wait for an updated mpv Debian package, before migrating to testing... Or is it a bug in yt-dlp that shows up only when yt-dlp is called by mpv behind the scenes, and not when it is directly invoked from the user's command line? Please fix this issue as soon as possible, or revert to the previous version (yt-dlp/2023.02.17-1), until this behavior has been properly investigated and solved. Thanks for your time and patience! -- System Information: Debian Release: 12.0 APT prefers testing-security APT policy: (800, 'testing-security'), (800, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-6-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages yt-dlp depends on: ii python3 3.11.2-1 ii python3-brotli 1.0.9-2+b6 ii python3-certifi 2022.9.24-1 ii python3-mutagen 1.46.0-1 ii python3-pkg-resources 66.1.1-1 ii python3-pycryptodome 3.11.0+dfsg1-4 ii python3-websockets 10.4-1 Versions of packages yt-dlp recommends: ii ca-certificates 20230311 ii curl 7.88.1-7 ii ffmpeg 7:5.1.2-3 ii python3-pyxattr 0.8.0-1+b1 ii rtmpdump 2.4+20151223.gitfa8646d.1-2+b2 ii wget 1.21.3-1+b2 Versions of packages yt-dlp suggests: pn libfribidi-bin | bidiv <none> ii mpv 0.35.1-1 pn phantomjs <none> -- no debconf information