Skip to main content

nmos-cmd is a command line tool to send NMOS requests

Project description

nmos-patch

nmos-cmd is a tool to make it easier to send NMOS requests.

Installation

$ pip install nmos-cmd

Usage

To start from terminal

$ nmos-cmd --help
Usage: nmos-cmd [OPTIONS] COMMAND [ARGS]...

  A tool to connect the NMOS sender streams to receiver streams.

Options:
  --help  Show this message and exit.

Commands:
  config    Set default option for each command/subcommand.
  list      List streams of a device.
  receiver  Send NMOS PATCH/Bulk command to config receiver.

List all the senders/receivers from a device (e.g., to check the label of each streams)

$ nmos-cmd list --device xx.xx.xx.xx

Dump the current receiver configuration to a file (default only the streams with "video" in its label)

$ nmos-cmd receiver dump --device xx.xx.xx.xx --output config.json

To generate a configuration file to connect a sender to a receiver. For the --stream argument

  • --stream "A:B": connect the sender stream with "A" in its label to the receiver stream with "B" in its label.
  • --stream "A 1~8:B 1~8": connect the sender stream with "A 1" in its label to the receiver stream with "B 1" in its label; connect the sender stream with "A 2" in its label to the receiver stream with "B 2" in its label ...
$ nmos-cmd receiver config --sender "xx.xx.xx.xx@sender label" --receiver "xx.xx.xx.xx@receiver label" --stream "video:video" --stream "audio 1~8:udio 1~8" --output config.json

Apply the configuration to the receiver

$ nmos-cmd receiver apply --config config.json

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

nmos_cmd-0.0.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

nmos_cmd-0.0.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file nmos_cmd-0.0.2.tar.gz.

File metadata

  • Download URL: nmos_cmd-0.0.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nmos_cmd-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f6f6e3189efe75e56291df7d4fc52a357d3d45398728c0760677aba06c914d8f
MD5 674c75a6b9fc42730f3afd46068395ef
BLAKE2b-256 335b2132543f9537da14e344f25332717781f24ec5b2ed319e53de8ee6e67a10

See more details on using hashes here.

File details

Details for the file nmos_cmd-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nmos_cmd-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nmos_cmd-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7303fad7554ee2abd1e1065282e29816bfc7d2179c3837522374ef5882f54044
MD5 1edeafdd8d360a263bd7b3f417413508
BLAKE2b-256 775c77bd67dd43d2c42d778d043b37944b548b25a00e352850527fbd2d6df6dd

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