Utility to update ATEM Mini Pro Streaming.xml file with new streaming providers.
Project description
ATEMStreamingXML
Utility to update ATEM Software Control Streaming.xml file to support new streaming providers (for use with ATEM Mini Pro and ATEM Mini Pro ISO).
Installation
Install with pip:
pip install ATEMStreamingXML
Command Line Usage
Usage:
ATEMStreamingXML [-h] -S SERVICE [-N SERVER_NAME] [-U SERVER_URL] [--default-profiles] [-P PROFILE_NAME] [-C {1080p60,1080p30}] [--br BITRATE] [--abr AUDIO_BITRATE] [--ki KEYFRAME_INTERVAL] [--remove] [--remove-server] [--remove-profile] [--remove-config] [-n]
Arguments
- -h, --help
show this help message and exit
- -S SERVICE, --service SERVICE
Streaming service name to update/remove
- -N SERVER_NAME, --server-name SERVER_NAME
Streaming server name to update/remove
- -U SERVER_URL, --server-url SERVER_URL
Streaming server RTMP URL
- --default-profiles
Create or update default profiles for a streaming service
- -P PROFILE_NAME, --profile-name PROFILE_NAME
Streaming profile name to update/remove
- -C RESOLUTION, --profile-config RESOLUTION
Streaming profile config resolution and frame rate to update/remove (1080p60 or 1080p30)
- --br BITRATE, --bitrate BITRATE
Streaming profile config bitrate
- --abr AUDIO_BITRATE, --audio-bitrate AUDIO_BITRATE
Streaming profile config audio bitrate
- --ki KEYFRAME_INTERVAL, --keyframe-interval KEYFRAME_INTERVAL
Streaming profile config keyframe interval
- --remove, --remove-service
Remove streaming service
- --remove-server
Remove streaming server from a service
- --remove-profile
Remove streaming profile from a service
- --remove-config
Remove streaming profile config from a profile
- -n, --dry-run
Show changes that would be made
Environment Variables
- ATEM_STREAMING_XML
Specify an alternate path to the Streaming.xml file (used for unit tests)
Examples
The scripts directory contains examples of command usage for alternate streaming services.
Caveats
Does not preserve XML comments (limitation of xml.etree.ElementTree).
Does not allow reordering of streaming services, servers or profiles.
Does not save backup copy of original Streaming.xml.
Requires running with sudo and will prompt accordingly if access is denied to modify the Streaming.xml.
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
Built Distribution
File details
Details for the file ATEMStreamingXML-0.1.4.tar.gz
.
File metadata
- Download URL: ATEMStreamingXML-0.1.4.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad1f908d5c62f48f1dd895184cdf726ba615ae3a665c2f86f63744b1625a5ba2 |
|
MD5 | 0a1506480a3d0706b57496bf9c31e6cc |
|
BLAKE2b-256 | ab47d21f1f78af31c77e8a5016ebbb99b88e7c9ef0ba5c5890ae10f36e5621f9 |
File details
Details for the file ATEMStreamingXML-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: ATEMStreamingXML-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e577f06f2b027546779c443d936bbb8fe645bf6c571f391ff678a38a6760e1d |
|
MD5 | f49f6e80d52875c50f99c819151a5975 |
|
BLAKE2b-256 | ca1d40540020aba986036486f6a0f0c152b51587206461475b1592ca9a04224c |