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 |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
2017-12-06 11:05 GMT-02:00 jeroen <[hidden email]>: Hi, On the above line, shouldn't you change "audioconvert" for "audiomixer"? Regards, Rodrigo Severo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Did try that, and I get no more warnings. Alas, I also don't get a stream :( Log showing no errors, so I guess there is still something flaky. but thanks for your reaction!
On 06.12.2017 14:35, Rodrigo Severo
wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
2017-12-06 12:54 GMT-02:00 jeroen <[hidden email]>:
Rodrigo _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |