Selec line to reproduce audio

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

Selec line to reproduce audio

diegoavila
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




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

Re: Selec line to reproduce audio

Nicolas Dufresne-5


Le mer. 2 oct. 2019 22 h 10, diegoavila <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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