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.
Metadata
Release files for ATEMStreamingXML 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ATEMStreamingXML-0.1.4.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ATEMStreamingXML-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / ATEMStreamingXML-0.1.4.tar.gz
| Download URL | ATEMStreamingXML-0.1.4.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad1f908d5c62f48f1dd895184cdf726ba615ae3a665c2f86f63744b1625a5ba2
|
|
BLAKE2b-256 checksum How to use checksums |
ab47d21f1f78af31c77e8a5016ebbb99b88e7c9ef0ba5c5890ae10f36e5621f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / ATEMStreamingXML-0.1.4-py2.py3-none-any.whl
| Download URL | ATEMStreamingXML-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5e577f06f2b027546779c443d936bbb8fe645bf6c571f391ff678a38a6760e1d
|
|
BLAKE2b-256 checksum How to use checksums |
ca1d40540020aba986036486f6a0f0c152b51587206461475b1592ca9a04224c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|