"mix-matrix" is not working at audioconvert

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"mix-matrix" is not working at audioconvert

周甫霖
Hi all,

I'm trying to play a stereo sound file as a mono sound.

In fact, I'd like to just play only one specific channel such as left or right channel.

I've tried following pipeline structure to achieve:

```
gst-launch-1.0 -v filesrc location=stereo.wav ! wavparse ! audioconvert mix-matrix="<<(float)1.0, (float)0.0>, <(float)1.0, (float)0.0>>" ! audioresample ! autoaudiosink
```

But it seems not work.

The playback-sound heard just like it used to be.

I am wondering if I make some wrong usage?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: "mix-matrix" is not working at audioconvert

Sebastian Dröge-3
On Tue, 2019-10-15 at 16:31 +0800, 周甫霖 wrote:

> Hi all,
>
> I'm trying to play a stereo sound file as a mono sound.
>
> In fact, I'd like to just play only one specific channel such as left
> or right channel.
>
> I've tried following pipeline structure to achieve:
>
> ```
> gst-launch-1.0 -v filesrc location=stereo.wav ! wavparse !
> audioconvert mix-matrix="<<(float)1.0, (float)0.0>, <(float)1.0,
> (float)0.0>>" ! audioresample ! autoaudiosink
> ```
>
> But it seems not work.
>
> The playback-sound heard just like it used to be.
>
> I am wondering if I make some wrong usage?
Can you create an issue in gitlab about this? At least the
documentation needs to be improved as that's also how I would
understand how it is supposed to work :)

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment