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

Use gstreamer1.0 instead of 0.10 #25

Open
devbharat opened this issue Dec 14, 2015 · 6 comments
Open

Use gstreamer1.0 instead of 0.10 #25

devbharat opened this issue Dec 14, 2015 · 6 comments

Comments

@devbharat
Copy link

No description provided.

@jbohren
Copy link
Member

jbohren commented Dec 14, 2015

It hasn't been released yet, but check out the gstreamer-1.0-support branch.

@devbharat
Copy link
Author

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 ?

@jbohren
Copy link
Member

jbohren commented Dec 14, 2015

@devbharat I would call it "experimental" but it works.

@devbharat
Copy link
Author

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>

@devbharat
Copy link
Author

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"/>

@awesomebytes
Copy link
Member

Could version 1.0.1 be released for kinetic too?

(Maybe it is not possible cause of some API breakage that I'm unaware).

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

3 participants