CLI for EVO Media Server
pip install ems-cliCreates secondary name(s) for group name.
ems-add-group-name-alias --connection-uri="http://127.0.0.1:7777" MyGroup TestGroupAliasCreate secondary name(s) for internal streams.
ems-add-stream-alias --connection-uri="http://127.0.0.1:7777" --expire-period=-300 bunny video1Create 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"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"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/"Creates an RTMP ingest point.
ems-create-ingest-point --connection-uri="http://127.0.0.1:7777" theIngestPoint useMeToViewStreamCreate 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"Invalidates all group name aliases.
ems-flush-group-name-aliases --connection-uri="http://127.0.0.1:7777"Invalidates all stream aliases.
ems-flush-stream-aliases --connection-uri="http://127.0.0.1:7777"Information of the stream by the configId.
ems-get-config-info --connection-uri="http://127.0.0.1:7777" 1Returns the group name given the alias name.
ems-get-group-name-by-alias --connection-uri="http://127.0.0.1:7777" TestGroupAliasDetailed set of information about a stream.
ems-get-stream-info-by-id --connection-uri="http://127.0.0.1:7777" 1Detailed set of information about a stream.
ems-get-stream-info-by-name --connection-uri="http://127.0.0.1:7777" testpullStreamNumber of active streams.
ems-get-streams-count --connection-uri="http://127.0.0.1:7777"Checks a specific stream if it is running or not.
ems-is-stream-running-by-id --connection-uri="http://127.0.0.1:7777" 1Checks a specific stream if it is running or not.
ems-is-stream-running-by-name --connection-uri="http://127.0.0.1:7777" testStreamList with all push/pull configurations.
ems-list-config --connection-uri="http://127.0.0.1:7777"A complete list of group name aliases.
ems-list-group-name-aliases --connection-uri="http://127.0.0.1:7777"All currently active HTTP streaming sessions.
ems-list-http-streaming-sessions --connection-uri="http://127.0.0.1:7777"The currently available Ingest Points.
ems-list-ingest-points --connection-uri="http://127.0.0.1:7777"A complete list of aliases.
ems-list-stream-aliases --connection-uri="http://127.0.0.1:7777"ems-list-streams --connection-uri="http://127.0.0.1:7777"A list of IDs for every active stream.
ems-list-streams-ids --connection-uri="http://127.0.0.1:7777"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"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"Records any inbound stream.
ems-record --connection-uri="http://127.0.0.1:7777" --type=mp4 --overwrite=1 testpullstream "../media/testRecord"Stop the stream and remove the corresponding configuration entry.
ems-remove-config-by-id --connection-uri="http://127.0.0.1:7777" 55Stop the stream and remove the corresponding configuration entry.
ems-remove-config-by-group-name --connection-uri="http://127.0.0.1:7777" hlsRemove an alias of a group.
ems-remove-group-name-alias --connection-uri="http://127.0.0.1:7777" TestGroupAliasRemove an RTMP ingest point.
ems-remove-ingest-point --connection-uri="http://127.0.0.1:7777" theIngestPointRemove an alias of a stream.
ems-remove-stream-alias --connection-uri="http://127.0.0.1:7777" video1Terminate a stream.
ems-shutdown-stream-by-id --connection-uri="http://127.0.0.1:7777" 55Terminate a stream.
ems-shutdown-stream-by-name --connection-uri="http://127.0.0.1:7777" testpullstreamChange 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