<div dir="ltr">Needed change 1#<br><div><br></div><div>You should be able to capture and record default Monitor device. </div><div><br></div><div>Alternatively you can use Web Audio API to create an OsciallatorNode with frequency set to 0.</div><div><br></div><div>Needed change 2#<br></div><div><br></div><div>Chromium provides such a means using flags, e.g., </div><div><br></div><div>chromium-browser --autoplay-policy=no-user-gesture-required --use-fake-device-for-media-stream --use-fake-ui-for-media-stream --use-file-for-fake-audio-capture=$HOME/localscripts/output.wav --user-data-dir=$HOME/test<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 10, 2021 at 6:26 AM <<a href="mailto:andreas.unterhuber@me.com" target="_blank">andreas.unterhuber@me.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear pulseaudio community,<br>
<br>
I've a setup to run a screen grabber (ffmpeg records content of a website, loaded in chromium by selenium) within a docker container. Audio is recorded from ffmpeg by pulseaudio on a Ubuntu 18 system. <br>
<br>
#################<br>
My setup: <br>
#################<br>
<br>
... start Xvfb, chrome+selenium ... <br>
pulseaudio -D --exit-idle-time=-1<br>
pacmd load-module module-virtual-sink sink_name=v1<br>
pacmd set-default-sink v1<br>
pacmd set-default-source v1.monitor<br>
... and then ffmpeg -ar 44100 -f pulse -i default [...] out.mp4 ... <br>
<br>
Works perfectly. But I want a little more. I'm pretty sure that someone can help me!<br>
<br>
#################<br>
Needed change 1#<br>
#################<br>
<br>
I need an audio source that has always audio (audio "silence"). The browser does not always have audio-websites to playback. So I had in mind to create a source with continuous silence, mixed with browser audio (whenever the browser has audio signals to play). <br>
How does the command/setup looks like? I played around but was unable to realize... <br>
<br>
#################<br>
Needed change 2#<br>
#################<br>
<br>
Instead of just continuous silence I want to playback an audio file that runs in a loop forever, mixed with the browser audio. <br>
How does the command/setup looks like?<br>
<br>
<br>
I'm very, very thankful for any help!<br>
Best, Andreas<br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>