1379 lines
27 KiB
JSON
1379 lines
27 KiB
JSON
[
|
|
{
|
|
"id": 0,
|
|
"name": "HDMI",
|
|
"type": "vi",
|
|
"enable": true,
|
|
"enable2": true,
|
|
"interface": "HDMI",
|
|
"cap": {
|
|
"deinterlace": false,
|
|
"rotate": 0,
|
|
"crop": {
|
|
"L": 0,
|
|
"R": 0,
|
|
"T": 0,
|
|
"B": 0
|
|
}
|
|
},
|
|
"encv": {
|
|
"roi": [
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
}
|
|
],
|
|
"width": 1920,
|
|
"height": 1080,
|
|
"framerate": 30,
|
|
"bitrate": 4000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 2,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"encv2": {
|
|
"width": 640,
|
|
"height": 360,
|
|
"framerate": 30,
|
|
"bitrate": 1000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 1,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"enca": {
|
|
"audioSrc": "hdmi",
|
|
"gain": 0,
|
|
"codec": "aac",
|
|
"samplerate": 48000,
|
|
"bitrate": 128,
|
|
"channels": 2
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": true,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9001,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3000
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main0"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9101,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3000
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub0"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream0",
|
|
"group": "",
|
|
"enable": true
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 100
|
|
},
|
|
"overlay": [
|
|
{
|
|
"type": "text",
|
|
"enable": false,
|
|
"font": "/link/res/font.ttf",
|
|
"content": "Overlay Text",
|
|
"x": 0.1,
|
|
"y": 0.136,
|
|
"scale": 2.2,
|
|
"color": "#669900",
|
|
"alpha": 1,
|
|
"move": -1,
|
|
"w": 0.515
|
|
},
|
|
{
|
|
"type": "pic",
|
|
"enable": false,
|
|
"content": "/link/res/logo.png",
|
|
"x": 0.1,
|
|
"y": 0.1,
|
|
"scale": 1,
|
|
"alpha": 1
|
|
},
|
|
{
|
|
"type": "mask",
|
|
"enable": false,
|
|
"content": "16",
|
|
"x": 0.4,
|
|
"y": 0.4,
|
|
"w": 0.2,
|
|
"h": 0.2
|
|
},
|
|
{
|
|
"type": "time",
|
|
"x": "0.581",
|
|
"y": "0.077",
|
|
"h": 0,
|
|
"w": 0,
|
|
"scale": "3.02",
|
|
"content": "yyyy-MM-dd hh:mm:ss",
|
|
"enable": false,
|
|
"color": "#ffffff",
|
|
"alpha": 1,
|
|
"font": "/link/res/font.ttf"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "USBCam",
|
|
"type": "usb",
|
|
"enable": false,
|
|
"enable2": false,
|
|
"alarm": {
|
|
"enable": false,
|
|
"thresh": 800,
|
|
"cache": 20
|
|
},
|
|
"encv": {
|
|
"roi": [
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
}
|
|
],
|
|
"width": 1920,
|
|
"height": 1080,
|
|
"framerate": 30,
|
|
"bitrate": 4000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 2,
|
|
"codec": "close",
|
|
"profile": "base",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"encv2": {
|
|
"width": 640,
|
|
"height": 360,
|
|
"framerate": 30,
|
|
"bitrate": 1000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 1,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"enca": {
|
|
"audioSrc": "hdmi",
|
|
"gain": 0,
|
|
"codec": "close",
|
|
"samplerate": 48000,
|
|
"bitrate": 32,
|
|
"channels": 2
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9002,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3005
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main1"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9102,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3005
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub1"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream1",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 110
|
|
},
|
|
"overlay": []
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Net1",
|
|
"type": "net",
|
|
"enable": false,
|
|
"enable2": false,
|
|
"net": {
|
|
"bufferMode": 0,
|
|
"protocol": "tcp",
|
|
"framerate": -1,
|
|
"path": "rtmp://192.168.1.111/live/test",
|
|
"decodeV": false,
|
|
"decodeA": false,
|
|
"minDelay": 500
|
|
},
|
|
"encv": {
|
|
"roi": [
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
}
|
|
],
|
|
"width": 1920,
|
|
"height": 1080,
|
|
"framerate": 30,
|
|
"bitrate": 4000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 2,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"encv2": {
|
|
"width": 640,
|
|
"height": 360,
|
|
"framerate": 30,
|
|
"bitrate": 1000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 1,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"enca": {
|
|
"audioSrc": "hdmi",
|
|
"gain": 0,
|
|
"codec": "aac",
|
|
"samplerate": 48000,
|
|
"bitrate": 128,
|
|
"channels": 2
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9003,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3001
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": true,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://a.rtmp.youtube.com/live2/z89h-0e8d-q94p-jaxp-4sr1"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9103,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3001
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub2"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream2",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 112
|
|
},
|
|
"overlay": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Net2",
|
|
"type": "net",
|
|
"enable": false,
|
|
"enable2": false,
|
|
"net": {
|
|
"bufferMode": 0,
|
|
"protocol": "tcp",
|
|
"framerate": -1,
|
|
"path": "rtsp://admin:admin@192.168.1.23/cam/realmonitor?channel=1&subtype=0",
|
|
"decodeV": false,
|
|
"decodeA": false,
|
|
"minDelay": 500
|
|
},
|
|
"encv": {
|
|
"roi": [
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
}
|
|
],
|
|
"width": 1920,
|
|
"height": 1080,
|
|
"framerate": 30,
|
|
"bitrate": 4000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 2,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"encv2": {
|
|
"width": 640,
|
|
"height": 360,
|
|
"framerate": 30,
|
|
"bitrate": 1000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 1,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"enca": {
|
|
"audioSrc": "hdmi",
|
|
"gain": 0,
|
|
"codec": "close",
|
|
"samplerate": 48000,
|
|
"bitrate": 128,
|
|
"channels": 2
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9004,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3002
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main3"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9104,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3002
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub3"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream3",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 114
|
|
},
|
|
"overlay": []
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "NDI Recv",
|
|
"type": "ndi",
|
|
"enable": true,
|
|
"enable2": false,
|
|
"ndirecv": {
|
|
"name": "192.168.1.44 (stream0)"
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9005,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3000
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main4"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9105,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3000
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub4"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream4",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 100
|
|
},
|
|
"overlay": []
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Carousel",
|
|
"type": "file",
|
|
"enable": false,
|
|
"enable2": false,
|
|
"file": [],
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9006,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3003
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main5"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9106,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3003
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub5"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream5",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 114
|
|
},
|
|
"overlay": []
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "Mix",
|
|
"type": "mix",
|
|
"enable": false,
|
|
"enable2": false,
|
|
"encv": {
|
|
"roi": [
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
},
|
|
{
|
|
"enable": false,
|
|
"abs": false,
|
|
"qp": -15,
|
|
"framerate": -1,
|
|
"x": 0.3,
|
|
"y": 0.3,
|
|
"w": 0.3,
|
|
"h": 0.3
|
|
}
|
|
],
|
|
"width": 1280,
|
|
"height": 720,
|
|
"framerate": 30,
|
|
"bitrate": 2000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 2,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"encv2": {
|
|
"width": 640,
|
|
"height": 360,
|
|
"framerate": 30,
|
|
"bitrate": 1000,
|
|
"rcmode": "avbr",
|
|
"lowLatency": false,
|
|
"gop": 1,
|
|
"codec": "h264",
|
|
"profile": "high",
|
|
"gopmode": 0,
|
|
"minqp": 22,
|
|
"maxqp": 36,
|
|
"Iqp": 25,
|
|
"Pqp": 25
|
|
},
|
|
"enca": {
|
|
"codec": "aac",
|
|
"samplerate": 48000,
|
|
"bitrate": 128,
|
|
"channels": 2,
|
|
"audioSrc": "hdmi",
|
|
"gain": 0
|
|
},
|
|
"output": {
|
|
"enable": true,
|
|
"src": 0,
|
|
"ui": true,
|
|
"lowLatency": false,
|
|
"output": "1080P60",
|
|
"type": "hdmi",
|
|
"rotate": 0
|
|
},
|
|
"output2": {
|
|
"enable": false,
|
|
"src": 0,
|
|
"ui": false,
|
|
"lowLatency": false,
|
|
"output": "1080P60",
|
|
"type": "vga",
|
|
"rotate": 0
|
|
},
|
|
"stream": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9007,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.2.1",
|
|
"port": 3004
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_main6"
|
|
}
|
|
},
|
|
"stream2": {
|
|
"http": false,
|
|
"hls": false,
|
|
"rtmp": false,
|
|
"rtsp": true,
|
|
"srt": {
|
|
"enable": false,
|
|
"mode": "listener",
|
|
"ip": "127.0.0.1",
|
|
"port": 9107,
|
|
"latency": 50,
|
|
"passwd": "",
|
|
"streamid": ""
|
|
},
|
|
"udp": {
|
|
"rtp": false,
|
|
"ttl": 5,
|
|
"flowCtrl": true,
|
|
"bandwidth": 100,
|
|
"enable": false,
|
|
"ip": "233.233.3.1",
|
|
"port": 3004
|
|
},
|
|
"push": {
|
|
"format": "auto",
|
|
"enable": false,
|
|
"hevc_id": 12,
|
|
"path": "rtmp://127.0.0.1/live/test_sub6"
|
|
}
|
|
},
|
|
"hls": {
|
|
"hls_time": 5,
|
|
"hls_list_size": 5,
|
|
"hls_base_url": "/hls/",
|
|
"hls_filename": "-%06d.ts"
|
|
},
|
|
"ndi": {
|
|
"name": "stream6",
|
|
"group": "",
|
|
"enable": false
|
|
},
|
|
"ts": {
|
|
"tsSize": 1316,
|
|
"mpegts_service_id": 1,
|
|
"mpegts_original_network_id": 1,
|
|
"mpegts_transport_stream_id": 1,
|
|
"mpegts_pmt_start_pid": 4096,
|
|
"mpegts_start_pid": 134
|
|
},
|
|
"overlay": [
|
|
{
|
|
"type": "text",
|
|
"x": "0.417",
|
|
"y": "0.213",
|
|
"h": 0,
|
|
"w": 0,
|
|
"scale": 4,
|
|
"content": "测试推流",
|
|
"enable": true,
|
|
"color": "#ffffff",
|
|
"alpha": 1,
|
|
"font": "/link/res/font.ttf"
|
|
}
|
|
],
|
|
"srcV": [
|
|
"0",
|
|
"-1",
|
|
"-1",
|
|
"-1"
|
|
],
|
|
"srcA": [
|
|
"0"
|
|
],
|
|
"layout": [
|
|
{
|
|
"a": 1,
|
|
"x": "0",
|
|
"y": "0",
|
|
"w": "0.5",
|
|
"h": "0.5",
|
|
"index": 1
|
|
},
|
|
{
|
|
"a": 1,
|
|
"x": "0.5",
|
|
"y": "0",
|
|
"w": "0.5",
|
|
"h": "0.5",
|
|
"index": 2
|
|
},
|
|
{
|
|
"a": 1,
|
|
"x": "0",
|
|
"y": "0.5",
|
|
"w": "0.5",
|
|
"h": "0.5",
|
|
"index": 3
|
|
},
|
|
{
|
|
"a": 1,
|
|
"x": "0.5",
|
|
"y": "0.5",
|
|
"w": "0.5",
|
|
"h": "0.5",
|
|
"index": 4
|
|
}
|
|
]
|
|
}
|
|
] |