0

I’m trying to do something complicated and I need some help.

I’m able to record a session (video and audio) with python using xvfb and ffmpeg.

I just want to visit a page using selenium and record the video and audio. It’s working but when I try to run multiple instances, the audio is mixing between records.

How can achieve that? I’m using pulseaudio. I know that with alsa you can set like a interface per instance, but I don’t know how to do it.

Thanks for you support and comments.

  • Welcome to U&L! What OS are you using, in case the packaged versions make a difference? – Jeff Schaller Oct 19 '20 at 12:34
  • 1
    Have you tried [creating additional sinks](https://unix.stackexchange.com/questions/174379/how-can-i-create-a-virtual-output-in-pulseaudio) and recording their individual monitors? – Hermann Oct 19 '20 at 13:03
  • That’s what I want. How can I create multiple sinks and assign each sink to ffmpeg? – Eric Lagarda Oct 26 '20 at 17:17

0 Answers0