[Bug 760550] New: wrong/misleading error message from gst-launch

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 12 11:29:17 PST 2016


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

            Bug ID: 760550
           Summary: wrong/misleading error message from gst-launch
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ensonic at sonicpulse.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I want to convert an audio file to raw:

gst-launch-1.0 filesrc location=foo.wav ! wavparse ! audioconvert !
"audio/x-raw,channels=1,rate=44100,format=S16" ! filesink location=foo.raw

The mistake above is that S16 is not a valid format, it should be e.g. S16LE.

What gst-launch prints is
"WARNING: erroneous pipeline: could not link audioconvert0 to filesink0"

This is very unfortunate and misleading, since filesink takes any caps. I think
we are missing some error handling and this disguises the root cause.

-- 
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