andikanugraha/libv4l2cam

No streaming functionality

GoogleCodeExporter opened this issue · 3 comments

What steps will reproduce the problem?
1. v4lstereo is fantastic in embedded applications, but
has no way to transfer the data back to a controlling machine.

What version of the product are you using? On what operating system?
Latest SVN (r64) on Ubuntu Karmic i386 and armel (on BeagleBoard)
Minoru webcam

Please provide any additional information below.
The following patch should add streaming support to v4lstereo r64.  It adds 
a build dependencies:
libgstreamer-plugins-base0.10-dev
libgst-dev 

Please be gentle, this is my first real work with C++ and so I couldn't 
figure out how to selectively disable stuff at build time. I just modified 
the makefile to add the required support flags.  The patch does not add 
much overhead to program, but could probably be done in a more efficient 
way.
The streams are raw jpegs over a tcp socket - the gstreamer pipeline could 
be easily modified to use rtsp, but latency is critical for my particular 
application (UAV).
The streams can easily be run with the gst-launch  command printer out at 
runtime.
I also added an option to explicitly run the program headless, as there are 
potential use cases where you want both local display and streaming.
I tried to stick to the style of the code as much as possible.
I hope this is of use to other people, and many thanks to the authors for 
this great application.
If there are any modifications (probably many) which you would like to see 
before inclusion, please let me know!
Gareth R

Original issue reported on code.google.com by blut...@gmail.com on 30 Nov 2009 at 4:06

Attachments:

Should be enhancement, but don't think I can change myself.

Original comment by blut...@gmail.com on 30 Nov 2009 at 4:11

Currently, the patch needs to be built against OpenCV 2.0, or you will get a 
warning 
about cvEncodeImage being undefined.

Original comment by blut...@gmail.com on 4 Dec 2009 at 3:58

This has been included into version 1.042.  I've also added the openCV 2.0 
package as
a download.

Original comment by b...@robotics.uk.to on 4 Dec 2009 at 6:03

  • Changed state: Fixed