Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288376 - media-plugins/gst-plugins-meta: add v4l/v4l2 support [was: net-im/pidgin-2.6.* gstreamer? ( few more packages)]
Summary: media-plugins/gst-plugins-meta: add v4l/v4l2 support [was: net-im/pidgin-2.6....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2009-10-10 04:32 UTC by Denilson Sá Maia
Modified: 2010-05-24 06:04 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gst-plugins-meta-v4l-v4l2.patch (gst-plugins-meta-v4l-v4l2.patch,1.23 KB, patch)
2009-12-19 23:02 UTC, David Abbott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2009-10-10 04:32:58 UTC
According to this user:
http://forum.soft32.com/linux/gentoo-user-pidgin-video-ftopict492729.html
we also need to emerge gst-plugins-farsight and gst-plugins-v4l2 before being able to use voice and video on pidgin.

I can confirm that my webcam was detected after installing those packages, but I couldn't test voice and video yet (no one else online).

That said, it would have been nice if setting that useflag also pulls such dependencies.

Maybe add a v4l2 useflag to pidgin, which should depend on gst-plugins-v4l2 (but only if gstreamer and v4l2 are both set).
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2009-10-10 05:44:41 UTC
gst-plugins-farsight is definitely not needed. It is deprecated and all the useful plugins have been moved to gst-plugins-bad.

v4l2 is harder to say, because for the camera to work you either need v4l or v4l2 depending on which driver you are using. Maybe I should add both as deps... Or at least v4l2 (since it is now much more common).. And actually, I heard that with libv4l2, one could use v4l devices too with that plug-in.. So I guess we should add it as a hard RDEP.. or maybe add those to gst-plugins-meta.
Comment 2 Denilson Sá Maia 2009-10-10 18:05:25 UTC
There are already v4l and v4l2 useflags. Maybe that dependency (that you are planning to add) should be conditional.
Comment 3 Denilson Sá Maia 2009-11-13 11:53:11 UTC
Just poking again this bug...

Would be nice to have v4l/v4l2 useflags on pidgin, as it would pull the required gst-plugins-v4l{,2} packages. This will help people to use voice/video in pidgin, without the need to manually emerge this dep.
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2009-11-13 17:14:01 UTC
these should be in gst-plugins-meta I guess
Comment 5 Denilson Sá Maia 2009-11-16 14:52:30 UTC
After sync, I noticed this: net-im/psi, with jingle useflag, pulls net-im/psimedia, which is a plugin for voice/video calls.

net-im/psimedia ebuild pulls media-plugins/gst-plugins-v4l and media-plugins/gst-plugins-v4l2, among a few other packages.

Thus, I guess maybe both pidgin and psimedia could use the same useflags, or they both could adopt the same solution (of course, if possible).
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-12-17 17:37:04 UTC
If I remember correctly in psimedia there is demo program does not start if all plugins are not installed. So I just added both. And IIUC since video in pidgin is also xmpp only I guess jingle USE flag could be useful here too.
Comment 7 Olivier Crete (RETIRED) gentoo-dev 2009-12-17 18:21:07 UTC
It will also be in yahoo in the next release.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-12-19 09:39:38 UTC
Daniel and other maintainers. Could you (we?) add v4l/v4l2 USE flags to gst-plugins-meta (to depend on media-plugins/gst-plugins-v4l{,2}), please?


Olivier, and since there is no clear way to separate voice from video in pidgin I guess we need new USE flag: vv sounds too terse and voicevideo is too long, but it's still possbile to use any. What's your preference?
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2009-12-19 16:07:32 UTC
There is already a "gstreamer" use flag for that.
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-12-19 16:14:08 UTC
I don't have a problem with v4l use flags in gst-plugins-meta.  Make sure the keywords are correct.  Since I can't currently test this, someone with proper hardware is going to have to test and make a patch (or commit themselves, if they're a developer)
Comment 11 David Abbott (RETIRED) gentoo-dev 2009-12-19 23:02:50 UTC
Created attachment 213515 [details, diff]
gst-plugins-meta-v4l-v4l2.patch

New to ebuilds, HTH
Tested on ~amd64 seems to work as expected.
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-12-20 20:53:15 UTC
Looking at keywords, I can't apply this until some keywords get added.

gst-plugins-v4l needs ~arm and ~sh
gst-plugins-v4l2 needs ~arm, ~sh, and ~sparc

I'm assuming that fbsd isn't relevant, based on the "L" in V4L.  Arch teams: is this feasible?
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2010-01-30 17:51:58 UTC
arm: v4l/v4l2 is masked, what do we need to do here? We don't plan on unmasking them
sh: i've masked v4l/v4l2
sparc: v4l2 is masked, what do we need to do here?
Comment 14 Raúl Porcel (RETIRED) gentoo-dev 2010-05-23 18:50:14 UTC
ping
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2010-05-24 06:04:47 UTC
Thanks Raúl for ping. USE flags were added. FIXED in gst-plugins-meta-0.10-r4.