After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796915 - v4l2: enhancement request: allow to select device input/output
v4l2: enhancement request: allow to select device input/output
Status: RESOLVED DUPLICATE of bug 746080
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-08-02 12:43 UTC by Iñigo Huguet
Modified: 2018-08-02 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Iñigo Huguet 2018-08-02 12:43:05 UTC
v4l2src:
-------

Video input devices may have more than one input, and V4L2 allow to select which one must be used with VIDIOC_S_INPUT ioctl.

Gstreamer doesn't allow to select which input must be used, and users have to make the ioctl by their own (or calling v4l2-ctl --set-input=X)

It would be good that GStreamer allows to select the input as a property, as a cap, or in any other convenient way. For example:
v4l2src device=/dev/video0 input=2 ! autovideosink


v4l2sink:
--------

I haven't used video output devices so I don't know how they work, but I guess it is more or less the same, but with outputs instead of inputs. I see that VIDIOC_S_OUTPUT ioctl exists in V4L2.


related bug: https://bugzilla.gnome.org/show_bug.cgi?id=796908
Comment 1 Iñigo Huguet 2018-08-02 12:46:18 UTC
Sorry, seems to be duplicated

*** This bug has been marked as a duplicate of bug 746080 ***