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

requires gstreamer-0.10, but osdeps provide gstreamer-1.0 on ubuntu 16.04 #5

Open
pierrewillenbrockdfki opened this issue Aug 24, 2017 · 10 comments

Comments

@pierrewillenbrockdfki
Copy link

Api changed between gstreamer-0.10 and gstreamer-1.0, so either it needs to be supported explicitly in here, or the manifest needs to be changed so it depends on an osdep providing gstreamer-0.10 only.

Note that the other package depending on gstreamer is aravis, and that can handle both gstreamer versions.

@planthaber
Copy link
Member

This is getting more severe, as Ubuntu 18.04 doesn't have a gstreamer 0.10 package at all

@maltewi
Copy link
Contributor

maltewi commented Oct 30, 2019

Hi @pierrewillenbrockdfki , @planthaber any news on this issue?

A very brief look at driver/camera_usb and drivers/orogen/camera_usb tells me:

  1. porting is not simply exchanging the library there are significatn api changes in between gst0.1 and gst1.0
  2. gst not really used. orogen/camera_usb uses v4l. Can you confirm this?

@planthaber
Copy link
Member

Hi,
i have no idea, but if you need a camera reading task quick, you could also give the video_streamer_vlc::Capturer Task a try.

https://github.com/rock-drivers/drivers-orogen-video_streamer_vlc

@maltewi
Copy link
Contributor

maltewi commented Oct 30, 2019

It's not so much about being quick. More about how to solve this issue.

One option of cause would be to abandon this package, if drivers-orogen-video_streamer_vlc is a valid replacement. So, what's your opinion whether drivers-orogen-video_streamer_vlc could fully replace drivers/orogen/camera_usb?

@planthaber
Copy link
Member

I guess rather no, because it adds an extra interface layer (vlc) on to of V4L.

I'd rather go and try to use with using opencv directly for capturing and jpeg conversion in this driver trying to replace gst.

@planthaber
Copy link
Member

I just tried removing gst from the lib and was able to run the testmain and gram images using v4l
Can someone test it in a rock deployment?

https://github.com/rock-drivers/drivers-camera_usb/tree/no_gst_dirty/src

If it works, we can make a proper removal of the gst mode

@pierrewillenbrockdfki
Copy link
Author

Imho whoever needs to use gst can always revert the deletion and fix the driver. Or stay on an old revision.

@planthaber
Copy link
Member

True, but we should properly remove it from the lib then, not like i did by leaving the files an putting comments everywhere. By branch was made just to make sure it still works before doing that effort

@maltewi
Copy link
Contributor

maltewi commented Oct 30, 2019

Ok, I'll have a look then to somehow get it running again. Should not take too long.. I hope

@maltewi
Copy link
Contributor

maltewi commented Nov 1, 2019

Driver and orogen-component are working again on current Ubuntu.
It turned out that porting to gstreamer1.0 is less effort than removing gstreamer completely as was discusses as an alternative option above.

So: Update to use gstreamer 1.0. The patch is ready for review and imo merge at #6. Will someone of you have a look?

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