Linux streaming

From QWiki
Revision as of 21:07, 10 December 2025 by Raket (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is how you do it, should work on both Geforce GTX >= 6xx series (needs special build) or amd, i use Xcomposite because anything else invades PRIVACY. It's possible to record everything, see gpu-screen-recorder.

You need: gpu-screen-recoder wmctrl xdotool

Use vid_fullscreen 1 and vid_minimize_on_focus_loss 1

This will unminimize the ezquake window before starting capture, it will still capture a blank window when it's minimized.

wmctrl -ia $(xdotool search --pid $(pgrep ezquake)) && gpu-screen-recorder -c flv -w $(xdotool search --pid $(pgrep ezquake)) -f 60 -a "app:ezquake-linux-x86_64" -bm cbr -q 6000 -o tmp_recording.mkv

Obviously you can do the same thing to stream to twitch,

"rtmp://live.twitch.tv/app/$KEY"