st-2110-20 pipeline API MTL node in

This commit is contained in:
itten
2026-07-14 18:59:09 +03:00
parent b72b60b9c4
commit 1caeeee17e
13 changed files with 403 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"nodes": [
{
"id": "2110in",
"type": "2110",
"params": {
"interface": "eno1np0",
"local_ip": "192.168.0.3",
"source_ip": "192.168.0.2",
"mcast_ip": "239.255.197.181",
"udp_port": 16388,
"payload_type": 96,
"width": 1920,
"height": 1080,
"fps_num": 25,
"fps_den": 1
}
},
{ "id": "fakesink", "type": "fakesink", "params": {} }
],
"edges": [
{
"from": "2110in", "from_port": "video_flow_id",
"to": "fakesink", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"nodes": [
{ "id": "decklinkin", "type": "decklinkin", "params": {} },
{ "id": "ndiout", "type": "ndiout", "params": {} }
],
"edges": [
{
"from": "decklinkin", "from_port": "video_flow_id",
"to": "ndiout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
},
{
"from": "decklinkin", "from_port": "audio_flow_id",
"to": "ndiout", "to_port": "audio_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 2, "bit_depth": 32 }
}
]
}
+24
View File
@@ -0,0 +1,24 @@
{
"nodes": [
{ "id": "testpattern", "type": "testpattern", "params": { "pattern": "bars" } },
{ "id": "gaindb", "type": "gaindb", "params": {} },
{ "id": "ndiout", "type": "ndiout", "params": {} }
],
"edges": [
{
"from": "testpattern", "from_port": "video_flow_id",
"to": "ndiout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
},
{
"from": "testpattern", "from_port": "audio_flow_id",
"to": "gaindb", "to_port": "audio_in_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 2, "bit_depth": 32 }
},
{
"from": "gaindb", "from_port": "audio_out_flow_id",
"to": "ndiout", "to_port": "audio_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 2, "bit_depth": 32 }
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"nodes": [
{ "id": "testpattern", "type": "testpattern", "params": { "pattern": "bars" } },
{ "id": "ndiout", "type": "ndiout", "params": {} }
],
"edges": [
{
"from": "testpattern", "from_port": "video_flow_id",
"to": "ndiout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
},
{
"from": "testpattern", "from_port": "audio_flow_id",
"to": "ndiout", "to_port": "audio_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 2, "bit_depth": 32 }
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"nodes": [
{ "id": "ndiin", "type": "ndiin", "params": {} },
{ "id": "decklinkout", "type": "decklinkout", "params": { "device_index": 0 } }
],
"edges": [
{
"from": "ndiin", "from_port": "video_flow_id",
"to": "decklinkout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
},
{
"from": "ndiin", "from_port": "audio_flow_id",
"to": "decklinkout", "to_port": "audio_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 2, "bit_depth": 32 }
}
]
}
+13
View File
@@ -0,0 +1,13 @@
{
"nodes": [
{ "id": "ndiin", "type": "ndiin", "params": {} },
{ "id": "ndiout", "type": "ndiout", "params": {} }
],
"edges": [
{
"from": "ndiin", "from_port": "video_flow_id",
"to": "ndiout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 25, "fps_den": 1 }
}
]
}
+18
View File
@@ -0,0 +1,18 @@
{
"nodes": [
{ "id": "videoin", "type": "videoin", "params": {"file": "/home/itten/test-vid/1.ts"} },
{ "id": "ndiout", "type": "ndiout", "params": {} }
],
"edges": [
{
"from": "videoin", "from_port": "video_flow_id",
"to": "ndiout", "to_port": "video_flow_id",
"format": { "kind": "video", "width": 1920, "height": 1080, "fps_num": 24, "fps_den": 1 }
},
{
"from": "videoin", "from_port": "audio_flow_id",
"to": "ndiout", "to_port": "audio_flow_id",
"format": { "kind": "audio", "sample_rate": 48000, "channels": 6, "bit_depth": 32 }
}
]
}