Selec line to reproduce audio

Nicolas Dufresne nicolas at ndufresne.ca
Thu Oct 3 12:43:02 UTC 2019


Le mer. 2 oct. 2019 22 h 10, diegoavila <diego_javila at hotmail.com> a écrit :

> Hello i have this pipeline : gst-launch-1.0 -v filesrc
> location=/home/arion/Downloads/test2.mp3 name=src ! decodebin !
> deinterleave
> keep-positions=true name=d interleave name=i ! autoaudiosink d.src_0 !
> queue
> ! volume volume=1 ! i.sink_1 d.src_1 ! queue ! volume volume=1 ! i.sink_2
> its totally working but i dont find how can i choose to send each channel
> to
> a different motherboard output, is it possible? i want to create a pipeline
> that i could change the volume without afecting the other lines
>

You can use multiple audiointerleave and multiple audio element. You'll
have to drop autoaudiosink and use the appropriate element for your
platform. Then configure the right device/output on it. One option is to
use the device provider API to enumerate those. Again, you'll have to set
the audio position mask.

Note that using jackd for that part, and limiting GStreamer use to parsing
and decoding is what I believe makes most sense.



>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191003/a3b4ade6/attachment.html>


More information about the gstreamer-devel mailing list