ros-drivers / gscam

ROS Camera driver for GStreamer-based video streams.
142 stars 174 forks source link

Fatal error: No element "v4l2src" #41

Open Alibinwahid opened 6 years ago

Alibinwahid commented 6 years ago

roslaunch gscam v4l.laucnh gives following output with fatal errors in kinetic/ubuntu 16.04:

SUMMARY

PARAMETERS

NODES /v4l/ gscam_driver_v4l (gscam/gscam)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found process[v4l/gscam_driver_v4l-1]: started with pid [10328] [ INFO] [1513049835.971253216]: Using gstreamer config from rosparam: "v4l2src device=/dev/video0 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace" [ INFO] [1513049835.974249603]: camera calibration URL: package://gscam/examples/uncalibrated_parameters.ini [ INFO] [1513049835.974403749]: Loaded camera calibration from package://gscam/examples/uncalibrated_parameters.ini [FATAL] [1513049835.975789661]: no element "v4l2src" [FATAL] [1513049835.975809444]: Failed to initialize gscam stream! [v4l/gscam_driver_v4l-1] process has finished cleanly log file: /home/ubuntu/.ros/log/d5ded8ea-dee2-11e7-b44c-d46a6ad5baeb/v4l-gscam_driver_v4l-1*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

Alibinwahid commented 6 years ago

installing plugins solved the error: sudo apt-get install gstreamer0.10-plugins-good followed this