Add ability to serve video stream (Feature #3475)


Added by Cody Rigney about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2014-01-06
Priority:Normal Due date:
Assignee:Cody Rigney % Done:

0%

Category:highgui-video
Target version:3.0
Difficulty:Hard Pull request:

Description

Could the capability be added to easily broadcast a motion jpeg to clients using VideoWriter? Does it make sense to add this to video writer, or it's own class? If added to VideoWriter, additional parameters could be passed for binding IP address and port number.

This feature would make debugging on embedded devices, for example, much easier.

It seems to make sense for Issue #1324 to be completed before this one. I can complete these, but I need to find a couple answers to some questions first.


Associated revisions

Revision e0ab007b
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #3475 from fhsm:master

History

Updated by Cody Rigney about 11 years ago

Is there a class used for networking (across platforms) in the opencv source? Or at least an example? I will dig through and look if I don't get an answer. Thanks.

Updated by Andrew Senin about 11 years ago

Here is a link I found:
http://www.rosoo.net/a/201004/9123.html

Haven't tried, though.

  • Target version changed from 3.0 to Next Hackathon
  • Difficulty set to Hard
  • Assignee deleted (Cody Rigney)
  • Status changed from New to Open

Updated by Cody Rigney about 11 years ago

Thanks.

I have this implemented for windows and unix-like systems. It's single threaded but can serve multiple clients. It only does mjpeg right now which means you can view it from a browser. (Great for embedded device debugging). All you do is open a videowriter but specify a port and the fourcc for mjpeg only. Then write frames as usual. I still have to test the unix part and builds then I will submit a pull request.

Updated by Andrew Senin about 11 years ago

Thanks Cody! That would be great!

  • Assignee set to Cody Rigney
  • Target version changed from Next Hackathon to 3.0-alpha

Updated by be rak almost 11 years ago

any updates on this ? a lot of people have been asking

Updated by Cody Rigney over 10 years ago

Sorry for the long delay. I had the code done a while back but bought a new computer and forgot about that enhancement I had been working on, on the previous computer. I will try to get this committed within the next couple of weeks. If not, I'll post what I have so far for another person to finish.

Updated by Cody Rigney over 10 years ago

Another point to this, I have noticed that the popular browsers are bugged on what I implemented (multi-part jpeg). Firefox has a massive memory leak but works, while Chrome and IE require it to be embedded in HTML to work. Either way, I'll try to finish it up.

Updated by Aly Osama about 10 years ago

Hi, i want to ask what is the progress in this feature so that i could complete it
thanks

Updated by Cody Rigney about 10 years ago

Aly Osama wrote:

Hi, i want to ask what is the progress in this feature so that i could complete it
thanks

Hi, I'll submit the patch. I thought I would have the chance to complete it, but I have been very busy. Please give me till the end of the week. Thanks.

Updated by Maksim Shabunin almost 10 years ago

  • Target version changed from 3.0-alpha to 3.0

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4677

Also available in: Atom PDF