Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work #10

Open
GoodTimesAhead opened this issue Jun 5, 2021 · 2 comments
Open

Doesn't work #10

GoodTimesAhead opened this issue Jun 5, 2021 · 2 comments

Comments

@GoodTimesAhead
Copy link

Similar to #1 and #9

[mpv_gif] Lua error: [string "C:\Users\{user}\Appdata\Roaming/mpv/scripts/.."]: 138: attempt to concatenate global 'filename' (a nil value)

@wishyu
Copy link

wishyu commented Jun 25, 2021

I was able to generate a gif without subtitles. Though it fails when you try to make a gif with subtitles.

Considering that you

  • added FFmpeg to Windows path and;
  • dir – the output directory exists

Change lines 138 and 139 to
local file_name = mp.get_property_native("filename/no-ext")
local file_path = output_directory .. "/" .. file_name

Hope this helps :))

@annopdanai
Copy link

After change line 138 and 139, error is gone but instead gif doesn't generate like #9. I able to generate gif when run mpv in Sandboxie though. Can't figure out why either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants