ksvideosrc device enumeration problem

Nicolas Dufresne nicolas at ndufresne.ca
Thu Aug 9 14:08:13 UTC 2018


Le jeudi 09 août 2018 à 15:48 +0200, Jérôme Laheurte a écrit :
> Hello. Just checking if anybody already knows about this, or even,
> heaven forbids, has a workaround :)
> 
> The device-path property associated with a given USB camera, as
> returned by gst-device-monitor (and the underlying API), is not the
> same depending of wether the device was plugged in when starting gst-
> device-monitor or not. I can reproduce this with all USB camera
> models I have:
> 
> 1. Plug camera, launch gst-device-monitor, copy/paste the suggested
> command line and add autovideosink -> works
> 2. Unplug camera, launch gst-device-monitor -f, plug camera,
> copy/paste -> does not work. Notice that device-path is not the same.
> 
> On the other hand the device-path displayed when the camera is
> already plugged is always the same; and the one displayed on hotplug
> is also always the same :(
> 
> Cannot find anything on Bugzilla. Tested with the latest release
> (1.14.2). Do I open a bug ?

That the device path changes, that does not seems like a bug. To
compare, on linux, if you have CAMERA A and B, the order in which you
plug the cameras will affect the /dev/videoX node being associate to
it.

But that you copy the traces launch command and it does not work, that
sounds like a bug. You should report.

> 
> Best regards
> Jérôme Laheurte
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180809/0b11c083/attachment.sig>


More information about the gstreamer-devel mailing list