ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

err when using gscam

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

Hamid Didari gravatar image

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

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
1

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

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

Question Tools

1 follower

Stats

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

Seen: 1,525 times

Last updated: May 21 '14