Ask Your Question
0

GSCAM over ubuntu server

asked Feb 22

Mario Garzon gravatar image Mario Garzon
78 4 5

Hi all..

i'm trying to add a web cam to my pionner at-e robot, i have ubuntu 10.4 server version (no x systems), i have already installed the required components of GSCAM and the compilation gives no errors or warnings

i export the environment variable

$ export GSCAM_CONFIG="v4l2src device=/dev/video1 ! video/x-raw-rgb ! ffmpegcolorspace"

then i run the node

$ rosrun gscam gscam

but i get the next error:

Gstreamer Version: GStreamer 0.10.28 no element "v4l2src"

any ideas? is it possible to run gscam on a server edition of ubuntu?

thanks a lot

Mario

delete close flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
2

answered Feb 22

John Hoare gravatar image John Hoare flag of United States
450 6 20

You need to have the gstreamer0.10-plugins-good package installed. The v4l2src element is located in the "good" plugins http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-v4l2src.html

link delete flag offensive edit

Comments

Thanks a lot... that solved my the problem... i had installed only the gstreamer0.10-plugins :)

Mario Garzon (Feb 22)edit
0

answered Feb 23

Parisa gravatar image Parisa
23 3

I also have this problem. But I am not familiar more with ubuntu and I dont understand anything from this manual http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-v4l2src.html Can I ask you to explain it for me?

Many thanks.

link delete flag offensive edit
0

answered Feb 24

Mario Garzon gravatar image Mario Garzon
78 4 5

The manual is just for the gstreamer0.10-plugins-good library, which is used by gscam to publish the output of the webcam over ROS, in a server edition of ubuntu that library is not included so you have to manually install it usign

sudo apt-get install gstreamer0.10-plugins-good

hope that answers your question..

Mario

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 22

Seen: 92 times

Last updated: Feb 24