CLI for EVO Media Server
Project description
CLI for EVO Media Server
Installation
pip install ems-cli
Commands
ems-add-group-name-alias
Creates secondary name(s) for group name.
ems-add-group-name-alias --connection-uri="http://127.0.0.1:7777" MyGroup TestGroupAlias
ems-add-stream-alias
Create secondary name(s) for internal streams.
ems-add-stream-alias --connection-uri="http://127.0.0.1:7777" --expire-period=-300 bunny video1
ems-create-dash-stream
Create Dynamic Adaptive Streaming over HTTP (DASH) out of an existing H.264/AAC stream.
ems-create-dash-stream --connection-uri="http://127.0.0.1:7777" --group-name=dash testpullStream "../evo-webroot"
ems-create-hds-stream
Create an HDS (HTTP Dynamic Streaming) stream out of an existing H.264/AAC stream.
ems-create-hds-stream --connection-uri="http://127.0.0.1:7777" --group-name=hds --playlist-type=rolling testpullStream "../evo-webroot"
ems-create-hls-stream
Create an HTTP Live Stream (HLS) out of an existing H.264/AAC stream.
ems-create-hls-stream --connection-uri="http://127.0.0.1:7777" --bandwidths=128 --group-name=hls --playlist-type=rolling --playlist-length=10 --chunk-length=5 hlstest "/MyWebRoot/"
ems-create-ingest-point
Creates an RTMP ingest point.
ems-create-ingest-point --connection-uri="http://127.0.0.1:7777" theIngestPoint useMeToViewStream
ems-create-mss-stream
Create a Microsoft Smooth Stream (MSS) out of an existing H.264/AAC stream.
ems-create-mss-stream --connection-uri="http://127.0.0.1:7777" --group-name=mss testpullStream "../evo-webroot"
ems-flush-group-name-aliases
Invalidates all group name aliases.
ems-flush-group-name-aliases --connection-uri="http://127.0.0.1:7777"
ems-flush-stream-aliases
Invalidates all stream aliases.
ems-flush-stream-aliases --connection-uri="http://127.0.0.1:7777"
ems-get-config-info
Information of the stream by the configId.
ems-get-config-info --connection-uri="http://127.0.0.1:7777" 1
ems-get-group-name-by-alias
Returns the group name given the alias name.
ems-get-group-name-by-alias --connection-uri="http://127.0.0.1:7777" TestGroupAlias
ems-get-stream-info-by-id
Detailed set of information about a stream.
ems-get-stream-info-by-id --connection-uri="http://127.0.0.1:7777" 1
ems-get-stream-info-by-name
Detailed set of information about a stream.
ems-get-stream-info-by-name --connection-uri="http://127.0.0.1:7777" testpullStream
ems-get-streams-count
Number of active streams.
ems-get-streams-count --connection-uri="http://127.0.0.1:7777"
ems-is-stream-running-by-id
Checks a specific stream if it is running or not.
ems-is-stream-running-by-id --connection-uri="http://127.0.0.1:7777" 1
ems-is-stream-running-by-name
Checks a specific stream if it is running or not.
ems-is-stream-running-by-name --connection-uri="http://127.0.0.1:7777" testStream
ems-list-config
List with all push/pull configurations.
ems-list-config --connection-uri="http://127.0.0.1:7777"
ems-list-group-name-aliases
A complete list of group name aliases.
ems-list-group-name-aliases --connection-uri="http://127.0.0.1:7777"
ems-list-http-streaming-sessions
All currently active HTTP streaming sessions.
ems-list-http-streaming-sessions --connection-uri="http://127.0.0.1:7777"
ems-list-ingest-points
The currently available Ingest Points.
ems-list-ingest-points --connection-uri="http://127.0.0.1:7777"
ems-list-stream-aliases
A complete list of aliases.
ems-list-stream-aliases --connection-uri="http://127.0.0.1:7777"
ems-list-streams
ems-list-streams --connection-uri="http://127.0.0.1:7777"
ems-list-streams-ids
A list of IDs for every active stream.
ems-list-streams-ids --connection-uri="http://127.0.0.1:7777"
ems-pull-stream
Pull in a stream from an external source.
ems-pull-stream --connection-uri="http://127.0.0.1:7777" --local-stream-name=testpullStream "rtmp://s2pchzxmtymn2k.cloudfront.net/cfx/st/mp4:sintel.mp4"
ems-push-stream
Push a local stream to an external destination.
ems-push-stream --connection-uri="http://127.0.0.1:7777" --local-stream-name=testpullstream --target-stream-name=testpushStream "rtmp://DestinationAddress/live"
ems-record
Records any inbound stream.
ems-record --connection-uri="http://127.0.0.1:7777" --type=mp4 --overwrite=1 testpullstream "../media/testRecord"
ems-remove-config-by-id
Stop the stream and remove the corresponding configuration entry.
ems-remove-config-by-id --connection-uri="http://127.0.0.1:7777" 55
ems-remove-config-by-group-name
Stop the stream and remove the corresponding configuration entry.
ems-remove-config-by-group-name --connection-uri="http://127.0.0.1:7777" hls
ems-remove-group-name-alias
Remove an alias of a group.
ems-remove-group-name-alias --connection-uri="http://127.0.0.1:7777" TestGroupAlias
ems-remove-ingest-point
Remove an RTMP ingest point.
ems-remove-ingest-point --connection-uri="http://127.0.0.1:7777" theIngestPoint
ems-remove-stream-alias
Remove an alias of a stream.
ems-remove-stream-alias --connection-uri="http://127.0.0.1:7777" video1
ems-shutdown-stream-by-id
Terminate a stream.
ems-shutdown-stream-by-id --connection-uri="http://127.0.0.1:7777" 55
ems-shutdown-stream-by-name
Terminate a stream.
ems-shutdown-stream-by-name --connection-uri="http://127.0.0.1:7777" testpullstream
ems-transcode
Change the compression characteristics of an audio/video stream.
ems-transcode --connection-uri="http://127.0.0.1:7777" --group_name=group --video-bitrates=200k "rtmp://s2pchzxmtymn2k.cloudfront.net/cfx/st/mp4:sintel.mp4" stream1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file ems_cli-0.1.0b1-py2.py3-none-any.whl
.
File metadata
- Download URL: ems_cli-0.1.0b1-py2.py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11099bcf8d8eae95472925b63ecccdf8d2aacf60fb70131e1d4722feb742cc3e |
|
MD5 | 00d7fe37397e8bdbfb94fa798b700f1e |
|
BLAKE2b-256 | 317a02d9234b0fe4971a7580a066d2809d8420ea4bd470c81a18c2da0e70f483 |