notro / gud

GUD USB Display
155 stars 8 forks source link

Support for H264/AV1/Anything compression #19

Open MatthewCroughan opened 1 year ago

MatthewCroughan commented 1 year ago

I could see it being possible to achieve 60fps 1080p with a form of video encoding that allows us to make use of a 480mbit USB 2.0 bus, though I know there could be licensing issues surrounding H264, and I wonder if AV1 encoding/decoding would be any good in terms of latency and speed today. It's worth experimenting with. My use case and goal is to encode AV1 on a decently specced smartphone (Oneplus 6T) running a mainline kernel, that only has USB 2.0, and achieve 60fps 1080p on the output for window management tasks, and decode this AV1 stream on a Pi acting as a GUD

notro commented 1 year ago

Maybe it's possible to use the media subsystem to get access to h264 hw encoder/decoders on platforms that support it, but this is beyond my skill set.

Related: #2