ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

video from node to v4l2

asked 2015-02-25 22:44:35 -0600

andre_th gravatar image

Hi, I need to pass a video stream from the ardrone_autonomy package's topic 'ardrone/front/image_raw' to a v4l2 (Video 4 Linux 2) virtual device dev/video0. Is there any package that could help me do this? Thanks for the help! andre_th

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-02-27 04:25:20 -0600

gvdhoorn gravatar image

updated 2015-02-27 04:29:08 -0600

I believe gscam can do this. Anything gstreamer can access, gscam can publish.

Right, that is the wrong direction.

But according to umlaeute/v4l2loopback/README gstreamer can be a 'feeder' for the virtual v4l loopback device.

edit flag offensive delete link more


Thanks for the suggestion. I am trying to use Gstreamer but so far I cannot make it work. Seems that is quite complicated to create a pipeline starting from images. I posted a new question on the forum: ar-drone without camera.

andre_th gravatar image andre_th  ( 2015-03-26 06:16:40 -0600 )edit

answered 2016-03-26 07:04:12 -0600

lucasw gravatar image

updated 2017-02-23 16:52:33 -0600

Later answered in Can we publish Image topic from ROS to a virtual video device

I just tried ros-virtual-cam out on a jade/14.04 system, looked fine.

If you want to run the tests:

sudo pip install v4l2capture
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-02-25 21:24:16 -0600

Seen: 1,396 times

Last updated: Feb 23 '17