OBS NDI SIDEBARS ISSUE

Ramone

New Member
GAMING PC
Canvas:1920x1080
Scaled:1920x1080

STREAM PC
Canvas:1920x1080
Scaled:3840x2160

In my stream appears sidebars that resize the video
 
Last edited:
is the gaming pc your recording from in fullscreen mode. I don't quite understand. It probably has something to do with the scaling. holding down the shift key and pressing any of the corners allows you to stretch the source. in the edit transform setting make sure your using stretch to bounds. if it overstretches. use shift key and press the corners to contract the source.
 
are you using rescale output in recording. if you are don't. or if you aren't try setting it to 4k. the problem you seem to be running into is that when it's encoded it's not stretching the output. but from what I understand your either using a capture to record a 1080p output from obs to another computer with obs and it's upscaling to 4k but on youtube or whatever site you use it's not stretching the output. sorry I got nothing. maybe someone can look at the logs and figure it out. it seems like a simple problem but I can't quite figure it out. you can also make sure on both computers that the screen resolution is set to stretch the resolution to fit your screen. you might find this in the intel/nvidia/amd control panel.
 

Ramone

New Member
are you using rescale output in recording. if you are don't. or if you aren't try setting it to 4k. the problem you seem to be running into is that when it's encoded it's not stretching the output. but from what I understand your either using a capture to record a 1080p output from obs to another computer with obs and it's upscaling to 4k but on youtube or whatever site you use it's not stretching the output. sorry I got nothing. maybe someone can look at the logs and figure it out. it seems like a simple problem but I can't quite figure it out. you can also make sure on both computers that the screen resolution is set to stretch the resolution to fit your screen. you might find this in the intel/nvidia/amd control panel.
Try it, same problem. I will edit the post with the log.
 

Ramone

New Member
GAMING PC
Canvas:1920x1080
Scaled:1920x1080

STREAM PC
Canvas:1920x1080
Scaled:3840x2160

In my stream appears sidebars that resize the video

THE LOG:

09:44:31.165: CPU Name: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
09:44:31.165: CPU Speed: 2395MHz
09:44:31.165: Physical Cores: 4, Logical Cores: 8
09:44:31.165: Physical Memory: 5845MB Total, 3180MB Free
09:44:31.165: Windows Version: 10.0 Build 19044 (release: 2009; revision: 1889; 64-bit)
09:44:31.165: Running as administrator: true
09:44:31.165: Aero is Enabled (Aero is always on for windows 8 and above)
09:44:31.166: Windows 10 Gaming Features:
09:44:31.166: Game DVR: On
09:44:31.181: Sec. Software Status:
09:44:31.183: Microsoft Defender Antivírus: enabled (AV)
09:44:31.184: Firewall do Windows: enabled (FW)
09:44:31.190: Current Date/Time: 2022-09-01, 09:44:31
09:44:31.190: Browser Hardware Acceleration: true
09:44:31.190: Hide OBS windows from screen capture: false
09:44:31.190: Qt Version: 5.15.2 (runtime), 5.15.2 (compiled)
09:44:31.190: Portable mode: false
09:44:32.067: OBS 27.2.4 (64-bit, windows)
09:44:32.067: ---------------------------------
09:44:32.228: ---------------------------------
09:44:32.228: audio settings reset:
09:44:32.228: samples per sec: 48000
09:44:32.228: speakers: 2
09:44:32.237: ---------------------------------
09:44:32.237: Initializing D3D11...
09:44:32.237: Available Video Adapters:
09:44:32.242: Adapter 0: Intel(R) HD Graphics 4000
09:44:32.242: Dedicated VRAM: 33554432
09:44:32.242: Shared VRAM: 1845493760
09:44:32.242: PCI ID: 8086:166
09:44:32.243: Driver Version: 10.18.10.4252
09:44:32.244: output 0:
09:44:32.244: name=T22B300
09:44:32.244: pos={0, 0}
09:44:32.244: size={1920, 1080}
09:44:32.244: attached=true
09:44:32.244: refresh=60
09:44:32.244: space=RGB_FULL_G22_NONE_P709
09:44:32.244: sdr_white_nits=80
09:44:32.244: nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
09:44:32.246: Loading up D3D11 on adapter Intel(R) HD Graphics 4000 (0)
09:44:32.261: D3D11 loaded successfully, feature level used: b000
09:44:32.261: DXGI increase maximum frame latency success
09:44:32.872: ---------------------------------
09:44:32.872: video settings reset:
09:44:32.872: base resolution: 1920x1080
09:44:32.872: output resolution: 3840x2160
09:44:32.872: downscale filter: Bilinear
09:44:32.872: fps: 30/1
09:44:32.872: format: NV12
09:44:32.872: YUV mode: 709/Full
09:44:32.872: NV12 texture support not available
09:44:32.872: Audio monitoring device:
09:44:32.872: name: Default
09:44:32.872: id: default
09:44:32.873: ---------------------------------
09:44:32.905: No AJA devices found, skipping loading AJA UI plugin
09:44:32.905: Failed to initialize module 'aja-output-ui.dll'
09:44:32.933: No AJA devices found, skipping loading AJA plugin
09:44:32.933: Failed to initialize module 'aja.dll'
09:44:32.935: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
09:44:32.941: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:44:32.944: Failed to load 'en-US' text for module: 'decklink-captions.dll'
09:44:32.952: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
09:44:33.010: [AMF] Unable to load 'amfrt64.dll', error code 126.
09:44:33.012: [AMF] AMF Test failed due to one or more errors.
09:44:33.012: Failed to initialize module 'enc-amf.dll'
09:44:33.052: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
09:44:33.054: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
09:44:33.058: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
09:44:33.200: [obs-browser]: Version 2.17.13
09:44:33.201: [obs-browser]: CEF Version 95.0.0-MediaHandler.2467+g8092a57+chromium-95.0.4638.69
09:44:33.294: [noise suppress]: NVIDIA RTX denoiser disabled, redistributable not found
09:44:33.307: [obs-ndi] hello ! (version 4.9.0)
09:44:33.307: [obs-ndi] Trying 'C:\Program Files\NewTek\NDI 4 Runtime\v4'
09:44:33.307: [obs-ndi] Found NDI library at 'C:/Program Files/NewTek/NDI 4 Runtime/v4/Processing.NDI.Lib.x64.dll'
09:44:33.340: [obs-ndi] NDI runtime loaded successfully
09:44:33.347: [obs-ndi] NDI library initialized successfully (NDI SDK WIN64 06:20:19 Apr 1 2020 4.5.1.0)
09:44:33.463: [vlc-video]: Couldn't find VLC installation, VLC video source disabled
09:44:33.483: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
09:44:33.484: No blackmagic support
09:44:33.526: ---------------------------------
09:44:33.526: Loaded Modules:
09:44:33.526: win-wasapi.dll
09:44:33.526: win-mf.dll
09:44:33.526: win-dshow.dll
09:44:33.526: win-decklink.dll
09:44:33.526: win-capture.dll
09:44:33.526: vlc-video.dll
09:44:33.526: text-freetype2.dll
09:44:33.526: rtmp-services.dll
09:44:33.526: obs-x264.dll
09:44:33.526: obs-vst.dll
09:44:33.526: obs-transitions.dll
09:44:33.526: obs-text.dll
09:44:33.526: obs-qsv11.dll
09:44:33.526: obs-outputs.dll
09:44:33.526: obs-ndi.dll
09:44:33.526: obs-filters.dll
09:44:33.526: obs-ffmpeg.dll
09:44:33.526: obs-browser.dll
09:44:33.526: image-source.dll
09:44:33.526: frontend-tools.dll
09:44:33.526: decklink-ouput-ui.dll
09:44:33.526: decklink-captions.dll
09:44:33.526: coreaudio-encoder.dll
09:44:33.526: ---------------------------------
09:44:33.527: ==== Startup complete ===============================================
09:44:33.581: All scene data cleared
09:44:33.581: ------------------------------------------------
09:44:33.625: [obs-ndi] started A/V threads for source 'DESKTOP-58E8RTB (Ramone)'
09:44:33.670: Switched to scene 'Cena'
09:44:33.671: ------------------------------------------------
09:44:33.671: Loaded scenes:
09:44:33.671: - scene 'Cena':
09:44:33.671: - source: 'NDIâ„¢ Source' (ndi_source)
09:44:33.671: - filter: 'obs-ndi - Fix alpha blending' (premultiplied_alpha_filter)
09:44:33.671: ------------------------------------------------
09:44:33.671: [obs-ndi] A/V thread for 'NDIâ„¢ Source' started
10:01:46.339: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: NDIâ„¢ Source)
10:01:46.339:
10:02:25.139: >>> nv12 tex not active, fall back to old qsv encoder
10:02:25.139: [qsv encoder: 'streaming_h264'] settings:
10:02:25.139: rate_control: CBR
10:02:25.139: target_bitrate: 20000
10:02:25.139: fps_num: 30
10:02:25.139: fps_den: 1
10:02:25.139: width: 3840
10:02:25.139: height: 2160
10:02:25.139: [qsv encoder: 'streaming_h264'] debug info:
10:02:25.156: impl: D3D11
10:02:25.156: surf: D3D11
10:02:25.178: m_nSurfNum: 8
10:02:25.280: m_nTaskPool: 4
10:02:25.280: major: 1
10:02:25.280: minor: 11
10:02:25.280: ---------------------------------
10:02:25.281: [FFmpeg aac encoder: 'adv_stream_aac'] bitrate: 160, channels: 2, channel_layout: 3
10:02:25.281:
10:02:25.292: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
10:02:25.309: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GbE Family Controller (ethernet, 1000 mbps)
10:02:25.954: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
10:02:25.955: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
10:02:25.964: ==== Streaming Start ===============================================
10:02:26.052: [qsv encoder: 'streaming_h264'] settings:
10:02:26.052: rate_control: CBR
10:02:26.052: target_bitrate: 20000
10:02:26.052: fps_num: 30
10:02:26.052: fps_den: 1
10:02:26.052: width: 1920
10:02:26.052: height: 1200
10:02:26.052: [qsv encoder: 'streaming_h264'] debug info:
10:02:26.107: m_nSurfNum: 9
10:02:26.111: m_nTaskPool: 4
10:03:04.840: [rtmp stream: 'adv_stream'] User stopped the stream
10:03:04.840: [rtmp stream: 'adv_stream'] Socket send buffer is 1048576 bytes
10:03:04.840: Output 'adv_stream': stopping
10:03:04.840: Output 'adv_stream': Total frames output: 1159
10:03:04.840: Output 'adv_stream': Total drawn frames: 1186
10:03:04.845: ==== Streaming Stop ================================================
 
[qsv encoder: 'streaming_h264'] settings:
10:02:26.052: rate_control: CBR
10:02:26.052: target_bitrate: 20000
10:02:26.052: fps_num: 30
10:02:26.052: fps_den: 1
10:02:26.052: width: 1920
10:02:26.052: height: 1200

its not streaming on youtube at 4k you instead have the resolution of 1920 x 1200. figure out where that number is coming from. and set it to both 1920x1080 and 3280 x 2160 until it works. also it's not recommended to stream at 4k. personally I like to use frame skipping when I live stream so the stream is faster but that's just personal preference. I think the 1920 x 1200 is where the scaling problem comes from.
 

Ramone

New Member
[qsv encoder: 'streaming_h264'] settings:
10:02:26.052: rate_control: CBR
10:02:26.052: target_bitrate: 20000
10:02:26.052: fps_num: 30
10:02:26.052: fps_den: 1
10:02:26.052: width: 1920
10:02:26.052: height: 1200

its not streaming on youtube at 4k you instead have the resolution of 1920 x 1200. figure out where that number is coming from. and set it to both 1920x1080 and 3280 x 2160 until it works. also it's not recommended to stream at 4k. personally I like to use frame skipping when I live stream so the stream is faster but that's just personal preference. I think the 1920 x 1200 is where the scaling problem comes from.
I looked for this resolution but I didn't understand where it comes from, I just can't find it.
 

Ramone

New Member
I looked for this resolution but I didn't understand where it comes from, I just can't find it.

[qsv encoder: 'streaming_h264'] settings:
10:02:26.052: rate_control: CBR
10:02:26.052: target_bitrate: 20000
10:02:26.052: fps_num: 30
10:02:26.052: fps_den: 1
10:02:26.052: width: 1920
10:02:26.052: height: 1200

its not streaming on youtube at 4k you instead have the resolution of 1920 x 1200. figure out where that number is coming from. and set it to both 1920x1080 and 3280 x 2160 until it works. also it's not recommended to stream at 4k. personally I like to use frame skipping when I live stream so the stream is faster but that's just personal preference. I think the 1920 x 1200 is where the scaling problem comes from.
I changed the encoder to x264, the stream was in full screen, but my low end laptop can't handle the processing. h264 goes smooth but stays with the sidebars.
 
you need to figure out why the qsv encoder is limiting itself to 1920 x 1200. it seems like theyre are two things going or it's possible you have a resolution set in the qsv encoder. in any case here are the two things. 1)the bitrate is too high and the encoder is downgrading the resolution to keep up. 2)there seems to be incompatibility with dx12. when it falls back to dx11 it does it correctly. when in dx12 mode it downgrades the resolution 1920 x 1200.

when it works
>>> nv12 tex not active, fall back to old qsv encoder
10:02:25.139: [qsv encoder: 'streaming_h264'] settings:
10:02:25.139: rate_control: CBR
10:02:25.139: target_bitrate: 20000
10:02:25.139: fps_num: 30
10:02:25.139: fps_den: 1
10:02:25.139: width: 3840
10:02:25.139: height: 2160
10:02:25.139: [qsv encoder: 'streaming_h264'] debug info:
10:02:25.156: impl: D3D11
10:02:25.156: surf: D3D11
0:02:25.178: m_nSurfNum: 8
10:02:25.280: m_nTaskPool: 4
10:02:25.280: major: 1
10:02:25.280: minor: 11

when it doesn't work

10:02:26.052: [qsv encoder: 'streaming_h264'] settings:
10:02:26.052: rate_control: CBR
10:02:26.052: target_bitrate: 20000
10:02:26.052: fps_num: 30
10:02:26.052: fps_den: 1
10:02:26.052: width: 1920
10:02:26.052: height: 1200
10:02:26.052: [qsv encoder: 'streaming_h264'] debug info:
10:02:26.107: m_nSurfNum: 9
10:02:26.111: m_nTaskPool: 4
 
Top