[gst-devel] Cannot use audioscale element

niac78 at free.fr niac78 at free.fr
Fri Oct 22 02:21:55 CEST 2004


Hi all,
I'm trying to build a pipeline (first step with gst-launch) to read raw audio
files. Has I do not have XML support, I have to provide the plugins associated
with my elements with the --gst-plugin-load option.
This method works perfectly except for one element: audioscale. GStreamer says
"WARNING: erroneous pipeline: no element "audioscale""
This element is located in libgstaudioscale.so. Is it dependant on other plugins
that I have to give to the pipeline with --gst-plugin-load? In that case, is
there a way (as gst-inspect) to know thhe dependancies?

Thanks for your help.



For information, my script is printed below:

FILE=$1

if [ $# -ne 1 ]; then
    echo "Syntax Error : $0 file_name"
    exit 1
fi

FILTER1="! audio/x-raw-int, depth=16, rate=8000, channels=1"
FILTER2="! audio/x-raw-int, depth=16, rate=8000, channels=2"
FILTER3="! audio/x-raw-int, depth=16, rate=4000, channels=2"

$GST_PREFIX/bin/gst-launch-0.8 \
filesrc location=$FILE $FILTER1 ! audioconvert $FILTER2  ! audioscale $FILTER3 !
osssink \
--gst-plugin-load=\
$GST_PREFIX/lib/gstreamer-0.8/libgstoptscheduler.so,\
$GST_PREFIX/lib/gstreamer-0.8/libgstelements.so,\
$GST_PREFIX/lib/gstreamer-0.8/libgstossaudio.so,\
$GST_PREFIX/lib/gstreamer-0.8/libgstaudio.so,\
$GST_PREFIX/lib/gstreamer-0.8/libgstaudioconvert.so,\
$GST_PREFIX/lib/gstreamer-0.8/libgstaudioscale.so,\
 --gst-debug-level=0 --gst-debug-no-color




More information about the gstreamer-devel mailing list