First of all, such a great gem
I wanted to create a screenshot from a remote URL instead of input and I got No such file or directory - the file 'https://www.w3schools.com/html/mov_bbb.mp4' does not exist.
movie = FFMPEG::Movie.new(video)
movie.screenshot("public/screenshot#{rand(1..9999)}.jpg")
PS:
In my terminal I can do: ffmpeg -i "https://www.w3schools.com/html/mov_bbb.mp4" -ss 00:00:01 -vframes 1 -f image2 "image.jpg" and generate the screenshot.
I've been reading the issues and way back in 2016 I see that this was added. Am I doing it the wrong way?
Thanks in advance!
First of all, such a great gem
I wanted to create a screenshot from a remote URL instead of input and I got No such file or directory - the file 'https://www.w3schools.com/html/mov_bbb.mp4' does not exist.
PS:
In my terminal I can do:
ffmpeg -i "https://www.w3schools.com/html/mov_bbb.mp4" -ss 00:00:01 -vframes 1 -f image2 "image.jpg"and generate the screenshot.I've been reading the issues and way back in 2016 I see that this was added. Am I doing it the wrong way?
Thanks in advance!