ubuntuusers.de

yt-dlp: seltsamer Fehler

Status: Gelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 56024

Wohnort: Berlin

Dimanche schrieb:

er für zum, nicht mehr weiter entwickelten youtube-dl.

Das wird weiterentwickelt. Gibt nur kein neues Release, sondern nur Nightly-Builds aus Git-Snapshots.

Letzter Nightly-Build ist von ... heute.

https://github.com/ytdl-org/ytdl-nightly

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 56024

Wohnort: Berlin

Dimanche schrieb:

Da ich yt-dlp nicht mithilfe durch das Wiki zum Laufen bekommen habe (nein auch nicht mit der PPA)

Kann ich mit einem frischen Ubuntu nicht nachstellen.

root@dingens:/# apt-add-repository ppa:tomtomtom/yt-dlp
Repository: 'deb https://ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu/ jammy main'
Description:
A youtube-dl fork with additional features and fixes 
More info: https://launchpad.net/~tomtomtom/+archive/ubuntu/yt-dlp
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/tomtomtom-ubuntu-yt-dlp-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/tomtomtom-ubuntu-yt-dlp-jammy.list
Adding key to /etc/apt/trusted.gpg.d/tomtomtom-ubuntu-yt-dlp.gpg with fingerprint CEC312CC5ED8215A6E0EFC49B90E9186F0E836FB
Get:1 https://ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu jammy InRelease [18.0 kB]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease    
Get:3 https://ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu jammy/main amd64 Packages [640 B]
Get:4 https://ppa.launchpadcontent.net/tomtomtom/yt-dlp/ubuntu jammy/main Translation-en [6972 B]
Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Fetched 25.7 kB in 0s (65.3 kB/s)
Reading package lists... Done
root@dingens:/# 

Das

root@dingens:/# apt install yt-dl

geht ob seines Umfanges mal kurz in die Ablage,

nach der Installation dann mal probiert':

root@dingens:/# yt-dlp https://www.youtube.com/watch?v=4XuWs31-km8
[youtube] Extracting URL: https://www.youtube.com/watch?v=4XuWs31-km8
[youtube] 4XuWs31-km8: Downloading webpage
[youtube] 4XuWs31-km8: Downloading ios player API JSON
[youtube] 4XuWs31-km8: Downloading android player API JSON
[youtube] 4XuWs31-km8: Downloading m3u8 information
[info] 4XuWs31-km8: Downloading 1 format(s): 248+251
[download] Destination: Janusz Góra Ulm emotional outburst "Skandal" [4XuWs31-km8].f248.webm
[download] 100% of    1.13MiB in 00:00:00 at 9.00MiB/s
[download] Destination: Janusz Góra Ulm emotional outburst "Skandal" [4XuWs31-km8].f251.webm
[download] 100% of   53.47KiB in 00:00:00 at 844.18KiB/s
[Merger] Merging formats into "Janusz Góra Ulm emotional outburst "Skandal" [4XuWs31-km8].webm"
Deleting original file Janusz Góra Ulm emotional outburst "Skandal" [4XuWs31-km8].f251.webm (pass -k to keep)
Deleting original file Janusz Góra Ulm emotional outburst "Skandal" [4XuWs31-km8].f248.webm (pass -k to keep)
root@dingens:/# 

habe ich die Anleitung von GitHub genommen

Ich auch. 😈

Gloster

Anmeldungsdatum:
9. April 2020

Beiträge: 417

Eine Fortsetzung :

Drei Varianten für yt-dlp, hier beschrieben : https://github.com/yt-dlp/yt-dlp/issues/9219#issuecomment-1962420648

Bis Dato, alles geht mit yt-dlp* !

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 56024

Wohnort: Berlin

tomtomtom schrieb:

Das

root@dingens:/# apt install yt-dl

geht ob seines Umfanges mal kurz in die Ablage,

Nachdem ich darauf aufgemerksam gemacht wurde, was ich da schrieb: Da ist bei C&P ein p verloren gegangen. 👿

Gloster

Anmeldungsdatum:
9. April 2020

Beiträge: 417

Noch eine Ergänzung zur Handhabung. Ein Film in mehreren Sprachen und in UHD Qualität :

yt-dlp -F  -o "%(title)s.%(ext)s" --no-playlist -N 8 "https://www.youtube.com/watch?v=ozR86OJ0VXs&pp=ygUMc3RhcmtpZCBmaWxt"

Ergibt die folgende Ausgabe :

ID    EXT   RESOLUTION FPS CH │    FILESIZE    TBR PROTO │ VCODEC           VBR ACODEC      ABR ASR MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb3   mhtml 48x27        0    │                    mhtml │ images                                   storyboard
sb2   mhtml 80x45        0    │                    mhtml │ images                                   storyboard
sb1   mhtml 160x90       0    │                    mhtml │ images                                   storyboard
sb0   mhtml 320x180      0    │                    mhtml │ images                                   storyboard
233-0 mp4   audio only        │                    m3u8  │ audio only           unknown             [de] Deutsch - dubbed
233-1 mp4   audio only        │                    m3u8  │ audio only           unknown             [es] Español - dubbed
233-2 mp4   audio only        │                    m3u8  │ audio only           unknown             [es-419] Español latinoamericano - dubbed
233-3 mp4   audio only        │                    m3u8  │ audio only           unknown             [en-US] American English - original
234-0 mp4   audio only        │                    m3u8  │ audio only           unknown             [de] Deutsch - dubbed
234-1 mp4   audio only        │                    m3u8  │ audio only           unknown             [es] Español - dubbed
234-2 mp4   audio only        │                    m3u8  │ audio only           unknown             [es-419] Español latinoamericano - dubbed
234-3 mp4   audio only        │                    m3u8  │ audio only           unknown             [en-US] American English - original
139-0 m4a   audio only      2 │    35.20MiB    49k https │ audio only           mp4a.40.5   49k 22k [de] German, low, m4a_dash
139-1 m4a   audio only      2 │    35.20MiB    49k https │ audio only           mp4a.40.5   49k 22k [es] Spanish, low, m4a_dash
139-2 m4a   audio only      2 │    35.20MiB    49k https │ audio only           mp4a.40.5   49k 22k [es-419] Spanish (Latin America), low, m4a_dash
139-3 m4a   audio only      2 │    35.20MiB    49k https │ audio only           mp4a.40.5   49k 22k [en-US] English (United States) original (default), low, m4a_dash
249-0 webm  audio only      2 │    33.00MiB    46k https │ audio only           opus        46k 48k [de] German, low, webm_dash
249-1 webm  audio only      2 │    33.27MiB    46k https │ audio only           opus        46k 48k [es-419] Spanish (Latin America), low, webm_dash
249-2 webm  audio only      2 │    33.94MiB    47k https │ audio only           opus        47k 48k [es] Spanish, low, webm_dash
250-0 webm  audio only      2 │    39.85MiB    55k https │ audio only           opus        55k 48k [de] German, low, webm_dash
250-1 webm  audio only      2 │    40.61MiB    56k https │ audio only           opus        56k 48k [es-419] Spanish (Latin America), low, webm_dash
250-2 webm  audio only      2 │    41.20MiB    57k https │ audio only           opus        57k 48k [es] Spanish, low, webm_dash
249-3 webm  audio only      2 │    32.30MiB    45k https │ audio only           opus        45k 48k [en-US] English (United States) original (default), low, webm_dash
250-3 webm  audio only      2 │    38.89MiB    54k https │ audio only           opus        54k 48k [en-US] English (United States) original (default), low, webm_dash
140-0 m4a   audio only      2 │    93.43MiB   129k https │ audio only           mp4a.40.2  129k 44k [de] German, medium, m4a_dash
140-1 m4a   audio only      2 │    93.43MiB   129k https │ audio only           mp4a.40.2  129k 44k [es] Spanish, medium, m4a_dash
140-2 m4a   audio only      2 │    93.43MiB   129k https │ audio only           mp4a.40.2  129k 44k [es-419] Spanish (Latin America), medium, m4a_dash
140-3 m4a   audio only      2 │    93.43MiB   129k https │ audio only           mp4a.40.2  129k 44k [en-US] English (United States) original (default), medium, m4a_dash
251-0 webm  audio only      2 │    72.22MiB   100k https │ audio only           opus       100k 48k [de] German, medium, webm_dash
251-1 webm  audio only      2 │    73.46MiB   102k https │ audio only           opus       102k 48k [es-419] Spanish (Latin America), medium, webm_dash
251-2 webm  audio only      2 │    73.85MiB   102k https │ audio only           opus       102k 48k [es] Spanish, medium, webm_dash
251-3 webm  audio only      2 │    70.70MiB    98k https │ audio only           opus        98k 48k [en-US] English (United States) original (default), medium, webm_dash
602   mp4   256x144     12    │ ~ 100.02MiB   135k m3u8  │ vp09.00.10.08   135k video only
394   mp4   256x144     24    │    37.39MiB    52k https │ av01.0.00M.08    52k video only          144p, mp4_dash
269   mp4   256x144     24    │ ~ 154.69MiB   209k m3u8  │ avc1.4D400C     209k video only
160   mp4   256x144     24    │    36.27MiB    50k https │ avc1.4D400C      50k video only          144p, mp4_dash
603   mp4   256x144     24    │ ~ 156.56MiB   212k m3u8  │ vp09.00.11.08   212k video only
278   webm  256x144     24    │    48.73MiB    68k https │ vp09.00.11.08    68k video only          144p, webm_dash
395   mp4   426x240     24    │    61.61MiB    85k https │ av01.0.00M.08    85k video only          240p, mp4_dash
229   mp4   426x240     24    │ ~ 258.74MiB   350k m3u8  │ avc1.4D4015     350k video only
133   mp4   426x240     24    │    76.75MiB   106k https │ avc1.4D4015     106k video only          240p, mp4_dash
604   mp4   426x240     24    │ ~ 256.04MiB   346k m3u8  │ vp09.00.20.08   346k video only
242   webm  426x240     24    │    75.62MiB   105k https │ vp09.00.20.08   105k video only          240p, webm_dash
396   mp4   640x360     24    │   113.30MiB   157k https │ av01.0.01M.08   157k video only          360p, mp4_dash
230   mp4   640x360     24    │ ~ 596.58MiB   807k m3u8  │ avc1.4D401E     807k video only
134   mp4   640x360     24    │   147.46MiB   204k https │ avc1.4D401E     204k video only          360p, mp4_dash
18    mp4   640x360     24  2 │   360.75MiB   500k https │ avc1.42001E          mp4a.40.2       44k [en] 360p
605   mp4   640x360     24    │ ~ 545.05MiB   738k m3u8  │ vp09.00.21.08   738k video only
243   webm  640x360     24    │   168.63MiB   234k https │ vp09.00.21.08   234k video only          360p, webm_dash
397   mp4   854x480     24    │   191.81MiB   266k https │ av01.0.04M.08   266k video only          480p, mp4_dash
231   mp4   854x480     24    │ ~1003.95MiB  1358k m3u8  │ avc1.4D401E    1358k video only
135   mp4   854x480     24    │   252.04MiB   349k https │ avc1.4D401E     349k video only          480p, mp4_dash
606   mp4   854x480     24    │ ~ 858.81MiB  1162k m3u8  │ vp09.00.30.08  1162k video only
244   webm  854x480     24    │   235.76MiB   327k https │ vp09.00.30.08   327k video only          480p, webm_dash
22    mp4   1280x720    24  2 │ ≈   1.22GiB  1686k https │ avc1.64001F          mp4a.40.2       44k [en] 720p
398   mp4   1280x720    24    │   351.81MiB   488k https │ av01.0.05M.08   488k video only          720p, mp4_dash
232   mp4   1280x720    24    │ ~   1.46GiB  2020k m3u8  │ avc1.4D401F    2020k video only
136   mp4   1280x720    24    │   447.97MiB   621k https │ avc1.4D401F     621k video only          720p, mp4_dash
609   mp4   1280x720    24    │ ~   1.54GiB  2139k m3u8  │ vp09.00.31.08  2139k video only
247   webm  1280x720    24    │   447.05MiB   619k https │ vp09.00.31.08   619k video only          720p, webm_dash
399   mp4   1920x1080   24    │   662.63MiB   918k https │ av01.0.08M.08   918k video only          1080p, mp4_dash
270   mp4   1920x1080   24    │ ~   3.43GiB  4756k m3u8  │ avc1.640028    4756k video only
137   mp4   1920x1080   24    │     1.43GiB  2035k https │ avc1.640028    2035k video only          1080p, mp4_dash
614   mp4   1920x1080   24    │ ~   2.65GiB  3677k m3u8  │ vp09.00.40.08  3677k video only
248   webm  1920x1080   24    │   830.44MiB  1151k https │ vp09.00.40.08  1151k video only          1080p, webm_dash
400   mp4   2560x1440   24    │     2.57GiB  3652k https │ av01.0.12M.08  3652k video only          1440p, mp4_dash
620   mp4   2560x1440   24    │ ~   6.90GiB  9555k m3u8  │ vp09.00.50.08  9555k video only
271   webm  2560x1440   24    │     3.88GiB  5507k https │ vp09.00.50.08  5507k video only          1440p, webm_dash
401   mp4   3840x2160   24    │     6.49GiB  9208k https │ av01.0.12M.08  9208k video only          2160p, mp4_dash
625   mp4   3840x2160   24    │ ~  13.75GiB 19048k m3u8  │ vp09.00.50.08 19048k video only
313   webm  3840x2160   24    │    11.11GiB 15768k https │ vp09.00.50.08 15768k video only          2160p, webm_dash

Und nun die Auswahl für höchste video Qualität + in deutsch (ID-VP9 + ID-Opus) :

yt-dlp -f 625+251-0  -o "%(title)s.%(ext)s" --no-playlist -N 8 "https://www.youtube.com/watch?v=ozR86OJ0VXs&pp=ygUMc3RhcmtpZCBmaWxt"

mit der Ausgabe :

...
[download] Destination: STARKID | SCIENCE FICTION | Full Movie.f625.mp4
[download]   0.9% of ~   6.76GiB at    7.01MiB/s ETA 15:47 (frag 9/1120)^C
ERROR: Interrupted by user
Antworten |