[gelöst] mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Du hast Probleme mit Deinem eMail-Programm, Webbrowser oder Textprogramm? Dein Lieblingsprogramm streikt?
Antworten
Quirrlila
Beiträge: 74
Registriert: 12.08.2017 21:59:59
Lizenz eigener Beiträge: GNU General Public License

[gelöst] mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von Quirrlila » 12.08.2017 22:09:27

Hallo ihr lieben =)

Seit heute Nachmittag kann ich mit mpv keine versteckten Video-URL mehr abspielen.

Code: Alles auswählen

mpv VIDEO-URL
Playing: VIDEO-URL
[ytdl_hook] youtube-dl failed, trying to play URL directly ... 
[ffmpeg] tls: The TLS connection was non-properly terminated.
Failed to recognize file format.
Direkte Links lokal oder über Netzwerk funktionieren ohne Probleme (Dateiendung .mp4 z.B.)
mit

Code: Alles auswählen

youtube-dl -F
kann ich ohne Probleme Formate abfragen und auch Videos herunterladen.
mpv, youtube-dl und ffmpeg sind die aktuellsten für Stable verfügbaren Versionen...
Gestern Nacht habe ich noch ohne Schwierigkeiten youtube gesehen.
Ich habe auch sonst nichts am System verändert.

Kann mir jemand helfen?
Zuletzt geändert von Quirrlila am 18.08.2017 15:51:07, insgesamt 2-mal geändert.

Benutzeravatar
catdog2
Beiträge: 5352
Registriert: 24.06.2006 16:50:03
Lizenz eigener Beiträge: MIT Lizenz

Re: mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von catdog2 » 12.08.2017 22:57:54

mpv, youtube-dl und ffmpeg sind die aktuellsten für Stable verfügbaren Versionen...
youtube-dl veraltet schnell. Am besten das von https://rg3.github.io/youtube-dl/ nehmen (z.B. nach ~/bin/ tun) und mit youtube-dl -U up to date halten.
Unix is user-friendly; it's just picky about who its friends are.

Quirrlila
Beiträge: 74
Registriert: 12.08.2017 21:59:59
Lizenz eigener Beiträge: GNU General Public License

Re: mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von Quirrlila » 12.08.2017 23:16:39

catdog2 hat geschrieben: ↑ zum Beitrag ↑
12.08.2017 22:57:54
mpv, youtube-dl und ffmpeg sind die aktuellsten für Stable verfügbaren Versionen...
youtube-dl veraltet schnell. Am besten das von https://rg3.github.io/youtube-dl/ nehmen (z.B. nach ~/bin/ tun) und mit youtube-dl -U up to date halten.
Ja die Version habe ich, also ich mache das immer so bei youtube-dl, sorry hätte ich abgrenzen sollen in meiner Aussage. :)

Quirrlila
Beiträge: 74
Registriert: 12.08.2017 21:59:59
Lizenz eigener Beiträge: GNU General Public License

Re: mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von Quirrlila » 13.08.2017 09:20:54

Hier noch die Ausgabe von

Code: Alles auswählen

mpv -v VIDEO-URL

Code: Alles auswählen

[cplayer] Command line options: '-v' 'VIDEO-URL'
[cplayer] mpv 0.23.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       55.34.101
[cplayer]    libavcodec      57.64.101
[cplayer]    libavformat     57.56.101
[cplayer]    libswscale      4.2.100
[cplayer]    libavfilter     6.65.100
[cplayer]    libswresample   2.3.100
[cplayer] ffmpeg version: 3.2.5-1
[cplayer]
[cplayer] Configuration: ./waf configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv --zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-sdl2 --enable-sndio --enable-zsh-comp --enable-libmpv-shared --enable-encoding --disable-build-date
[cplayer] List of enabled features: alsa any-gl asm atomics audio-input avcodec-chroma-pos-api avframe-metadata avframe-skip-samples avutil-mastering-metadata c11-tls cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread egl-drm egl-helpers egl-x11 encoding fchmod gbm gbm.h gcc-tls gl gl-wayland gl-x11 glibc-thread-name glob gnuc iconv jack jpeg lcms2 libass libass-osd libav libavdevice libavfilter libbluray libdl libm libmpv-shared librt libsmbclient libswresample libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native plain-gl posix posix-or-mingw posix-spawn pthreads pulse resampler rubberband sdl2 shm sndio sse4-intrinsics standard-gl stdatomic subprocess termios tv tv-v4l2 vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp
[global] config path: '' -> '/home/NUTZER/.config/mpv'
[global] config path: 'mpv.conf' -/-> '/home/NUTZER/.config/mpv/mpv.conf'
[global] config path: 'config' -/-> '/home/NUTZER/.config/mpv/config'
[global] config path: 'mpv.conf' -/-> '/home/NUTZER/.mpv/mpv.conf'
[global] config path: 'config' -/-> '/home/NUTZER/.mpv/config'
[global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'
[global] config path: 'config' -/-> '/etc/mpv/config'
[cplayer] Setting option 'v' = '' (flags = 8)
[global] config path: 'input.conf' -/-> '/home/NUTZER/.config/mpv/input.conf'
[global] config path: 'input.conf' -/-> '/home/NUTZER/.mpv/input.conf'
[global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'
[osc] Loading script @osc.lua...
[global] config path: 'scripts' -/-> '/home/NUTZER/.config/mpv/scripts'
[global] config path: 'scripts' -/-> '/home/NUTZER/.mpv/scripts'
[global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[osc] loading mp.defaults
[osc] loading @osc.lua
[global] config path: 'lua-settings/osc.conf' -/-> '/home/NUTZER/.config/mpv/lua-settings/osc.conf'
[global] config path: 'lua-settings/osc.conf' -/-> '/home/NUTZER/.mpv/lua-settings/osc.conf'
[global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf'
[osc] lua-settings/osc.conf not found.
[cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1
[cplayer] mouse_leave script-binding osc/__keybinding2
[cplayer] , force]
[cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]
[cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/__keybinding3
[cplayer] shift+mouse_btn0 script-binding osc/__keybinding4
[cplayer] mouse_btn2 script-binding osc/__keybinding5
[cplayer] mouse_btn0_dbl ignore
[cplayer] shift+mouse_btn0_dbl ignore
[cplayer] mouse_btn2_dbl ignore
[cplayer] , force]
[cplayer] Run command: enable-section, flags=0, args=[input, ]
[cplayer] Run command: define-section, flags=0, args=[input_osc, del script-binding osc/__keybinding6
[cplayer] , default]
[cplayer] Run command: enable-section, flags=0, args=[input_osc, allow-hide-cursor+allow-vo-dragging]
[cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force]
[cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, allow-hide-cursor+allow-vo-dragging]
[cplayer] Done loading @osc.lua.
[ytdl_hook] Loading script @ytdl_hook.lua...
[cplayer] Run command: disable-section, flags=0, args=[input]
[global] config path: 'fonts' -/-> '/home/NUTZER/.config/mpv/fonts'
[global] config path: 'fonts' -/-> '/home/NUTZER/.mpv/fonts'
[global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.4.2 (COMPLEX)
[global] config path: 'subfont.ttf' -/-> '/home/NUTZER/.config/mpv/subfont.ttf'
[global] config path: 'subfont.ttf' -/-> '/home/NUTZER/.mpv/subfont.ttf'
[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[global] config path: 'fonts.conf' -/-> '/home/NUTZER/.config/mpv/fonts.conf'
[global] config path: 'fonts.conf' -/-> '/home/NUTZER/.mpv/fonts.conf'
[global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'
[osd/libass] Setting up fonts...
[global] config path: 'scripts' -/-> '/home/NUTZER/.config/mpv/scripts'
[global] config path: 'scripts' -/-> '/home/NUTZER/.mpv/scripts'
[global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[ytdl_hook] loading mp.defaults
[ytdl_hook] loading @ytdl_hook.lua
[cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[cplayer] Done loading @ytdl_hook.lua.
[global] config path: 'scripts' -/-> '/home/NUTZER/.config/mpv/scripts'
[global] config path: 'scripts' -/-> '/home/NUTZER/.mpv/scripts'
[global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[global] config path: 'watch_later' -> '/home/NUTZER/.config/mpv/watch_later'
[cplayer] Playing: VIDEO-URL
[cplayer] Running hook: ytdl_hook/on_load
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[global] config path: 'youtube-dl' -/-> '/home/NUTZER/.config/mpv/youtube-dl'
[global] config path: 'youtube-dl' -/-> '/home/NUTZER/.mpv/youtube-dl'
[global] config path: 'youtube-dl' -/-> '/etc/mpv/youtube-dl'
[ytdl_hook] youtube-dl failed, trying to play URL directly ...
[cplayer] Run command: hook-ack, flags=0, args=[on_load]
[ffmpeg] Opening VIDEO-URL
[ffmpeg] Mime-type: 'text/html; charset=utf-8'
[ffmpeg] Stream opened successfully.
[cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[demux] Trying demuxers for level=normal.
[ffmpeg] tls: The TLS connection was non-properly terminated.
[cache] EOF reached.
[lavf] No format found, try lowering probescore or forcing the format.
[demux] Trying demuxers for level=unsafe.
[lavf] No format found, try lowering probescore or forcing the format.
[cache] Terminating cache...
[cache] Cache exiting...
[cplayer] finished playback, unrecognized file format (reason 4)
[cplayer] Failed to recognize file format.
[cplayer]
[cplayer]
[cplayer] Exiting... (Errors when loading file)
[ytdl_hook] Exiting...
[osc] Exiting..
und

Code: Alles auswählen

youtube-dl --version
2017.08.09
NACHTRAG:
youtube-dl wurde heute auf Version
2017.08.13
aktualisiert.
Mein Problem ist jedoch nach wie vor vorhanden... :(

Quirrlila
Beiträge: 74
Registriert: 12.08.2017 21:59:59
Lizenz eigener Beiträge: GNU General Public License

Re: mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von Quirrlila » 13.08.2017 16:52:21

Unter Ubuntu funktioniert alles ganz wunderbar...
Dort habe ich

Code: Alles auswählen

mpv 0.14.0

Code: Alles auswählen

 youtube-dl 2017.06.05 (mittlerweile auch die aktuelle mit der es ebenfalls ohne Probleme geht)
....
Kann mir denn niemand helfen? o_0
Kann doch nicht sein das ein System das sich Stable nennt von heute auf morgen ein fehlerhaftes Programm aufweist, obwohl absolut nichts daran geändert wurde in diesem Zeitraum...

Quirrlila
Beiträge: 74
Registriert: 12.08.2017 21:59:59
Lizenz eigener Beiträge: GNU General Public License

Re: mpv oder ffmpeg oder youtube-dl funktioniert nicht mehr

Beitrag von Quirrlila » 14.08.2017 19:58:37

ok Problem gefunden:

mein Freund hatte an alle scripts unter /usr/local/bin .sh angehängt, also wurde auch youtube-dl zu youtube-dl.sh XD
Habe ich herausgefunden, weil ich in letzter Verzweiflung

Code: Alles auswählen

apt-get autoremove --purge mpv ffmpeg
und dann

Code: Alles auswählen

apt --install-suggests --install-recommends install mpv
gemacht habe.
Unter den Vorgeschlagenden Paketen ist auch youtube-dl, auf welches dann priorisiert (also vor dem in /usr/local/bin) zugegriffen wird scheinbar, so dass also irgendwas mit dem manuell installierten nicht stimmen musste... :roll:

Streaming mit mpv funktioniert nun wieder. =)

Als der Fehler erstmals auftrat habe ich u.a. auch

Code: Alles auswählen

mpv --no-ytdl
ausprobiert eben um herauszufinden ob es an youtube-dl liegt.
Aber auch dann wurden obige Fehlermeldungen angezeigt.
Wenn ich nun (wo das streaming ja wieder funktioniert) diese Option verwende geht es ebenfalls nicht, also benötigt mpv unbedingt youtube-dl für alle Arten von streams (außer m3u8 das funktionierte)?

Antworten