Grab frames from online video file
Hi!
Let's assume I have link "xyz". If opened in my browser, that link leads to a video file being played back: Basically, an existing video file is being streamed. I can, of course, also jump around in the video without having to download it completely.
I now need to "emulate" such behaviour in a Java program of mine. What I want to do:
- Open the stream from link "xyz".
- Be able to get metadata such as video length and resolution and FPS
- Grab and decode frame x.
I thought that OpenCV looked nice, but haven't managed to do so yet. Simply typing opening a VideoCapture class with the link does not seem to work.
Help appreciated, thank you very much!