Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: No element "v4l2src" #41

Open
Alibinwahid opened this issue Dec 12, 2017 · 1 comment
Open

Fatal error: No element "v4l2src" #41

Alibinwahid opened this issue Dec 12, 2017 · 1 comment

Comments

@Alibinwahid
Copy link

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

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.7
  • /v4l/gscam_driver_v4l/camera_info_url: package://gscam/e...
  • /v4l/gscam_driver_v4l/camera_name: default
  • /v4l/gscam_driver_v4l/frame_id: /v4l_frame
  • /v4l/gscam_driver_v4l/gscam_config: v4l2src device=/d...
  • /v4l/gscam_driver_v4l/sync_sink: True

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant