gscam error - "Failed to PAUSE stream, check your gstreamer configuration." and "Failed to initialize gscam stream!"
Hello,
I tryed to launch a file on my computer that was working fine in another computer on my lab, something like Section 3.
I found some solutions like :
sudo chmod 777 /dev/video0
ll /dev/video*
The device should now have all the permissions:
crwxrwxrwx+ 1 root video 81, 0 Jul 21 18:36 /dev/video0
and I could launch it correctly with:
roslaunch gscam v4l.launch
but it fails, giving me the error:
[FATAL] [1437501492.196615126]: Failed to PAUSE stream, check your gstreamer configuration.
[FATAL] [1437501492.197344548]: Failed to initialize gscam stream!
.
I tryed everything and it just doesn't work.
P.S.: I have Ubuntu 12.04 32bit, ROS Groovy and libgstreamer0.10 if it matters.
. .
My launch file contains exactly this:
<launch>
<!-- Set this to your camera's name -->
<arg name="cam_name" value="creative_cam" />
<!-- Start the GSCAM node -->
<env name="GSCAM_CONFIG" value="v4l2src device=/dev/video0 ! video/x-raw-yuv,framerate=30/1,width=640,height=480 ! ffmpegcolorspace " />
<node pkg="gscam" type="gscam" name="$(arg cam_name)">
<param name="camera_name" value="$(arg cam_name)" />
<remap from="camera/image_raw" to="$(arg cam_name)/image_raw" />
</node>
<!-- View the raw and rectified output -->
<node pkg="image_view" type="image_view" name="creative_view" >
<remap from="image" to="/$(arg cam_name)/image_raw" />
</node>
</launch>
Thank you for your attention ,
Nelson