ges and wavescope

Mohan R mohan43u at gmail.com
Thu Jan 21 15:02:34 UTC 2021


Hi,

I need some help, I have one mp3 file and I need to generate some kind
of visual which represents the music, I was able to get this done with
the following gst-launch-1.0 commandline

$ gst-launch-1.0 -v -e filesrc location=SomeMusic.mp3 ! decodebin !
audio/x-raw ! tee ! audioconvert ! audioresample ! queue !
autoaudiosink tee0. ! audioconvert ! audioresample ! wavescope !
videoconvert ! videoscale ! video/x-raw,width=640,height=360 ! queue !
autovideosink

gst-launch-1.0 is fine for a single mp3, I want to append a few more
mp3 files into one big mp4. So, I tried to utilize ges-launch-1.0,
here is the commandline I tried

$ ges-launch-1.0 +clip SomeMusic.mp3 +effect 'audio audioconvert !
audioresample ! wavescope'

I get this error

0:00:00.225501082 59995 0x55a626041230 ERROR                    ges
ges-effect.c:318:ges_effect_create_element: An error occurred while
creating the GstElement: No srcpads available for effect: audioconvert
! audioresample ! wavescope

I also tried switching 'audio' to 'video' in the commandline like this,

$ ges-launch-1.0 +clip SomeMusic.mp3 +effect 'video audioconvert !
audioresample ! wavescope'

Then, I get this error

0:00:00.232113934 60019 0x55d7a8bee230 ERROR                    ges
ges-effect.c:318:ges_effect_create_element: An error occurred while
creating the GstElement: No sinkpads available for effect:
audioconvert ! audioresample ! wavescope

What should I need to do to make the wave appear using ges?

Thanks,
Mohan R


More information about the gstreamer-devel mailing list