ges and wavescope

Thibault Saunier tsaunier at gnome.org
Thu Jan 21 15:21:31 UTC 2021


Hello,

I guess that what you want is to visualize the different audio clips as one
and for that you do not really want an effect but set your audiosink
appropriately. Something like that should work just fine:

    ges-launch-1.0 +clip Some.mp3 --audiosink="tee name=t ! queue !
wavescope ! videoconvert ! autovideosink t. ! queue ! autoaudiosink"
--track-types audio

BR,

Thibault Saunier

On Thu, Jan 21, 2021 at 12:02 PM Mohan R <mohan43u at gmail.com> wrote:

> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


-- 
Thibault Saunier, Igalia - www.igalia.com <http://www.centricular.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210121/c5098553/attachment.htm>


More information about the gstreamer-devel mailing list