[gst-devel] Problem with equalizer-10bands
Yogesh Marwaha
yogeshm.007 at gmail.com
Sat Apr 25 11:54:10 CEST 2009
Hello,
Here are the verions (all are up-to-date for openSUSE 11.1): -
gstreamer 0.10.22-42.pm.1
gstreamer-base 0.10.22-42.pm.1
gstreamer-good 0.10.14-42.pm.1
gstreamer-ffmpeg 0.10.7-42.pm.1
I've installed banshee and problem exists there also.
Regards,
2009/4/23 Sebastian Dröge <sebastian.droege at collabora.co.uk>:
> Am Donnerstag, den 23.04.2009, 12:03 +0530 schrieb Yogesh Marwaha:
>> Greetings,
>>
>> I've just started implementing equaliser support for my application.
>> Though the higher frequency bands seem to work well, the lower
>> frequency bands are distorting the audio; even an adjustment of +1dB
>> is not working correctly, and once any of the lower band is adjusted,
>> a thump is heard from the speaker whenever any band is adjusted.
>>
>> Here is how I set-up gstreamer in my app: -
>> ---------------------------------------------------------------
>> m_pPlayBin = gst_element_factory_make("playbin", "gravity-playbin");
>> m_pVisualisation = gst_element_factory_make("goom",
>> "gravity-playbin-visualisation");
>> g_object_set(G_OBJECT(m_pPlayBin), "vis-plugin", m_pVisualisation, NULL);
>> m_pVideoSink = gst_element_factory_make("xvimagesink",
>> "gravity-playbin-video");
>> g_object_set(G_OBJECT(m_pPlayBin), "video-sink", m_pVideoSink, NULL);
>> m_pAudioSink = gst_element_factory_make("alsasink",
>> "gravity-playbin-audio");
>> m_pEqualiser = gst_element_factory_make("equalizer-10bands",
>> "gravity-equaliser");
>> m_pAudioBin = gst_bin_new("audio-bin");
>> gst_bin_add_many(GST_BIN(m_pAudioBin), m_pEqualiser, m_pAudioSink, NULL);
>> gst_element_link_many(m_pEqualiser, m_pAudioSink, NULL);
>> m_pAudioBinPad = gst_element_get_static_pad(m_pEqualiser, "sink");
>> gst_element_add_pad(m_pAudioBin, gst_ghost_pad_new("sink", m_pAudioBinPad));
>> g_object_set(G_OBJECT(m_pPlayBin), "audio-sink", m_pAudioBin, NULL);
>> GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(m_pPlayBin));
>> gst_bus_add_watch(bus, cb, this);
>> gst_element_set_state(m_pPlayBin, GST_STATE_READY);
>> ---------------------------------------------------------------
>>
>> This is how I set equaliser band values:
>> ---------------------------------------------------------------
>> g_object_set(m_pEqualiser, "band0", (gdouble)value, NULL);
>> ---------------------------------------------------------------
>>
>> Any help to fix the problem is welcome. Also, is there any app which
>> already uses equalizer-10band plugin so I can how it works?
>
> Banshee uses the 10-band eq and it works good there although you
> use it the same way ;)
>
> Could you file a bug at bugzilla.gnome.org for this? Also which
> version of gst-plugins-good do you use?
>
--
Yogesh M
http://snakeeyes.wordpress.com/
More information about the gstreamer-devel
mailing list