[gstreamer-bugs] [Bug 320200] New: vorbisenc: min-bitrate and max-bitrate are 1/1000 bps rather than 1 bps

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Oct 29 15:02:25 PDT 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=320200
 GStreamer | gst-plugins-base | Ver: 0.8.11

           Summary: vorbisenc: min-bitrate and max-bitrate are 1/1000 bps
                    rather than 1 bps
           Product: GStreamer
           Version: 0.8.11
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: brian.peyton at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Using gstreamer 0.8.11 and the python bindings with this gst string:
filesrc name=source ! mad name=demuxer ! audioconvert ! vorbisenc quality=0.0
min-bitrate=97000 max-bitrate=224000 ! filesink location=/tmp/transcode/000\
blah.ogg

Results in a very small file, and the following output from ogginfo:
New logical stream (#1, serial: 1a619f82): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20040629 (1.1.0 rc1)
Channels: 2
Rate: 44100

Nominal bitrate: 64.000000 kb/s
Upper bitrate: 0.224000 kb/s
Lower bitrate: 0.097000 kb/s
Vorbis stream 1:
        Total data length: 21901 bytes
        Playback length: 2m:47.888s
        Average bitrate: 1.043594 kb/s
Logical stream 1 ended


Multiplying them by 1000 giving me this string:
filesrc name=source ! mad name=demuxer ! audioconvert ! vorbisenc quality=0.0
min-bitrate=97000000 max-bitrate=224000000 ! filesink
location=/tmp/transcode/000\ blah.ogg

gives me the following output from ogginfo (and an expected size file):
New logical stream (#1, serial: 6ac619a1): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20040629 (1.1.0 rc1)
Channels: 2
Rate: 44100

Nominal bitrate: 64.000000 kb/s
Upper bitrate: 224.000000 kb/s
Lower bitrate: 97.000000 kb/s
Vorbis stream 1:
        Total data length: 2176816 bytes
        Playback length: 2m:47.888s
        Average bitrate: 103.726451 kb/s
Logical stream 1 ended

The documentation produced by "gst-inspect vorbisenc" states that the unit is
bps, not millibps (millibps doesn't really make sense anyhow ;) ).

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




More information about the Gstreamer-bugs mailing list