Killer-Feature, sehr geil!Billy2011 schrieb:
Ich habe ein neues Plugin hinzugefügt, damit man auch youtube-dl benutzen kann.
Beispiel:
#SERVICE 4097:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/youtubedl%3a//https%3a//www.youtube.com/watch?v=hberfFI7AAo:CAPITAL BRA - DER BRATAN BLEIBT DER GLEICHE
Ausgerechnet bei dem angegebenen YouTube-Video spuckt youtube-dl als "best"-Format das denkbar schlechteste aus:
root@vuultimo4k:/usr/lib/python2.7/site-packages# youtube-dl --no-check-certificate -F https://www.youtube.com/watch?v=hberfFI7AAo
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] hberfFI7AAo: Downloading webpage
[youtube] hberfFI7AAo: Downloading video info webpage
[info] Available formats for hberfFI7AAo:
format code extension resolution note
249 webm audio only tiny 62k , opus @ 50k (48000Hz), 1.43MiB
250 webm audio only tiny 81k , opus @ 70k (48000Hz), 1.87MiB
140 m4a audio only tiny 130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 3.27MiB
251 webm audio only tiny 161k , opus @160k (48000Hz), 3.65MiB
394 mp4 256x144 144p 82k , av01.0.00M.08, 25fps, video only, 1.78MiB
278 webm 256x144 144p 98k , webm container, vp9, 25fps, video only, 2.20MiB
160 mp4 256x144 144p 110k , avc1.4d400c, 25fps, video only, 2.11MiB
395 mp4 426x240 240p 181k , av01.0.00M.08, 25fps, video only, 3.56MiB
242 webm 426x240 240p 226k , vp9, 25fps, video only, 4.49MiB
133 mp4 426x240 240p 244k , avc1.4d4015, 25fps, video only, 4.25MiB
396 mp4 640x360 360p 327k , av01.0.01M.08, 25fps, video only, 6.32MiB
243 webm 640x360 360p 414k , vp9, 25fps, video only, 8.14MiB
397 mp4 854x480 480p 584k , av01.0.04M.08, 25fps, video only, 11.25MiB
134 mp4 640x360 360p 633k , avc1.4d401e, 25fps, video only, 10.22MiB
244 webm 854x480 480p 772k , vp9, 25fps, video only, 14.67MiB
135 mp4 854x480 480p 1383k , avc1.4d401e, 25fps, video only, 19.38MiB
398 mp4 1280x720 720p 1409k , av01.0.05M.08, 25fps, video only, 22.39MiB
247 webm 1280x720 720p 1582k , vp9, 25fps, video only, 29.12MiB
399 mp4 1920x1080 1080p 2219k , av01.0.08M.08, 25fps, video only, 39.52MiB
136 mp4 1280x720 720p 3207k , avc1.4d401f, 25fps, video only, 34.99MiB
248 webm 1920x1080 1080p 3264k , vp9, 25fps, video only, 51.06MiB
137 mp4 1920x1080 1080p 4332k , avc1.640028, 25fps, video only, 59.93MiB
400 mp4 2560x1440 1440p 8402k , av01.0.12M.08, 25fps, video only, 117.14MiB
271 webm 2560x1440 1440p 9243k , vp9, 25fps, video only, 131.08MiB
401 mp4 3840x2160 2160p 18490k , av01.0.12M.08, 25fps, video only, 235.69MiB
313 webm 3840x2160 2160p 19118k , vp9, 25fps, video only, 319.49MiB
18 mp4 640x360 360p 592k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 14.94MiB (best)
So bekommt man statt UHD nur 360p:
[streamlinksrv][info] Processing URL: youtubedl://https://www.youtube.com/watch?v=hberfFI7AAo
[streamlinksrv][info] Found matching plugin youtubedl for URL youtubedl://https://www.youtube.com/watch?v=hberfFI7AAo
[streamlinksrv][info] Available streams:
audio_webm, audio_m4a, 360p (worst, best)
Das ist aber meines Erachtens ein youtube-dl-Problem, nicht eins des streamlinksrv. (Ja, youtube-dl ist aktuell, 2019.11.28).