ammen99 / wf-recorder

MIT License
884 stars 62 forks source link

Recording both desktop and webcam streams? #213

Closed apiraino closed 1 year ago

apiraino commented 1 year ago

I'd like to investigate if wf-recorder can be scripted to record multiple video input streams: namely not only the desktop (as per default) but also the video stream from the webcam (use case: record offline tutorials). I can already record from the desktop, plus microphone + desktop audio, so it's 1 video stream and 2 audio streams.

I looked at the wiki but didn't get a sense if this is doable. I'm sure there is a ffmpeg incantation for that, but how to translate that into a working wf-recorder one-liner? Working also on Wayland.

Happy to receive suggestions!

soreau commented 1 year ago

You can have the webcam in a window on the desktop if that works for you. See the wiki for a gstreamer command for it.

apiraino commented 1 year ago

ah! Now I connect the dots, I didnt figure that out at first :)

Works great, thanks!