moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.36k stars 550 forks source link

[Feature Request] In video codec options, add a "not encoded" option like rawvideo in FFmpeg #1271

Open Gfrni opened 2 months ago

Gfrni commented 2 months ago

Problem: When enough network bandwidth is available, there's no need for encoding/decoding steps. The latency caused by these steps is not caused only by time-complexity, but also because encoding each n frames can be started after capturing all of them, logically. So the minimum possible latency cannot be zero even if the processor does it in 0 second. Being able to transmit uncompressed video is the only feature which makes ffmpeg+ffplay for remote desktop, better than sunshine+moonlight.

Solution: Add uncompressed (i.e. ffmpeg rawvideo format) to encoding options for moonlight/sunshine

Gfrni commented 2 months ago

I'm unsure if this request should be here or in sunshine repo