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

Remote URL for the input #215

Open
Rubioli opened this issue Dec 17, 2020 · 1 comment
Open

Remote URL for the input #215

Rubioli opened this issue Dec 17, 2020 · 1 comment

Comments

@Rubioli
Copy link

Rubioli commented Dec 17, 2020

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!

@goncalvesjoao
Copy link

goncalvesjoao commented Nov 15, 2022

Hello there! 👋

I arrived to this issue, with the exact same request.

But realised that the code is now prepared for that, check it again @Rubioli

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

2 participants