russelltg / wl-screenrec

High performance wlroots screen recording, featuring hardware encoding
Apache License 2.0
266 stars 10 forks source link

Support for streaming to Twitch or Youtube #67

Open hholst80 opened 3 months ago

hholst80 commented 3 months ago

Would it be possible to stream directly to a streaming service like Twitch or Youtube?

Would it be possible with just wl-screenrec or are there any additional tooling required on the client side?

russelltg commented 3 months ago

It may already work with something like

wl-screenrec --ffmpeg-muxer flv rtmp://iad05.contribute.live-video.net/app/{stream_key}

source https://consultwithgriff.com/streaming-mp4-to-twitch-youtube-with-ffmpeg/

russelltg commented 3 months ago

Also be careful about bitrate settings

XandrCopyrighted commented 2 months ago

not sure but this doesn't work for me does it work for y'all?

hholst80 commented 2 months ago

not sure but this doesn't work for me does it work for y'all?

I could not get it to work. However, I still have my daytime job ;-) so I have not invested the right amount of time into this to say for sure if it works or not.