gscam
gscam copied to clipboard
Use gstreamer1.0 instead of 0.10
It hasn't been released yet, but check out the gstreamer-1.0-support branch.
Sorry, I should have seen that before. Can you tell me if it is mature or if I should expect issues since it is not released yet ?
@devbharat I would call it "experimental" but it works.
Could you tell me why the package.xml still shows dependencies only on
<build_depend>libgstreamer0.10-dev</build_depend>
<build_depend>libgstreamer-plugins-base0.10-dev</build_depend>
I am exiting with an error "Could not get gstreamer sample"
This is the plain gstreamer script that does work on my system:
gst-launch-1.0 \
v4l2src device=/dev/video2 ! \
i2c file=$REG_SET_FILE show=0 dev=/dev/v4l-subdev5 ! \
video/x-raw,format=GRAY8,depth=8,width=640,height=480 ! \
videoconvert ! \
fbdevsink sync=false
even changing fbdevsink to appsink seems to work (although I do not know how to view the stream, but it does not return with an error). I think the gscam_config is not properly set.
I set it to:
<param if="$(arg GST10)" name="gscam_config" value="v4l2src device=/dev/video2 ! i2c file=/home/root/gstreamer_examples/register-settings-mt9v02x.txt show=0 dev=/dev/v4l-subdev5 ! video/x-raw,format=GRAY8,depth=8,width=640,height=480 ! ffmpegcolorspace"/>
Nevermind, I figured it out, the correct gscam_config i needed to use was
<param if="$(arg GST10)" name="gscam_config" value="v4l2src device=/dev/video2 ! i2c file=/home/root/gstreamer_examples/register-settings-mt9v02x.txt show=0 dev=/dev/v4l-subdev5 ! video/x-raw,format=GRAY8,depth=8,width=640,height=480 ! videoconvert"/>
Could version 1.0.1 be released for kinetic too?
(Maybe it is not possible cause of some API breakage that I'm unaware).