Skip to main content

Import and export OBS Studio scenes including all assets

Project description

OBS Scene Transporter

Build and Publish to PyPI PyPI - License

Package OBS Studio scenes into a convenient ZIP file, including all assets, and import them again. Works across Linux, macOS and Windows.

Overview

OBS Studio can export the JSON file for a scene collection, but it does not copy the images, video, etc. that might be used in that collection. Also, the JSON file will contain absolute paths that are unlikely to work on another computer. obs-scene-transporter will collect all referenced asset files and fix the paths to them in the JSON file.

In addition, the IDs of certain sources are updated on the fly to adapt them to the target operating system on import. OBS Studio uses platform-specific IDs for camera and screen sharing sources. For example, when you import a scene collection that was created on Windows into a Linux system, the sources cannot be used and need to be created from scratch. By patching the IDs on the fly, OBS Scene Transporter allows these sources to be used on another computer with minimal configuration. In particular, the positioning of the sources is maintained, and it is only necessary to select the correct camera or screen on the new computer.

Installing and Running

Use pip to install this package:

$ python -m pip install obs-scene-transporter

The package installs a command-line tool obs-scene-transporter which you can run directly:

$ obs-scene-transporter -h

Alternatively, you can run the module:

$ python -m obsscenetransporter -h

Exporting a scene collection

Use the list command to obtain a list of scenes in OBS Studio:

$ obs-scene-transporter list
summer-conference
castle-wolfenstein-speedrun

Then use the export command to create a ZIP archive of the scene collection and all assets:

$ obs-scene-transporter summer-conference summer-conference.zip

Importing a scene

Run the ìmport command to import a ZIP archive into OBS:

$ obs-scene-transporter summer-conference.zip

If you'd like to import the collection under a different name, use the -n option:

$ obs-scene-transporter -n fall-conference summer-conference.zip

Documentation

The main class of the package has limited documentation in the source code, see obsscenetransporter/__init__.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obs-scene-transporter-0.9.13.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obs_scene_transporter-0.9.13-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file obs-scene-transporter-0.9.13.tar.gz.

File metadata

  • Download URL: obs-scene-transporter-0.9.13.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for obs-scene-transporter-0.9.13.tar.gz
Algorithm Hash digest
SHA256 81957306b3b8614a45cc94c91c005de2883b8e1fec702faf6e006c32f5da69ae
MD5 ea5a6f3849bdf6380580acb066c4256d
BLAKE2b-256 ff18815cec4a5113271b59de24e8fa63b3cd853ff77c1ed5d09d6b966d435f1a

See more details on using hashes here.

File details

Details for the file obs_scene_transporter-0.9.13-py3-none-any.whl.

File metadata

  • Download URL: obs_scene_transporter-0.9.13-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for obs_scene_transporter-0.9.13-py3-none-any.whl
Algorithm Hash digest
SHA256 760f9ff34bbac7af2b826bfa867e87de389a22656e4f5e7c8d62610f527c7008
MD5 8526ce78f0e18bff7fd737d071b5c5ff
BLAKE2b-256 31b8110d332ae78b269d6f56826fdeedd17ac0397e1f85fbae078859bc5ef015

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page