wf-recorder
wf-recorder copied to clipboard
Question: How to use wf-recorder (with ffmpeg) to create a srt:// stream?
Hi,
I think it would be super useful if you could add some notes on how use wf-recorder to create a stream of your desktop or slurped parts of it that you can share with friends or co-workers. Most tools (zoom, skype, discord) do not work properly for me with sway.
if you want to create an SRT stream, this is the command line I do to generate one
wf-recorder -g "$(slurp)" --codec=libx264 -p preset-veryfast -r 60 -m matroska -f "srt://127.0.0.1:9999?mode=caller" and replace the IP with the server of the IP you need.
for testing purpose you can run mpv "srt://127.0.0.1:9999?mode=listener" to start MPV listing to an srt stream, then run wf-recorder. its important to note that the listener needs to start first