error when i play a youtube video with mpv #11405

Closed
opened 2026-02-21 06:10:43 -05:00 by deekerman · 2 comments
Owner

Originally created by @Joseph65 on GitHub (Aug 9, 2017).

i just downloaded version 2017.08.09
and i get this error when i play a video with mpv
i noticed the error are from youtube-dl and not mpv
~$ mpv https://www.youtube.com/watch?v=SZsAc4triPY
Playing: https://www.youtube.com/watch?v=SZsAc4triPY
[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)
[ffmpeg] tls: The TLS connection was non-properly terminated.
Failed to recognize file format.

Exiting... (Errors when loading file)

Originally created by @Joseph65 on GitHub (Aug 9, 2017). i just downloaded version 2017.08.09 and i get this error when i play a video with mpv i noticed the error are from youtube-dl and not mpv ~$ mpv https://www.youtube.com/watch?v=SZsAc4triPY Playing: https://www.youtube.com/watch?v=SZsAc4triPY [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) [ffmpeg] tls: The TLS connection was non-properly terminated. Failed to recognize file format. Exiting... (Errors when loading file)
Author
Owner

@dstftw commented on GitHub (Aug 9, 2017):

mpv issues should be reported to mpv.

@dstftw commented on GitHub (Aug 9, 2017): mpv issues should be reported to mpv.
Author
Owner

@pgram1 commented on GitHub (Aug 10, 2017):

Confirm it can be reproduced with older versions of mpv as well. Curious

@pgram1 commented on GitHub (Aug 10, 2017): Confirm it can be reproduced with older versions of mpv as well. Curious
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#11405
No description provided.