mixdown 4 channels to 2 inside stream
jeroen
mrdevis at 121234.net
Wed Dec 6 13:05:54 UTC 2017
Hi,
Still having trouble to mixdown these 4 channels inside a stream:
audio_pipeline=
"audio/x-raw, channels=4 ! audioconvert ! audio/x-raw,
channels=2 ! voaacenc bitrate=96000 ! queue ! mux.",
it gives me this warning and no output on the stream:
audioconvert2: Upstream caps contain no channel mask
Unsure of how to procede. Do I have to put a channel/mask? For bitmask,
could not find any appropriate values.
Can somebody please give me a hand to get this thing going?
Cheers, Jeroen
On 01/12/17 09:10, Jeroen wrote:
> 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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list