How to Mix Two Different Audio Sources

This forum is about all development around libVLC.
Moriquendi
Blank Cone
Blank Cone
Posts: 74
Joined: 31 May 2011 16:22

How to Mix Two Different Audio Sources

Postby Moriquendi » 30 Apr 2019 14:36

Hello forum,

Is it possible to mix two audio inputs into one? Let's say I have a talkie and when PTT(push-to-talk) is activated, it streams audio to network(lets say udp://@:24100 where the audio is streamed to). On a PC, I want to mix this network stream and the output of the PC microphone and save it to a file. But I dont to want append these audios one and after. I want to merge/overlap them synchronously.

I think #gather does what I want to achieve but its says this works if all streams match. So should I try to first transcode microphone output into the audio format of UDP stream and then try to #gather both audio? Any help would be appreciated.

Cheers.

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests