[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to implement an audio-filter for the GStreamer playbin - element?
[Thread Prev] | [Thread Next]
- Subject: How to implement an audio-filter for the GStreamer playbin - element?
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Tue, 17 Feb 2026 18:05:23 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
HiI am trying to build a special AudioPlayer-class for someone in the German Club, who wants to play audio files with a normalized volume.
I drafted the following GStreamer pipeline, which should do the job:$ gst-launch-1.0 playbin volume=0.5 audio-filter="audioamplify amplification=1" uri="file:///home/claus/song.mp3"
Unfortunately I failed to mimic this pipeline with gb.media. This part works pl = New MediaPipeline As "PipeEvents" src = New MediaControl(pl, "playbin") src["volume"] = 0.5 src["uri"] = "file:///home/claus/song.mp3" pl.play()but I don't know how to implement the audio-filter with Gambas. Do I have to use the MediaFilter-class? If so, how do I have to set it up and how can I use it as for the playbin-property audio-filter? All attempts failed so far.
Can someone help? Best regards, Claus
| Re: How to implement an audio-filter for the GStreamer playbin - element? | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |