mixdown 4 channels to 2 inside stream

jeroen mrdevis at 121234.net
Fri Dec 1 08:58:10 UTC 2017


Hi,

I am new to Gstreamer, and using it inside Liquidsoap like this:

<code>

output.gstreamer.audio_video(
  video_pipeline=
    "videoconvert ! x264enc bitrate=3500 ! video/x-h264,profile=baseline
! queue ! mux.",
  audio_pipeline=
    "audioconvert ! voaacenc bitrate=96000 ! queue ! mux.",
  pipeline=
    "flvmux name=mux ! rtmpsink
location=\"rtmp://sc.cs:1935/live/livestream live=1\" ",
  source)

</code>

this works well, but now I need to mixdown 4 audio channels to stereo
(or 2x mono, that is in my case irrelevant) in my input stream.

not sure on how to achieve this within a gstreamer audio pipeline.

Someone care to give some pointers??

Thanks!!


Jeroen





More information about the gstreamer-devel mailing list