You need to set
--enable-multitrack-video-dev
as startup param for OBS. After that you have a Textbox to post the json from below.
tested with bandwith test for now, ignoring live section / streamkey settings just use those audio and video override example config with 936p instead of 1080p for second video track:
{
"audio_configurations": {
"live": [
{
"channels": 2,
"codec": "aac",
"settings": {
"bitrate": 160
},
"track_id": 0
}
],
"vod": [
{
"channels": 2,
"codec": "aac",
"settings": {
"bitrate": 160
},
"track_id": 1
}
]
},
"encoder_configurations": [
{
"bitrate_interpolation_points": [
0,
4950,
6000,
8500
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 60
},
"gpu_scale_type": "OBS_SCALE_BICUBIC",
"height": 1440,
"settings": {
"adaptive_quantization": true,
"bf": 2,
"bitrate": 8500,
"keyint_sec": 2,
"lookahead": true,
"multipass": "qres",
"preset": "p5",
"profile": "main",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_hevc_tex",
"width": 2560
},
{
"bitrate_interpolation_points": [
0,
3960,
4800,
7500
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 60
},
"gpu_scale_type": "OBS_SCALE_BICUBIC",
"height": 936,
"settings": {
"adaptive_quantization": false,
"bf": 2,
"bitrate": 7500,
"keyint_sec": 2,
"lookahead": true,
"multipass": "qres",
"preset": "p5",
"profile": "high",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_h264_tex",
"width": 1664
},
{
"bitrate_interpolation_points": [
0,
2800,
3000,
3000
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 60
},
"gpu_scale_type": "OBS_SCALE_BICUBIC",
"height": 720,
"settings": {
"adaptive_quantization": false,
"bf": 2,
"bitrate": 3000,
"keyint_sec": 2,
"lookahead": true,
"multipass": "qres",
"preset": "p4",
"profile": "high",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_h264_tex",
"width": 1280
},
{
"bitrate_interpolation_points": [
0,
1000,
1000,
1000
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 30
},
"gpu_scale_type": "OBS_SCALE_BILINEAR",
"height": 480,
"settings": {
"adaptive_quantization": false,
"bf": 2,
"bitrate": 1000,
"keyint_sec": 2,
"lookahead": false,
"multipass": "qres",
"preset": "p5",
"profile": "high",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_h264_tex",
"width": 852
},
{
"bitrate_interpolation_points": [
0,
500,
500,
500
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 30
},
"gpu_scale_type": "OBS_SCALE_BILINEAR",
"height": 360,
"settings": {
"adaptive_quantization": false,
"bf": 2,
"bitrate": 500,
"keyint_sec": 2,
"lookahead": false,
"multipass": "qres",
"preset": "p5",
"profile": "main",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_h264_tex",
"width": 640
},
{
"bitrate_interpolation_points": [
0,
200,
200,
200
],
"canvas_index": 0,
"framerate": {
"denominator": 1,
"numerator": 30
},
"gpu_scale_type": "OBS_SCALE_BILINEAR",
"height": 160,
"settings": {
"adaptive_quantization": false,
"bf": 2,
"bitrate": 200,
"keyint_sec": 2,
"lookahead": false,
"multipass": "qres",
"preset": "p5",
"profile": "main",
"rate_control": "CBR",
"tune": "hq"
},
"type": "obs_nvenc_h264_tex",
"width": 284
}
]
}