obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.8k stars 701 forks source link

Feature Request: Get Program and Preview screen shot #1130

Open walter8729 opened 1 year ago

walter8729 commented 1 year ago

Feature Request Type

RPC Request

Feature Request Type (Other)

Other

Requested Feature

I was reading the obs-websocket documentation and it is only possible to get screenshots of the "inputs", that is, of a scene or an item in a scene, and not of the actual output of the Program. Currently being in studio mode if I want to get the screenshot of the output of the program, I do it by requesting a screenshot of the current scene in the program. But the problem is that if I turn off/on or modify any item of the same scene that is currently in the program, it returns the screenshot with those modifications, while in fact the true output of the obs studio program does not reflect those modifications , since it is "immutable" until the transition button is pressed, this happens because I am getting the preview of the scene going into the program and not the actual output of the program. This is a problem because in studio mode I will never be able to get the actual screen shot of the Program output. In normal mode (not studio mode), this is not a problem since there is no "preview", any changes made to the scene or items in the scene are reflected directly in the program. It would be nice and necessary to implement functions like getProgramScreenShot(), or getPreviewScreenShot(), that return actual screen shots of these outputs, if this is not a limitation of obs.

OBS RE

Requested Feature Usage Scenario

To create a web or mobile remote control that has no differences between the actual output of the Program and the one I get with the obswebsocket screen shot.