[Bug 783945] New: gst-launch -e flag causes usb camera disconnection (Logitech C920)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 19 05:44:43 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783945

            Bug ID: 783945
           Summary: gst-launch -e flag causes usb camera disconnection
                    (Logitech C920)
    Classification: Platform
           Product: GStreamer
           Version: 1.12.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: tt.babyvitals.01 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 354015
  --> https://bugzilla.gnome.org/attachment.cgi?id=354015&action=edit
gst-launch & -e flag issue: command line output

So far, this issue seems to be specific to the Logitech C920 USB camera when
using gst-launch on the command line.

After I use the "-e" flag in any pipeline, any subsequent pipeline that access
the camera will fail and cause a camera disconnection, where it becomes
necessary to re-plug the camera to make it usable again. Removing the -e flag,
avoids the issue, but the video file is saved without an index and is not
readily usable.

Also, take the following pipeline:
$ gst-launch-1.0 -e v4l2src device=/dev/video1 ! 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. 

This is my system configuration:
$ uname -a
Linux NUC02 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

$ gst-launch-1.0 --version
gst-launch-1.0 version 1.12.0
GStreamer 1.12.0
Unknown package origin

- OS is Ubuntu 16.04
- Issue also happens with GStreamer 1.8.3
- Already asked in the mailing list, but didn't have any
luck:http://gstreamer-devel.966125.n4.nabble.com/gst-launch-e-flag-causes-usb-camera-disconnection-tt4682150.html
- Attached is the console output using the -v flag

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list