[gstreamer-bugs] [Bug 621595] New: --quiet doesnt make gst-launch be completely quiet, also messages should not go to stdout

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 14 15:31:45 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=621595
  GStreamer | gstreamer (core) | 0.10.28

           Summary: --quiet doesnt make gst-launch be completely quiet,
                    also messages should not go to stdout
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.28
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: jon.orebro at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


# first problem:

$ gst-launch-0.10  --quiet videotestsrc ! fakesink
New clock: GstSystemClock

# the new clock message isnt an error message, right? so it should not be
# printed with --quiet

# second problem:

$ gst-launch-0.10   videotestsrc ! fakesink >/dev/null

$ gst-launch-0.10   videotestsrc ! fakesink 2>/dev/null
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 2746277473 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

# so all debug/progress messages are printed to stdout, not stderr as is the
# case with most other command line tools. this, combined with the first 
# problem, makes is unnecessary tricky to use fdsink to send data to another 
# program with a simple shell pipe without getting gst-launch messages mixed in
# with the data

# also,
# its one thing if status/debug messages are printed to stdout, but even some
# error messages are. but only some:

$ gst-launch-0.10 -q  videotestsrc ! filesink 
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstFileSink:filesink0: No file name
specified for writing.
Additional debug info:
gstfilesink.c(424): gst_file_sink_open_file ():
/GstPipeline:pipeline0/GstFileSink:filesink0

$ gst-launch-0.10 -q  videotestsrc ! filesink 2>/dev/null
ERROR: from element /GstPipeline:pipeline0/GstFileSink:filesink0: No file name
specified for writing.
Additional debug info:
gstfilesink.c(424): gst_file_sink_open_file ():
/GstPipeline:pipeline0/GstFileSink:filesink0

$ gst-launch-0.10 -q  videotestsrc ! filesink >/dev/null
ERROR: Pipeline doesn't want to pause.

# one ERROR line goes to stdout, the other goes to stderr

# this is what i would want:
#  * --quiet takes away ALL progress/debug messages and only shows error
#      messages
#  * all error messages goes to stderr

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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