gst-launch -e flag causes usb camera disconnection

Nicolas Dufresne nicolas at ndufresne.ca
Mon Jun 19 15:02:29 UTC 2017


Le lundi 19 juin 2017 à 12:41 +0900, Rafael Sierra a écrit :
> It's been I while since I found the issue. In the mean time I have 
> tested a few environments with these results:
> 
> - The issue only happens with the Logitech C920 (Exact model is
> Logicool 
> C920r)
> - The issue happens on different PCs / models: Desktop / notebook / 
> Intel NUC
> - The issue happens on different OS versions: Ubuntu 16.04 / 16.10 /
> 17.04
> - The issue also happens on latest GStreamer release (1.12) as well
> as 
> 1.8.3.
> 
> Additionally, take the following pipeline:
> $ gst-launch-1.0 -e v4l2src device=/dev/video0 ! autovideosink
> 
> It has different behaviors depending on how I stop it:
> - If I send SIGINT (Ctrl-C) on the terminal, the issue occurs.
> - If I close the window created by autovideosink, the issue _doesn't_
> occur.
> 
> These different behaviors make me thing this is not a driver issue,
> but 
> something not being handled properly within gst-launch.
> I believe this is a bug so I'm preparing a bug report I'll try to
> post ASAP.

Indeed, this looks like a firmware issue. As described on the bug you
just filed, with CTRL+C en -e (EOS) there is a quick sequence of
operation on the camera that seems to trigger a crash in the Logitech
Firmware, leaving the camera unresponsive.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170619/affb7a57/attachment.sig>


More information about the gstreamer-devel mailing list