You are not logged in.
When trying to play videos with mpv I get this:
mpv -msg-level=ytdl_hook=debug https://www.youtube.com/watch\?v\=POb0cXY84k8
[ytdl_hook] Loading lua script @ytdl_hook.lua...
[ytdl_hook] loading mp.defaults
[ytdl_hook] loading @ytdl_hook.lua
[ytdl_hook] reading options for ytdl_hook
[ytdl_hook] lua-settings/ytdl_hook.conf not found.
Playing: https://www.youtube.com/watch?v=POb0cXY84k8
[ytdl_hook] Running: youtube-dl --no-warnings -J --flat-playlist --sub-format ass/srt/best --no-playlist --format bestvideo[height<=?1080]+bestaudio/best --all-subs -- https://www.youtube.com/watch?v=POb0cXY84k8
[ytdl_hook] youtube-dl succeeded!
[ytdl_hook] ytdl parsing took 0.002776 seconds
[ytdl_hook]
[ytdl_hook] stack traceback:
[ytdl_hook] [C]: in function 'len'
[ytdl_hook] @ytdl_hook.lua:71: in function 'edl_escape'
[ytdl_hook] @ytdl_hook.lua:139: in function 'edl_track_joined'
[ytdl_hook] @ytdl_hook.lua:171: in function 'add_single_video'
[ytdl_hook] @ytdl_hook.lua:454: in function 'fn'
[ytdl_hook] mp.defaults:518: in function 'handler'
[ytdl_hook] mp.defaults:339: in function 'handler'
[ytdl_hook] mp.defaults:458: in function 'call_event_handlers'
[ytdl_hook] mp.defaults:495: in function 'dispatch_events'
[ytdl_hook] mp.defaults:451: in function <mp.defaults:450>
[ytdl_hook] [C]: in ?
[ytdl_hook] [C]: in ?
[ytdl_hook] Lua error: @ytdl_hook.lua:71: bad argument #1 to 'len' (string expected, got nil)
[ytdl_hook] Exiting...
[ffmpeg] tls: The TLS connection was non-properly terminated.
Failed to recognize file format.
The last update of MPV has been nearly 3 weeks ago, youtube-dl has been updated yesterday but it was still working this morning. This morning I ran another Syu:
[2017-08-07 10:58] [PACMAN] Running 'pacman -S -y -u'
[2017-08-07 10:58] [PACMAN] synchronizing package lists
[2017-08-07 10:58] [PACMAN] starting full system upgrade
[2017-08-07 10:58] [ALPM] transaction started
[2017-08-07 10:58] [ALPM] upgraded e2fsprogs (1.43.4-1 -> 1.43.5-1)
[2017-08-07 10:58] [ALPM] upgraded ffmpeg (1:3.3.2-2 -> 1:3.3.3-1)
[2017-08-07 10:58] [ALPM] upgraded geoip-database (20170704-1 -> 20170801-1)
[2017-08-07 10:58] [ALPM] upgraded geoip-database-extra (20170704-1 -> 20170801-1)
[2017-08-07 10:58] [ALPM] upgraded git (2.13.4-1 -> 2.14.0-1)
[2017-08-07 10:58] [ALPM] upgraded gparted (0.28.1-1 -> 0.28.1-2)
[2017-08-07 10:58] [ALPM] upgraded msgpack-c (2.1.3-1 -> 2.1.5-1)
[2017-08-07 10:58] [ALPM] transaction completed
[2017-08-07 10:58] [ALPM] running 'gtk-update-icon-cache.hook'...
[2017-08-07 10:58] [ALPM] running 'systemd-update.hook'...
[2017-08-07 10:58] [ALPM] running 'texinfo-install.hook'...
[2017-08-07 10:58] [ALPM] running 'update-desktop-database.hook'...
and after that I couldn't play videos anymore. Is it the ffmpeg package? Someone else with similar problems?
Last edited by kaymio (2017-08-07 10:16:05)
Offline
Downgrading ffmpeg (1:3.3.3-1 => 1:3.3.2-2) helps.
pacman -U /var/cache/pacman/pkg/ffmpeg-1:3.3.2-2-x86_64.pkg.tar.xz
Sorry for the hick ups. I get cranky when I can't watch my morning videos. Shouldn't update before my mind is up and running
Offline
I'm getting the same issue, but downgrading ffmpeg doesn't resolve the issue.
Offline
It's an incompatible change in youtube-dl, starting with version 2017.08.06. It's fixed in mpv, but not in any release yet. Your options are to use mpv-git or downgrade youtube-dl to a version earlier than the one I mentioned.
Last edited by Gusar (2017-08-16 12:31:50)
Offline