GNOME Bugzilla – Bug 116051
libresample doesn't handle > factor of 2 rate conversion
Last modified: 2008-11-27 17:00:36 UTC
When inserting audioscale between the audio_decoder and audio_encoder for downscaling the decoded audio stream from 44100/48000 to 7440 for the encoder gstreamer cannot negotiate the pads on audio_decoder.src and audioscale.sink.
The audioscale element now handles this correctly. However, libaudioresample still doesn't handle rate conversions larger than a factor of 2, so it still doesn't work. (And there's a test in the media test suite.)
Is this still a GStreamer bug? I'd like to move this elsewhere.
It's part of gst-plugins, so yes.
Depending on #310380.
David, do you suggest the same method be used to reduce the sample rate in audioresample as in audioscale?
No. You should prod me repeatedly until I write a correct solution.
ds: *random prod*
ds: prod?
2008-11-27 Sebastian Dröge <sebastian.droege@collabora.co.uk> * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-base-plugins-sections.txt: * docs/plugins/gst-plugins-base-plugins.args: * docs/plugins/gst-plugins-base-plugins.hierarchy: * docs/plugins/gst-plugins-base-plugins.interfaces: * docs/plugins/gst-plugins-base-plugins.prerequisites: * docs/plugins/inspect/plugin-adder.xml: * docs/plugins/inspect/plugin-alsa.xml: * docs/plugins/inspect/plugin-audioconvert.xml: * docs/plugins/inspect/plugin-audiorate.xml: * docs/plugins/inspect/plugin-audioresample.xml: * docs/plugins/inspect/plugin-audiotestsrc.xml: * docs/plugins/inspect/plugin-cdparanoia.xml: * docs/plugins/inspect/plugin-decodebin.xml: * docs/plugins/inspect/plugin-ffmpegcolorspace.xml: * docs/plugins/inspect/plugin-gdp.xml: * docs/plugins/inspect/plugin-gio.xml: * docs/plugins/inspect/plugin-gnomevfs.xml: * docs/plugins/inspect/plugin-libvisual.xml: * docs/plugins/inspect/plugin-ogg.xml: * docs/plugins/inspect/plugin-pango.xml: * docs/plugins/inspect/plugin-playback.xml: * docs/plugins/inspect/plugin-queue2.xml: * docs/plugins/inspect/plugin-subparse.xml: * docs/plugins/inspect/plugin-tcp.xml: * docs/plugins/inspect/plugin-theora.xml: * docs/plugins/inspect/plugin-typefindfunctions.xml: * docs/plugins/inspect/plugin-uridecodebin.xml: * docs/plugins/inspect/plugin-video4linux.xml: * docs/plugins/inspect/plugin-videorate.xml: * docs/plugins/inspect/plugin-videoscale.xml: * docs/plugins/inspect/plugin-videotestsrc.xml: * docs/plugins/inspect/plugin-volume.xml: * docs/plugins/inspect/plugin-vorbis.xml: * docs/plugins/inspect/plugin-ximagesink.xml: * docs/plugins/inspect/plugin-xvimagesink.xml: * gst/speexresample/gstspeexresample.c: (plugin_init): * gst/speexresample/Makefile.am: * tests/check/Makefile.am: * tests/check/elements/speexresample.c: (setup_speexresample), (GST_START_TEST), (test_pipeline): Rename the moved speexresample to audioresample, integrate into the build system and remove the old audioresample from the build system. Fixes bug #558124, #385061, #346218, #116051.