Can OpenCV save to file from a Webstream

asked 2015-11-23 23:41:33 -0500

Arak_Lea gravatar image

I'm sorry this is so general. I just want to know if OpenCv is the right path to sink massive man hours into. This is somewhat nube educational, so bear with me.

I want to emulate a TVO capture. I have a three tuner HDHomeRun, which streams into three urls / over ip). Sure VLC, Media Player etc can view this. But I want to capture the video to file while I'm out and play it back if anything interesting happens. So yea, playback, no problem so long as the media file is in a usable format. I have a C# program using the MediaElement, and can do all the playback and navigating I want. But intially capturing the streaming video programatically, no viewing. Can I leaverage OpenCV to do that? Have an example somewhere of that, including the needed codex's or file headers required?

edit retag flag offensive close merge delete

Comments

imho, you're better off, building a pipeline with ffmpeg, vlc, or gstreamer, and remote-controlling that from your app. (and leave opencv alone)

last, there's no c# support from opencv, so we can''t help you with code

berak gravatar imageberak ( 2015-11-24 02:53:17 -0500 )edit

Thanks I apreciate that. VLC is good for a single stream or two, but frankly I want to record and view up to 20. VLC locks up one PC I test on when I supervise any number of them just as simple viewers. With MediaElement, I can view 24 from files NP, but that doesn't record and doesn't accept a plain ip URl with live content.

Arak_Lea gravatar imageArak_Lea ( 2015-11-27 17:11:33 -0500 )edit