-
Notifications
You must be signed in to change notification settings - Fork 51
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
Request: Process video stream from stdin #137
Comments
I'm not sure if using stdin works with OpenCV, but this should be possible using PyAV, so is theoretically possible. However, I do think OpenCV supports gstreamer inputs. That being said, modern versions of OpenCV should work with RSTP streams. I think the only thing preventing this right now might be how the CLI opens videos: It should definitely be possible to do something like:
However, using Thanks for posting this, I'll see if this can be pulled into the next release. |
This is great, thanks @Breakthrough ! If dvr-scan had the ability to take a network stream such as rtsp:// as direct input, I think that would be sufficient, and reading from stdin would be less important. |
OpenCV supports it, but dvr-scan may need some upgrades to handle the input type:
Is it a good idea to have a |
Apologies if this has been asked for before, but I couldn't find any mention of it in the issues or discussions.
How feasible would it be to allow dvr-scan to process the video stream from stdin rather than from a file? This would allow for (near) live processing of a network video stream. For example:
The text was updated successfully, but these errors were encountered: