uvic-aero / onboard-computer

0 stars 1 forks source link

Create video stream application class #14

Closed dragonprevost closed 5 years ago

dragonprevost commented 5 years ago

If you look into the apps/ Directory you will be able to a set of folders, each of which represents an application in the OBC framework. Timelapse, PiCam, TelemData etc. are all examples of applications that run in OBC. To resolve this issue we must create a new application in OBC by duplicating the structure of an already existing application then naming it something relevant to streaming video(Stream, VideoStream, LiveFeed etc...).

Notes

joshuacwnewton commented 5 years ago

Out of curiosity, what's the distinction between this VideoStream class and the existing VideoDisplay class? Or, is the intention that this issue will be combined with the "Delete VideoDisplay app" issue with the end result being roughly the same structure?

noahwc commented 5 years ago

This will likely be for a future issue but this library https://github.com/jeffbass/imagezmq seems to be promising for video streaming over a network. It works well with OpenCV too.

dragonprevost commented 5 years ago

Out of curiosity, what's the distinction between this VideoStream class and the existing VideoDisplay class? Or, is the intention that this issue will be combined with the "Delete VideoDisplay app" issue with the end result being roughly the same structure?

The video display application would send frames captured on the PiCamera to a video out port on the raspberry pi. This was useful because we had an FPV transmitter that could broadcast the video. This year we will need to use networking protocols to broadcast the live video.... Good question

The applications have similar use cases but totally different structure and technical requirements.