ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
571 stars 33 forks source link

Lua error when loading the script #19

Closed ghost closed 6 years ago

ghost commented 6 years ago

mpv version and platform

Arch Linux x64 - 4.16.8-1-ARCH

mpv 0.28.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Mon Apr 23 21:31:45 CEST 2018
ffmpeg library versions:
   libavutil       56.14.100
   libavcodec      58.18.100
   libavformat     58.12.100
   libswscale      5.1.100
   libavfilter     7.16.100
   libswresample   3.1.100
ffmpeg version: 4.0

Description

mpv can't load the script. I tried running mpv with the --script option and I found this error in the terminal

Log file

[webm] 
[webm] stack traceback:
[webm]  [C]: in ?
[webm]  [C]: in ?
[webm] Lua error: /home/leewdch/.config/mpv/scripts/webm.lua:7: unexpected symbol near '<'
ghost commented 6 years ago

Apparently it was my fault for using wget to get the webm.lua script. It downloaded an XML file of the webpage instead of the script.