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

err when using gscam

asked 2014-05-21 20:11:50 -0500

Hamid Didari gravatar image

updated 2014-05-21 20:28:54 -0500

ahendrix gravatar image

Hi Guys

I tried to run gscam to get image from my camera but when I typed

$ roslaunch gscam v4l.launch

I got these errs:

[FATAL] [1400738699.774908523]: Failed to PAUSE stream, check your gstreamer configuration.
[FATAL] [1400738699.775082184]: Failed to initialize gscam stream!

and when I typed :

$rosrun gscam gscam

I got these errs:

[FATAL] [1400738785.074504579]: Problem getting GSCAM_CONFIG environment variable and 'gscam_config' rosparam is not set. This is needed to set up a gstreamer pipeline.
[FATAL] [1400738785.074717553]: Failed to configure gscam!

How can I fix these?

any suggestion about this?

thanks hamid

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-21 20:32:54 -0500

ahendrix gravatar image

Section 2 on the gscam wiki page describes how to the set the GSCAM_CONFIG environment variable; that should fix the second error you encountered.

You'll also want to make sure that you're using the correct video device, something like /dev/video0 or /dev/video1, and that your user has read and write permissions on it.

I'm not sure why their v4l launch file doesn't work; it isn't documented on the wiki.

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

1 follower


Asked: 2014-05-21 20:11:50 -0500

Seen: 1,400 times

Last updated: May 21 '14