Inochi2D / inochi-session

Application that allows streaming with Inochi2D puppets
https://inochi2d.com
BSD 2-Clause "Simplified" License
293 stars 21 forks source link

[Feature Request] Add a way for Session to send output larger than its current window size. #21

Open helloar14 opened 1 year ago

helloar14 commented 1 year ago

Validations

Description

Currently, when capturing Session in OBS via Spout2 the results are tied to Session's window size. For livestreaming i think this is more than enough, but for recording full body model in high resolution (in order to save the recording as a video and use the result later for video editing projects, for example) this is not enough unless the user has a high resolution display or using some kind of super resolution provided by GPU drivers.

Suggested solution

Add a 'Canvas' or 'Stage' which dimensions are independent from Session's window size. Spout2 output then should render the entire canvas so users can make a high resolution recording without a high resolution desktop.

Alternative solution

No response

Additional Context

No response

orowith2os commented 1 year ago

I'd also like to note that, on Linux, you can export a buffer via PipeWire. Gamescope does this, for example. The tooling probably isn't there yet to view it, but it's possible.

LunaTheFoxgirl commented 1 year ago

I'd also like to note that, on Linux, you can export a buffer via PipeWire. Gamescope does this, for example. The tooling probably isn't there yet to view it, but it's possible.

This is the plan, not sure it'll be done for 0.9, but Inochi Session will get its own custom rendering backend with the 0.9 rewrite that uses GBM to create its framebuffer to prepare for such Pipewire DMABUF sharing