-
Notifications
You must be signed in to change notification settings - Fork 38
Add clarifications around flow json definitions #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,17 +98,20 @@ watch -n 1 -p ./mxl-info mxl:///dev/shm/mxl?id=5fbec3b1-1b0f-417d-9059-8b94a4719 | |
|
|
||
| A binary that uses the gstreamer 'videotestsrc' and 'audiotestsrc' elements to produce video grains and/or audio samples which will be pushed to a MXL Flow. The flow is configured from a NMOS Flow json file. Here's an example of such file : | ||
|
|
||
|   **Note** Don't forget to provide valid description, label and grouphint tag. | ||
|
|
||
|
|
||
| ```json | ||
| { | ||
| "description": "MXL Test Flow, 1080p29", | ||
| "description": "___CHANGE ME___ Long description of the video flow", | ||
| "id": "5fbec3b1-1b0f-417d-9059-8b94a47197ed", | ||
| "tags": { | ||
| "urn:x-nmos:tag:grouphint/v1.0": [ | ||
| "My Media Function Unique Name (Change Me):Video" | ||
| "___CHANGE ME FOR A NAME UNIQUE TO YOUR MEDIA FUNCTION INSTANCE___:Video" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we could print a warning from the SDK if we detect a string like
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It feels dirty but maybe it's worth it. @KimonHoffmann what do you think about hard coding a check for '___CHANGE ME'? |
||
| ] | ||
| }, | ||
| "format": "urn:x-nmos:format:video", | ||
| "label": "MXL Test Flow, 1080p29", | ||
| "label": "___CHANGE ME___ Short description of the video flow", | ||
| "parents": [], | ||
| "media_type": "video/v210", | ||
| "grain_rate": { | ||
|
|
@@ -142,18 +145,21 @@ A binary that uses the gstreamer 'videotestsrc' and 'audiotestsrc' elements to p | |
| } | ||
| ``` | ||
| Below is an example of an **augmented NMOS Flow JSON** for audio. | ||
|   **Note:** The *channel_count* property is a mandatory MXL requirement (not found in standard NMOS definition). To adjust the number of audio channels, simply update the *channel_count* value. | ||
|   **Note 1:** The *channel_count* property is a mandatory MXL requirement (not found in standard NMOS definition). To adjust the number of audio channels, simply update the *channel_count* value. | ||
|
|
||
|   **Note 2:** Don't forget to provide valid description, label and grouphint tag. | ||
|
|
||
|
|
||
| ```json | ||
| { | ||
| "description": "MXL Audio Flow", | ||
| "description": "___CHANGE ME___ Long description of the audio flow", | ||
| "format": "urn:x-nmos:format:audio", | ||
| "tags": { | ||
| "urn:x-nmos:tag:grouphint/v1.0": [ | ||
| "My Media Function Unique Name (Change Me):Audio" | ||
| "___CHANGE ME FOR A NAME UNIQUE TO YOUR MEDIA FUNCTION INSTANCE___:Audio #1" | ||
| ] | ||
| }, | ||
| "label": "MXL Audio Flow", | ||
| "label": "___CHANGE ME___ Short description of the audio flow", | ||
| "version": "1441812152:154331951", | ||
| "id": "b3bb5be7-9fe9-4324-a5bb-4c70e1084449", | ||
| "media_type": "audio/float32", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.