Bookworm: yt-dlp + vlc friert Video ein.

Sound, Digitalkameras, TV+Video und Spiele.
Antworten
humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 07.08.2023 08:03:53

Hallo Forum,
Nach der Ausführung des Befehls

Code: Alles auswählen

yt-dlp -o - "Videourl" | vlc -
startet das Video, friert aber nach ein paar Sekunden mit folgender Fehlermeldung ein:

Code: Alles auswählen

[…]
[NULL @ 0x7ff7b0590100] Invalid NAL unit size (-269216468 > 540).
[NULL @ 0x7ff7b0590100] missing picture in access unit with size 544
[NULL @ 0x7ff7b0590100] Invalid NAL unit size (1913614544 > 53).
[NULL @ 0x7ff7b0590100] missing picture in access unit with size 57
[h264 @ 0x7ff7b0567380] Invalid NAL unit size (1954299966 > 78).
[h264 @ 0x7ff7b0567380] Error splitting the input into NAL units.
[h264 @ 0x7ff7b057b8c0] Invalid NAL unit size (1895889697 > 56).
[h264 @ 0x7ff7b057b8c0] Error splitting the input into NAL units.
[…]
Bereits heruntergeladene Videos werden korrekt wiedergegeben.

yt-dlp ist V. 2023.07.06 Latest. Die andere sind alle Debian-Pakete:

Code: Alles auswählen

ii  vlc            3.0.18-2     amd64
ii  ffmpeg         7:5.1.3-1    amd64
ii  libopenh264-7:amd64 2.3.1+dfsg-3
ii  libx264-164:amd64   2:0.164.3095+gitbaee400-3
ii  x264                2:0.164.3095+gitbaee400-3
GraKa: AMD Renoir + amdgpu.

Unter Bullseye auf einem anderen Laptop (Intel) funktioniert es normal.

Wie kann ich das Problem lösen?
Vielen Dank im Voraus
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

tobo
Beiträge: 1997
Registriert: 10.12.2008 10:51:41

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von tobo » 07.08.2023 16:38:37

Du solltest besser den Beginn der Ausgabe (anonymisiert) zeigen bis hin zu den wiederholenden Fehlermeldungen, damit man u.a. die verwendeten Encoder sieht. Vlc durch mpv ausgetauscht ändert nichts? Wenn die URL kein Geheimnis ist, wie lautet sie? Vermutlich fehlt auf der einen Maschine einfach irgendeine Bibliothek...

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 07.08.2023 21:50:45

Vielen Dank für die Antwort

Es geschieht bei allen Youtube-Videos
Z. B. Big Buck Bunny

Code: Alles auswählen

yt-dlp -o - "https://www.youtube.com/watch?v=pywPfimnvAg" | vlc -

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[youtube] Extracting URL: https://www.youtube.com/watch?v=pywPfimnvAg
[youtube] pywPfimnvAg: Downloading webpage
[youtube] pywPfimnvAg: Downloading ios player API JSON
[youtube] pywPfimnvAg: Downloading android player API JSON
[youtube] pywPfimnvAg: Downloading m3u8 information
[youtube] pywPfimnvAg: Downloading MPD manifest
[info] pywPfimnvAg: Downloading 1 format(s): 22
[download] Destination: -
[download]   1.5% of   67.30MiB at    6.91MiB/s ETA 00:09[00007f6ef80049f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[download]   3.0% of   67.30MiB at    8.42MiB/s ETA 00:07[00007f6ef8243290] gl gl: Initialized libplacebo v4.208.0 (API v208)
[00007f6f1806cb30] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[download]  20.5% of   67.30MiB at    8.69MiB/s ETA 00:06[NULL @ 0x7f6f1802b640] Invalid NAL unit size (1223139230 > 224).
[NULL @ 0x7f6f1802b640] missing picture in access unit with size 228
[NULL @ 0x7f6f1802b640] Invalid NAL unit size (-1694084067 > 230).
[NULL @ 0x7f6f1802b640] missing picture in access unit with size 234 […]
Ich habe ffprobe auch ausprobiert

Code: Alles auswählen

yt-dlp -o - "https://www.youtube.com/watch?v=pywPfimnvAg" | ffprobe -

ffprobe version 5.1.3-1 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[youtube] Extracting URL: https://www.youtube.com/watch?v=pywPfimnvAg
[youtube] pywPfimnvAg: Downloading webpage
[youtube] pywPfimnvAg: Downloading ios player API JSON
[youtube] pywPfimnvAg: Downloading android player API JSON
[youtube] pywPfimnvAg: Downloading m3u8 information
[youtube] pywPfimnvAg: Downloading MPD manifest
[info] pywPfimnvAg: Downloading 1 format(s): 22
[download] Destination: -
[download]   0.4% of   67.30MiB at    1.13MiB/s ETA 00:59Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2021-11-03T09:50:55.000000Z
  Duration: 00:08:59.68, start: 0.000000, bitrate: N/A
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709, progressive), 720x720 [SAR 1:1 DAR 1:1], 914 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
    Metadata:
      creation_time   : 2021-11-03T09:50:55.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 11/03/2021.
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2021-11-03T09:50:55.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 11/03/2021.
      vendor_id       : [0][0][0][0]


ERROR: unable to write data: [Errno 32] Broken pipe
Ich habe mpv nicht. Ich werde es installieren.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

JTH
Moderator
Beiträge: 3023
Registriert: 13.08.2008 17:01:41
Wohnort: Berlin

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von JTH » 07.08.2023 21:56:53

Wenn du die Videos abspielen statt speichern möchtest, könntest du dir alternativ Debianstreamlink angucken. Das ist von der Funktionsweise recht ähnlich zu yt-dlp, aber hat ganz primär den Einsatzzweck, Videos direkt abzuspielen.
Manchmal bekannt als Just (another) Terminal Hacker.

tobo
Beiträge: 1997
Registriert: 10.12.2008 10:51:41

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von tobo » 07.08.2023 22:09:40

humanreadable hat geschrieben: ↑ zum Beitrag ↑
07.08.2023 21:50:45
Es geschieht bei allen Youtube-Videos
Das Video funktioniert bei mir auch nicht. Zeig mal deine Ausgabe von dem hier:
https://www.youtube.com/watch?v=zjEkx8vp0B8

Hast du irgendeine Konfiguration an yt-dlp vorgenoomen, irgendwelche Konfigurationsdateien angelegt?

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 07.08.2023 22:53:15

@JTH
Vielen Dank, Ich kannte streamlink nicht. Das Video stürzt leider ab. streamlink +vlc:

Code: Alles auswählen

streamlink https://www.youtube.com/watch?v=pywPfimnvAg best

[cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=pywPfimnvAg
[cli][info] Available streams: audio_mp4a, audio_opus, 144p (worst), 240p, 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (muxed-stream)
[cli][info] Starting player: /usr/bin/vlc
[utils.named_pipe][info] Creating pipe streamlinkpipe-7675-1-9690
[utils.named_pipe][info] Creating pipe streamlinkpipe-7675-2-3361
[cli][info] Player closed
[stream.ffmpegmux][error] Pipe copy aborted: /tmp/streamlinkpipe-7675-2-3361
[cli][info] Stream ended
[cli][info] Closing currently open stream...
tobo hat geschrieben: ↑ zum Beitrag ↑
07.08.2023 22:09:40
Das Video funktioniert bei mir auch nicht. Zeig mal deine Ausgabe von dem hier:
https://www.youtube.com/watch?v=zjEkx8vp0B8

Hast du irgendeine Konfiguration an yt-dlp vorgenoomen, irgendwelche Konfigurationsdateien angelegt?
Ich habe Standard yt-dlp und keine Konfiguration geändert.
yt-dlp +vlc

Code: Alles auswählen

yt-dlp -o - "https://www.youtube.com/watch?v=zjEkx8vp0B8" | vlc -

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)

[youtube] Extracting URL: https://www.youtube.com/watch?v=zjEkx8vp0B8
[youtube] zjEkx8vp0B8: Downloading webpage
[youtube] zjEkx8vp0B8: Downloading ios player API JSON
[youtube] zjEkx8vp0B8: Downloading android player API JSON
[youtube] Extracting URL: RIA66fiKXJY
[youtube] RIA66fiKXJY: Downloading webpage
[youtube] RIA66fiKXJY: Downloading ios player API JSON
[youtube] RIA66fiKXJY: Downloading android player API JSON
[youtube] RIA66fiKXJY: Downloading m3u8 information
[info] RIA66fiKXJY: Downloading 1 format(s): 22
[download] Destination: -
[download]   1.2% of   40.82MiB at    4.73MiB/s ETA 00:08[NULL @ 0x7fa45002c040] Invalid NAL unit size (1148582547 > 6240).
[NULL @ 0x7fa45002c040] missing picture in access unit with size 6244
[download]   2.4% of   40.82MiB at    6.56MiB/s ETA 00:06[00007fa42c0049f0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[download]   4.9% of   40.82MiB at    8.02MiB/s ETA 00:04[00007fa42c2439e0] gl gl: Initialized libplacebo v4.208.0 (API v208)
[00007fa45007ccc0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[download]   9.8% of   40.82MiB at    9.09MiB/s ETA 00:04[NULL @ 0x7fa45002c040] Invalid NAL unit size (1660979015 > 5975).
[NULL @ 0x7fa45002c040] missing picture in access unit with size 5979
[NULL @ 0x7fa45002c040] Invalid NAL unit size (1711498286 > 69197).
[…]
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

tobo
Beiträge: 1997
Registriert: 10.12.2008 10:51:41

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von tobo » 08.08.2023 00:32:18

Nicht dass ich wüsste, wie gut die Standardkonfiguration von VLC ist, aber hast du in den Einstellungen bei Audio/Video/Decoder irgendwelche Änderungen vorgenommen? Mach mal eine Gegenprobe mit mpv.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 08.08.2023 00:38:08

tobo hat geschrieben: ↑ zum Beitrag ↑
07.08.2023 16:38:37
Vlc durch mpv ausgetauscht ändert nichts? ... Vermutlich fehlt auf der einen Maschine einfach irgendeine Bibliothek...
Ich habe mpv installiert und alle Videos werden korrekt wiedergegeben.
Z. B. (yt-dlp + mpv):

Code: Alles auswählen

yt-dlp -o - "https://www.youtube.com/watch?v=zjEkx8vp0B8" | mpv -

[file] Reading from stdin...
[youtube] Extracting URL: https://www.youtube.com/watch?v=zjEkx8vp0B8
[youtube] zjEkx8vp0B8: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] zjEkx8vp0B8: Downloading ios player API JSON
[youtube] zjEkx8vp0B8: Downloading android player API JSON
[youtube] zjEkx8vp0B8: Downloading iframe API JS
[youtube] zjEkx8vp0B8: Downloading player f98908d1
[youtube] zjEkx8vp0B8: Downloading web player API JSON
[youtube] Extracting URL: RIA66fiKXJY
[youtube] RIA66fiKXJY: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] RIA66fiKXJY: Downloading ios player API JSON
[youtube] RIA66fiKXJY: Downloading android player API JSON
[youtube] RIA66fiKXJY: Downloading iframe API JS
[youtube] RIA66fiKXJY: Downloading web player API JSON
[youtube] RIA66fiKXJY: Downloading m3u8 information
WARNING: [youtube] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API.
[youtube] RIA66fiKXJY: Downloading initial data API JSON
[info] RIA66fiKXJY: Downloading 1 format(s): 22
[download] Destination: -
[download]   0.3% of   40.82MiB at    2.31MiB/s ETA 00:17 (+) Video --vid=1 (*) (h264 1280x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
[download]   1.2% of   40.82MiB at    4.03MiB/s ETA 00:10AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 yuv420p
[download] 100% of   40.82MiB in 00:00:04 at 8.35MiB/s
AV: 00:03:12 / 00:03:12 (100%) A-V:  0.000 Cache: 0.0s

Exiting... (End of file)
(Bei anderen Videos erscheint die Warnung "unable to extract yt initial data" nicht)
Es scheint, dass das Problem wirklich vlc ist.
Es ist aber schade, weil ich vlc lieber als mpv mag. :cry:
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

tobo
Beiträge: 1997
Registriert: 10.12.2008 10:51:41

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von tobo » 08.08.2023 01:01:13

Vermutlich ist das nur eine Einstellungssache im VLC, aber da muss jemand anderes helfen. Ich habe kein Bookworm, kein VLC, kein Pulseaudio und kein Pipewire.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 08.08.2023 01:07:12

tobo hat geschrieben: ↑ zum Beitrag ↑
08.08.2023 00:32:18
hast du in den Einstellungen bei Audio/Video/Decoder irgendwelche Änderungen vorgenommen?
Ich habe in den Einstellungen keine Änderung vorgenommen.
Ich habe gerade die Einstellungen wiederhergestellt und es funktioniert immer noch nicht.
tobo hat geschrieben: ↑ zum Beitrag ↑
08.08.2023 01:01:13
Vermutlich ist das nur eine Einstellungssache im VLC, aber da muss jemand anderes helfen. Ich habe kein Bookworm, kein VLC, kein Pulseaudio und kein Pipewire.
Vielen Dank für deine Hilfe.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 08.08.2023 06:50:55

https://www.debian.org/releases/bookwor ... c-ffmpeg-5

Hinweise zur Debian-Veröffentlichung Version 12 (Bookworm) auf 64-Bit PC hat geschrieben:
5.2.3. Limitierte Unterstützung für hardware-beschleunigtes Encoding/Decoding in VLC

Der VLC-Videoplayer unterstützt grundsätzlich hardware-beschleunigtes Encoding/Decoding über VA-API und VDPAU. Allerdings hängt VLC's Unterstützung für VA-API stark von der Version von FFmpeg ab. Da FFmpeg auf den 5.x-Zweig aktualisiert wurde, wurde die Unterstützung für VA-API in VLC deaktiviert. Nutzer von GPUs mit nativer VA-API-Unterstützung (z.B. Intel- und AMD-GPUs) könnten eine erhöhte CPU-Nutzung beim Abspielen und Codieren von Videos bemerken.

Nutzer, deren GPUs native Unterstützung über VDPAU bieten (z.B. NVIDIA mit nicht-freien Treibern) sind von diesem Problem nicht betroffen.

Ob VA-API und VDPAU unterstützt werden, kann mittels vainfo und vdpauinfo (jeweils aus dem gleichnamigen Debian-Paket) kontolliert werden.
Könnte mein Problem damit zu tun haben?

EDIT
Ich habe festgestellt, dass während des Upgrades auf Bookworm die folgenden Pakete entfernt wurden:
vlc-plugin-notify, vlc-plugin-samba, vlc-plugin-video-splitter, vlc-plugin-visualization.

Ich habe sie neu installiert, aber es hat sich nichts geändert.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

Benutzeravatar
hikaru
Moderator
Beiträge: 13594
Registriert: 09.04.2008 12:48:59

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von hikaru » 08.08.2023 08:53:54

humanreadable hat geschrieben: ↑ zum Beitrag ↑
08.08.2023 06:50:55
https://www.debian.org/releases/bookwor ... c-ffmpeg-5

[..]

Könnte mein Problem damit zu tun haben?
Unwahrscheinlich. Einerseits solltest du dann die gleichen Probleme beim Abspielen lokaler Dateien haben, andererseits sollte vlc dann automatisch mit entsprechender Meldung auf Softwaredecodierung zurückfallen, aber trotzdem das Video abspielen.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 08.08.2023 11:36:03

@hikaru
Vielen Dank für deine Erklärung.

Ich stehe auf dem Schlauch.

Bin ich der Einzige, der dieses Problem mit vlc + yt-dlp unter Bookworm hat?
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

Benutzeravatar
hikaru
Moderator
Beiträge: 13594
Registriert: 09.04.2008 12:48:59

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von hikaru » 08.08.2023 12:05:16

humanreadable hat geschrieben: ↑ zum Beitrag ↑
08.08.2023 11:36:03
Bin ich der Einzige, der dieses Problem mit vlc + yt-dlp unter Bookworm hat?
Ich vermute, ja.

Das hier passiert, wenn ich dein BBB-Video nach deinem Muster abspiele:

Code: Alles auswählen

$ yt-dlp -o - "https://www.youtube.com/watch?v=pywPfimnvAg" | vlc -
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055f39aec5550] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
[youtube] Extracting URL: https://www.youtube.com/watch?v=pywPfimnvAg
[youtube] pywPfimnvAg: Downloading webpage
WARNING: [youtube] unable to extract initial player response; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] pywPfimnvAg: Downloading ios player API JSON
[youtube] pywPfimnvAg: Downloading android player API JSON
[youtube] pywPfimnvAg: Downloading iframe API JS
[youtube] pywPfimnvAg: Downloading player f98908d1
[youtube] pywPfimnvAg: Downloading web player API JSON
[youtube] pywPfimnvAg: Downloading m3u8 information
[youtube] pywPfimnvAg: Downloading MPD manifest
WARNING: [youtube] unable to extract yt initial data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] Incomplete data received in embedded initial data; re-fetching using API.
[youtube] pywPfimnvAg: Downloading initial data API JSON
[info] pywPfimnvAg: Downloading 1 format(s): 22
[download] Destination: -
[download]   3.0% of   67.30MiB at   10.47MiB/s ETA 00:06[00007fa6cc004340] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
[00007fa6cc004340] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
[download]   5.9% of   67.30MiB at   11.59MiB/s ETA 00:05[00007fa6ec076600] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding
[download]  20.7% of   67.30MiB at   11.73MiB/s ETA 00:04

ERROR: unable to write data: [Errno 32] Broken pipe
Die Fehlermeldung ganz am Ende erscheint erst, wenn ich das vlc-Fenster schließe. Bis dahin läuft das Video problemlos.

Mein System ist ein Intel-Ivy-Bridge-Notebook mit IGP, auf dem Bookworm ohne Fremdquellen läuft. Debianyt-dlp ist aus den Backports.

Edit:
Du schreibst, dass du das Problem auf einem System mit AMD-GPU hast, während es auch bei dir auf einem System mit Intel-GPU funktioniert. Mit einem AMD-System kann ich gerade nicht dienen, aber vielleicht liegt hier die Ursache.
Hast du Debianfirmware-amd-graphics installiert?

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 08.08.2023 13:54:42

hikaru hat geschrieben: ↑ zum Beitrag ↑
08.08.2023 12:05:16
[…]
Edit:
Du schreibst, dass du das Problem auf einem System mit AMD-GPU hast, während es auch bei dir auf einem System mit Intel-GPU funktioniert. Mit einem AMD-System kann ich gerade nicht dienen, aber vielleicht liegt hier die Ursache.
Hast du Debianfirmware-amd-graphics installiert?
Auf dem Laptop mit AMD-GPU läuft es Bookworm.

firmware-amd-graphics unter Bookworm ist installiert:

Code: Alles auswählen

dpkg -l firmware-amd-graphics
ii  firmware-amd-graphics 20230210-5   all          Binary firmware for AMD/ATI graphics chips
Auf dem Laptop mit Intel-GPU läuft es Bullseye.
Zuletzt geändert von humanreadable am 09.08.2023 00:02:19, insgesamt 1-mal geändert.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 09.08.2023 00:00:42

Hoffnungslos.
Ich habe vlc gepurged und neu installiert. Ich habe yt-dlp Latest gelöscht und es aus den Backports installiert.
Es hat sich nichts geändert:

Code: Alles auswählen

yt-dlp -o - "https://www.youtube.com/watch?v=pywPfimnvAg" | vlc -

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)

[youtube] Extracting URL: https://www.youtube.com/watch?v=pywPfimnvAg
[youtube] pywPfimnvAg: Downloading webpage
[youtube] pywPfimnvAg: Downloading ios player API JSON
[youtube] pywPfimnvAg: Downloading android player API JSON
[youtube] pywPfimnvAg: Downloading m3u8 information
[youtube] pywPfimnvAg: Downloading MPD manifest
[info] pywPfimnvAg: Downloading 1 format(s): 22
[download] Destination: -
[download]   3.0% of   67.30MiB at    7.10MiB/s ETA 00:09[00007f677c0049d0] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f677c242c40] gl gl: Initialized libplacebo v4.208.0 (API v208)
[00007f6794069fa0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding
[download]  20.7% of   67.30MiB at    9.31MiB/s ETA 00:05[NULL @ 0x7f679402b780] Invalid NAL unit size (385567163 > 406).
[NULL @ 0x7f679402b780] missing picture in access unit with size 410
[NULL @ 0x7f679402b780] Invalid NAL unit size (-1832886105 > 554).
[…etc]
Nur mpv funktioniert.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

Benutzeravatar
hikaru
Moderator
Beiträge: 13594
Registriert: 09.04.2008 12:48:59

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von hikaru » 09.08.2023 09:17:16

Die Meldung kommt offenbar von ffmpeg beim Aufruf durch vlc:

Code: Alles auswählen

[NULL @ 0x7f679402b780] Invalid NAL unit size (-1832886105 > 554).
Ich würde vermuten, dass vlc- und ffmpeg-Build nicht zusammenpassen. Das sollte natürlich im offiziellen Debian-Repo nicht der Fall sein, aber ich könnte mir vorstellen, dass die Debian-Build-Server Intel-Kisten sind und dabei irgendetwas für AMD nicht bedacht wird.
Vielleicht würe es helfen, wenn du lokal auf deinem AMD-Rechner deinen eigenen vlc baust. Das wird mit ziemlicher Sicherheit auf einen Bugreport hinauslaufen.

humanreadable
Beiträge: 39
Registriert: 02.11.2017 13:57:38

Re: Bookworm: yt-dlp + vlc friert Video ein.

Beitrag von humanreadable » 09.08.2023 14:08:14

hikaru hat geschrieben: ↑ zum Beitrag ↑
09.08.2023 09:17:16
Vielleicht würe es helfen, wenn du lokal auf deinem AMD-Rechner deinen eigenen vlc baust.
Dies übersteigt meine Fähigkeiten.
Es gibt nicht nur das Paket "vlc". Es gibt "vlc-bin" + 8 "vlc-plugin-*".
Mein DE ist KDE (minimal), wenn ich "vlc-plugin-base" deinstalliere, wird der Desktop gelöscht.
Ich bin leider nicht in der Lage, so etwas zu tun.
Deutsch ist nicht meine Muttersprache. Ich bitte um Verständnis.

Antworten