obs-headless icon indicating copy to clipboard operation
obs-headless copied to clipboard

Exported scene features

Open chrisbward opened this issue 1 year ago • 3 comments

Hi,

I wondered if it were at all possible to develop a scene on a local OBS and then export the json config to this instance?

From looking at the source it just seems to switch sources of streaming servers?

It feels that I might have to stream my OBS to this OBS to take advantage of all the features?

Chris

chrisbward avatar Jul 17 '23 14:07 chrisbward

This is an excellent repo - I've just seen obs firing up via x11 when running make shell-dev.

I'm now wondering if it seems more reasonable to control scene selection over the websocket API, but through gRPC on the container - there's some golang stuff for this; goobs and obs-switch

chrisbward avatar Jul 17 '23 15:07 chrisbward

Hello, and thank you!

This project is mostly a PoC of how to run a program based on libobs on a remote, headless machine. As you noted, the example implementation can only switch between two sources at the moment; using this project as a framework will help people getting started to implement the features they want around libobs.

I like your idea of importing scenes from OBS, though! I don't have time to work on this project at the moment, but I'll keep this issue open so I can have a go at it later.

Regarding the websocket API : that can solve many use cases, but AFAIK it's only useful with OBS (the whole program) as opposed to this project being built around libobs (the building blocks).

a-rose avatar Aug 03 '23 15:08 a-rose

Great! OBS Studio headless.

Seems I found a goalmine! I'm running obs studio using remote via web sockets from a go program. Hoping to add lua scripts to play audio files. Does obs headlesshave the lua scripting engine or able to add it. In addition, does the recording output through ffmpeg api?

SonnyWalkman avatar Nov 12 '23 11:11 SonnyWalkman