ubuntuusers.de

youtube-dl | ERROR: Unable to extract media id

Status: Gelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

gerold123

Avatar von gerold123

Anmeldungsdatum:
18. April 2006

Beiträge: 1348

Wohnort: /Wild/Eastern/Europe

Hallo,

es geht mal wieder um einen gescheiterten Download:

youtube-dl https://www.ardmediathek.de/video/rockpalast/pink-floyd-pop-und-bluesfestival-essen-1969/wdr-fernsehen/Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ/
[ARD:mediathek] Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ: Downloading webpage
ERROR: Unable to extract media id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Mit welcher Option kann das Video herunter geladen werden? Bitte beachtet das es mir um das "wie" geht und nicht etwa um "mit was noch".

Danke

Installing collected packages: youtube-dl
Successfully installed youtube-dl-2021.4.17
wget https://wdrmedien-a.akamaihd.net/medp/ondemand/weltweit/fsk0/238/2382006/2382006_33065908.mp4 

Balu62

Avatar von Balu62

Anmeldungsdatum:
22. Oktober 2007

Beiträge: 976

Wohnort: Bern / Schweiz

Unter Kubuntu 21.04 nicht nachvollziehbar - work as expected

Updating to version 2021.04.17 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
balu@LIFEBOOK-S935:~/ydl$ youtube-dl https://www.ardmediathek.de/video/rockpalast/pink-floyd-pop-und-bluesfestival-essen-1969/wdr-fernsehen/Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ/
[ARDBetaMediathek] Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ: Downloading JSON metadata
[ARDBetaMediathek] 86985564: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 126
[download] Destination: Pink Floyd - Pop- und Bluesfestival, Essen 1969-86985564.mp4
[download] 100% of 564.21MiB in 01:38
[ffmpeg] Fixing malformed AAC bitstream in "Pink Floyd - Pop- und Bluesfestival, Essen 1969-86985564.mp4"
balu@LIFEBOOK-S935:~/ydl$

Mit welcher Option kann das Video herunter geladen werden?

Offenbar braucht es keine 😉 Wieso es bei Dir nicht klappt, habe ich im Moment gerade keine Idee...

Ubunux

Anmeldungsdatum:
12. Juni 2006

Beiträge: 17505

youtube-dl updaten kann helfen, das wird dir doch auch in der Fehlermeldung vorgeschlagen.

Balu62

Avatar von Balu62

Anmeldungsdatum:
22. Oktober 2007

Beiträge: 976

Wohnort: Bern / Schweiz

Ich bin jetzt schon davon ausgegangen, dass er sich die aktuelle Version nicht nur geholt hat, sondern es auch damit versucht hat... 😬

gerold123

(Themenstarter)
Avatar von gerold123

Anmeldungsdatum:
18. April 2006

Beiträge: 1348

Wohnort: /Wild/Eastern/Europe

Ubunux schrieb:

das wird dir doch auch in der Fehlermeldung vorgeschlagen.

Sorry, ich stehe gerade auf dem Schlauch ...

pip3 install --upgrade youtube-dl
Collecting youtube-dl
  Using cached https://files.pythonhosted.org/packages/a9/47/a0f59fa3f4c33e72c51919129337d0a2dcd1138c6b2af8debfd921c11f8e/youtube_dl-2021.4.17-py2.py3-none-any.whl
Installing collected packages: youtube-dl
Successfully installed youtube-dl-2021.4.17

Balu62

Avatar von Balu62

Anmeldungsdatum:
22. Oktober 2007

Beiträge: 976

Wohnort: Bern / Schweiz

gerold123 schrieb:

pip3 install --upgrade youtube-dl
[---]
Successfully installed youtube-dl-2021.4.17

Wird die denn auch genutzt? Was sagt

which youtube-dl

Edit: und

youtube-dl --version

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55531

Wohnort: Berlin

Balu62 schrieb:

Wird die denn auch genutzt?

Exakt DAS ist die Frage, denn auch unter 18.04 ist das nicht nachvollziehbar.

$ sudo apt-add-repository ppa:tomtomtom/qmplay2 
QMPlay2 is a video and audio player which can play most formats and codecs
 More info: https://launchpad.net/~tomtomtom/+archive/ubuntu/qmplay2
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://ppa.launchpad.net/tomtomtom/qmplay2/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Reading package lists... Done                      
$ sudo apt install youtube-dl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  youtube-dl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1051 kB of archives.
After this operation, 6002 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/tomtomtom/qmplay2/ubuntu bionic/main amd64 youtube-dl all 2021.04.17-1~ppa~bionic [1051 kB]
Fetched 1051 kB in 1s (1432 kB/s)    
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package youtube-dl.
(Reading database ... 33195 files and directories currently installed.)
Preparing to unpack .../youtube-dl_2021.04.17-1~ppa~bionic_all.deb ...
Unpacking youtube-dl (2021.04.17-1~ppa~bionic) ...
Setting up youtube-dl (2021.04.17-1~ppa~bionic) ...

$ youtube-dl --version
2021.04.17
$ youtube-dl  https://www.ardmediathek.de/video/rockpalast/pink-floyd-pop-und-bluesfestival-essen-1969/wdr-fernsehen/Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ/
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[ARDBetaMediathek] Y3JpZDovL3dkci5kZS9CZWl0cmFnLTExNTE3MWU1LWZiNTYtNGU5Mi04MjNlLTYxNzQzNWE5MmU4NQ: Downloading JSON metadata
[ARDBetaMediathek] 86985564: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 126
[download] Destination: Pink_Floyd_-_Pop-_und_Bluesfestival_Essen_1969-86985564.mp4
[download] 100% of 564.21MiB in 04:02
[ffmpeg] Fixing malformed AAC bitstream in "Pink_Floyd_-_Pop-_und_Bluesfestival_Essen_1969-86985564.mp4"

gerold123

(Themenstarter)
Avatar von gerold123

Anmeldungsdatum:
18. April 2006

Beiträge: 1348

Wohnort: /Wild/Eastern/Europe

Balu62 schrieb:

Wird die denn auch genutzt? Was sagt ...

tuxracer@ubuntu:~$ youtube-dl --version
2021.04.17
tuxracer@ubuntu:~$ which youtube-dl
/home/tuxracer/.local/bin/youtube-dl

"iwie komisch", auf einmal geht es wieder...

Dank an alle

Bilder
Antworten |