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

Error occurred when generating a gif image #217

Open
jiko797torayo opened this issue Oct 30, 2021 · 0 comments
Open

Error occurred when generating a gif image #217

jiko797torayo opened this issue Oct 30, 2021 · 0 comments

Comments

@jiko797torayo
Copy link

jiko797torayo commented Oct 30, 2021

This pull request helped me a lot.
https://github.com/streamio/streamio-ffmpeg/pull/162/files

Thank you for implementing it.

However, when generating a gif image,

movie = FFMPEG::Movie.new("hoge.mp4")
gif_image = movie.transcode(t.path, %W[-screenshot -seek_time 5 -r 5 -t 0.5 -vf scale=320:-1])

I get the following error.

Unrecognized option 'screenshot'.
Error splitting the argument list: Option not found
@jiko797torayo jiko797torayo changed the title Prevent errors when generating gif images Prevent errors when generating a gif image Oct 30, 2021
@jiko797torayo jiko797torayo changed the title Prevent errors when generating a gif image Prevent error when generating a gif image Oct 30, 2021
@jiko797torayo jiko797torayo changed the title Prevent error when generating a gif image Error occurred when generating a gif image Oct 30, 2021
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

Successfully merging a pull request may close this issue.

1 participant