mixdown 4 channels to 2 inside stream

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

mixdown 4 channels to 2 inside stream

jeroen
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



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

Re: mixdown 4 channels to 2 inside stream

Baby Octopus
audioconvert element should do the job. IIRC, it should convert between any
channels input to any channel output



--
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: mixdown 4 channels to 2 inside stream

Jeroen-2
So it should look something like this??

  audio_pipeline=
    "audioconvert ! channels=2 ! voaacenc bitrate=96000 ! queue ! mux.",



On 01/12/17 10:33, Baby Octopus wrote:

> audioconvert element should do the job. IIRC, it should convert between any
> channels input to any channel output
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: mixdown 4 channels to 2 inside stream

jeroen
In reply to this post by Baby Octopus
So it should look something like this??

  audio_pipeline=
    "audioconvert ! channels=2 ! voaacenc bitrate=96000 ! queue ! mux.",



On 01/12/17 10:33, Baby Octopus wrote:

> audioconvert element should do the job. IIRC, it should convert between any
> channels input to any channel output
>
>
>
> --
> 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