[pulseaudio-discuss] Pulse and ffmpeg

Arun Raghavan arun at arunraghavan.net
Sun Sep 3 05:12:44 UTC 2017


On Wed, 23 Aug 2017, at 05:23 AM, Sebastian Pereyro wrote:
> Hi All,
> 
> I am trying to capture audio using ffmpeg and pulse. I was able to
> achieve
> what I needed by using the following command on ffmpeg
> 
> ffmpeg -f pulse -i default f flv rtmp://host:1935/live/streamname
> 
> Now I want to achieve something a little more specific. I have a scenario
> where I could have mulitple browser tabs, each tab with a different
> audio.
> I would like to capture a specific audio not all of them at the same
> time.
> Is there any command or format that I could use to specific an audio from
> a
> specific browser tab?
> 
> I am also asking ffmpeg mailing group, but I thought might as well as
> here
> maybe someone already has done and has an example handy.

There is infrastructure for this, in that you can set up a capture
stream for a specific sink-input (i.e. playback stream). Look at
--monitor-stream on parec.

-- Arun


More information about the pulseaudio-discuss mailing list