[gstreamer-bugs] [Bug 548530] New: wavenc allows audio depth of 25

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 19 14:01:33 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=548530

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: wavenc allows audio depth of 25
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ds at schleef.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


wavenc sinkpad caps:

      audio/x-raw-int
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2 ]
             endianness: 1234
                  width: 32
                  depth: [ 25, 32 ]
                 signed: true
      audio/x-raw-int
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2 ]
             endianness: 1234
                  width: 24
                  depth: [ 17, 24 ]
                 signed: true
      audio/x-raw-int
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2 ]
             endianness: 1234
                  width: 16
                  depth: [ 9, 16 ]
                 signed: true

This allows, for example, the creation of a 25-bit depth file.  I'm pretty sure
this is not what any user wants, except perhaps in an
enable-crazy-shit-that-will-only-cause-problems mode.  In the interest of
sanity, I'm removing the ranges and replacing them with sane values.

Notably, the pipeline 'filesrc ! flacdec ! audioconvert ! wavenc ! filesink'
will create a 25-bit-depth file, since flac outputs 24/32, and wavenc won't
accept it, even though it's actually a common format.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=548530.




More information about the Gstreamer-bugs mailing list