Question / Help 1080p "Rescale Output" bugged?

EDGAR_SEC

Member
Is the 1080p Rescale Output Resolution option bugged? Whenever I select it, OBS Studio throws up, "Encoding Overload," errors and the resulting stream and/or recording reflects this.

The interesting part is that my Stream PC is extremely beefy and capable of encoding 4K/60fps just fine with no encoding overloads. I even switched my input to a 1440p source and get the same results. Yes, using x264.

Any ideas?

The streaming PC has dual Xeon 2699v3 chips in it (so 36 physical cores). Just for clarity: I can encode 4K/60fps just fine, but when I select the Rescale Output option of 1080p, it gives encoding overload errors which doesn't make any sense.

Thanks!

UPDATE IN THIS POST: https://obsproject.com/forum/threads/1080p-rescale-output-bugged.74423/page-2#post-320346
 
Last edited:

EDGAR_SEC

Member
Have you tried using any other encoders? Can you post a log file? What settings are you using?

Sure, I'll make another log file later tonight. I've tried it with NVENC as well with the same results. I'd imagine the settings under x264 are inconsequential though since I can leave it streaming/recording at a base resolution of 4K/1440p without downscale and it encodes perfectly fine. The issue seems to only pop up on the 1080p Rescale Output option.
 

EDGAR_SEC

Member
Here are the relevant log files made right after the other to highlight the issue. I started it using my standard 1440p base with no rescale option selected, then tried it again right after with the 1080p downscale selected.

1440p, no downscale, no encoder overload

Code:
23:50:22.214: CPU Name: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
23:50:22.214: CPU Speed: 2392MHz
23:50:22.214: Physical Cores: 36, Logical Cores: 36
23:50:22.214: Physical Memory: 262030MB Total, 255331MB Free
23:50:22.214: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
23:50:22.214: Running as administrator: false
23:50:22.214: Aero is Enabled (Aero is always on for windows 8 and above)
23:50:22.215: Portable mode: false
23:50:22.256: OBS 17.0.0 (64bit, windows)
23:50:22.257: ---------------------------------
23:50:22.257: ---------------------------------
23:50:22.258: audio settings reset:
23:50:22.258:     samples per sec: 44100
23:50:22.258:     speakers:        2
23:50:22.260: ---------------------------------
23:50:22.260: Initializing D3D11..
23:50:22.261: Available Video Adapters:
23:50:22.263:     Adapter 1: NVIDIA GeForce GTX 980
23:50:22.263:       Dedicated VRAM: 4258070528
23:50:22.263:       Shared VRAM:    4235565056
23:50:22.263:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:50:22.267: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
23:50:23.527: D3D11 loaded sucessfully, feature level used: 45056
23:50:24.146: ---------------------------------
23:50:24.146: video settings reset:
23:50:24.146:     base resolution:   2560x1440
23:50:24.146:     output resolution: 2560x1440
23:50:24.146:     downscale filter:  Bilinear
23:50:24.146:     fps:               60/1
23:50:24.146:     format:            NV12
23:50:24.148: ---------------------------------
23:50:24.158: [CoreAudio encoder]: Adding CoreAudio AAC encoder
23:50:24.160: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
23:50:24.160: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
23:50:24.172: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
23:50:24.173: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
23:50:24.173: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
23:50:24.174: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:50:24.174: [browser_source: 'Version: 1.27.0']
23:50:24.176: NVENC supported
23:50:24.218: VLC found, VLC video source enabled
23:50:24.226: No blackmagic support
23:50:24.301: ---------------------------------
23:50:24.301:   Loaded Modules:
23:50:24.301:     win-wasapi.dll
23:50:24.301:     win-mf.dll
23:50:24.301:     win-dshow.dll
23:50:24.301:     win-decklink.dll
23:50:24.301:     win-capture.dll
23:50:24.301:     vlc-video.dll
23:50:24.301:     text-freetype2.dll
23:50:24.301:     rtmp-services.dll
23:50:24.301:     obs-x264.dll
23:50:24.301:     obs-transitions.dll
23:50:24.301:     obs-text.dll
23:50:24.301:     obs-qsv11.dll
23:50:24.301:     obs-outputs.dll
23:50:24.301:     obs-filters.dll
23:50:24.301:     obs-ffmpeg.dll
23:50:24.301:     obs-browser.dll
23:50:24.301:     image-source.dll
23:50:24.301:     frontend-tools.dll
23:50:24.301:     enc-amf.dll
23:50:24.301:     coreaudio-encoder.dll
23:50:24.301: ==== Startup complete ===============================================
23:50:24.355: All scene data cleared
23:50:24.355: ------------------------------------------------
23:50:24.398: WASAPI: Device 'OUT to Mixer (Realtek High Definition Audio)' initialized
23:50:24.638: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
23:50:24.837: WASAPI: Device 'Line In (from MIXER) (Realtek High Definition Audio)' initialized
23:50:24.875: warning: deprecated pixel format used, make sure you did set range correctly
23:50:24.887: adding 208 milliseconds of audio buffering, total audio buffering is now 232 milliseconds
23:50:25.150: Switched to scene 'BRB (Audio)'
23:50:25.183: ------------------------------------------------
23:50:25.183: Loaded scenes:
23:50:25.183: - scene 'MUTE':
23:50:25.183:     - source: 'Blocker Image' (image_source)
23:50:25.183:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.183:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.183:     - source: 'Restream Chat (BRB Big)' (browser_source)
23:50:25.183:     - source: 'Chat (BRB Big)' (browser_source)
23:50:25.183:     - source: 'Twitter Popup' (browser_source)
23:50:25.183:     - source: 'BRB' (text_gdiplus)
23:50:25.183:     - source: 'Timer (Count Down)' (text_gdiplus)
23:50:25.183:     - source: 'Stream starting soon:' (text_gdiplus)
23:50:25.183:     - source: 'TwitchAlerts Box' (browser_source)
23:50:25.183: - scene 'BRB (Audio)':
23:50:25.183:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.183:     - source: 'Blocker Image' (image_source)
23:50:25.183:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.183:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.183:     - source: 'Restream Chat (BRB Big)' (browser_source)
23:50:25.183:     - source: 'Chat (BRB Big)' (browser_source)
23:50:25.183:     - source: 'Twitter Popup' (browser_source)
23:50:25.183:     - source: 'BRB' (text_gdiplus)
23:50:25.183:     - source: 'Timer (Count Down)' (text_gdiplus)
23:50:25.183:     - source: 'Stream starting soon:' (text_gdiplus)
23:50:25.183:     - source: 'TwitchAlerts Box' (browser_source)
23:50:25.183: - scene 'LIVE (Battlefield 1)':
23:50:25.183:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.183:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.183:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.183:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.183:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.183:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.183:     - source: 'Twitter Popup' (browser_source)
23:50:25.183:     - source: 'DXRacer' (image_source)
23:50:25.183:         - filter: 'Chroma Key' (chroma_key_filter)
23:50:25.183:     - source: 'Trump' (image_source)
23:50:25.183:         - filter: 'Chroma Key' (chroma_key_filter)
23:50:25.184:     - source: 'Blocker (Battlefield 1)' (image_source)
23:50:25.184:     - source: 'TwitchAlerts Box' (browser_source)
23:50:25.184: - scene 'LIVE (Battlefield 4)':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.184:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Twitter Popup' (browser_source)
23:50:25.184:     - source: 'Blocker (Battlefield 4)' (image_source)
23:50:25.184: - scene 'LIVE (SW Battlefront 1)':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.184:     - source: 'Restream Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Twitter Popup' (browser_source)
23:50:25.184:     - source: 'Blocker (Battlefront)' (image_source)
23:50:25.184: - scene 'LIVE (BF Hardline)':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.184:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Twitter Popup' (browser_source)
23:50:25.184:     - source: 'Blocker (BF Hardline)' (image_source)
23:50:25.184: - scene 'LIVE (Desktop)':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.184:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Restream Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Twitter Popup' (browser_source)
23:50:25.184:     - source: 'Blocker Image' (image_source)
23:50:25.184: - scene 'Random (Temp)':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'Magewell 4K AIO+' (dshow_input)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.184:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Restream Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.184:     - source: 'Chat (Wide)' (browser_source)
23:50:25.184:     - source: 'Twitter Popup' (browser_source)
23:50:25.184:     - source: 'Blocker Image' (image_source)
23:50:25.184: - scene 'Play Video File':
23:50:25.184:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:50:25.184:     - source: 'VLC Video Source' (vlc_source)
23:50:25.184:     - source: 'Viewer Count' (text_gdiplus)
23:50:25.184:     - source: 'Timer (Count Up)' (text_gdiplus)
23:50:25.185:     - source: 'Restream Chat (Small Box)' (browser_source)
23:50:25.185:     - source: 'Restream Chat (Wide)' (browser_source)
23:50:25.185:     - source: 'Chat (Small Box)' (browser_source)
23:50:25.185:     - source: 'Chat (Wide)' (browser_source)
23:50:25.185:     - source: 'Twitter Popup' (browser_source)
23:50:25.185:     - source: 'Blocker Image' (image_source)
23:50:25.185: ------------------------------------------------
23:50:26.605: ---------------------------------
23:50:26.605: [DShow Device: 'Magewell 4K AIO+'] settings updated:
23:50:26.605:     video device: Video (Pro Capture)
23:50:26.605:     video path: \\?\pci#ven_1cd7&dev_0014&subsys_00000001&rev_01#4&283ea579&1&0010#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\video
23:50:26.605:     resolution: 1920x1080
23:50:26.605:     fps: 60.00 (interval: 166666)
23:50:26.605:     format: XRGB
23:50:26.607: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
23:50:26.607:
23:50:28.006: ---------------------------------
23:50:28.006: [x264 encoder: 'streaming_h264'] preset: veryfast
23:50:28.006: [x264 encoder: 'streaming_h264'] profile: main
23:50:28.006: [x264 encoder: 'streaming_h264'] settings:
23:50:28.006:     rate_control: CBR
23:50:28.006:     bitrate:      7500
23:50:28.006:     buffer size:  7500
23:50:28.006:     crf:          0
23:50:28.006:     fps_num:      60
23:50:28.006:     fps_den:      1
23:50:28.006:     width:        2560
23:50:28.006:     height:       1440
23:50:28.006:     keyint:       120
23:50:28.006:     vfr:          off
23:50:28.006:
23:50:28.029: [CoreAudio AAC: 'Track1']: settings:
23:50:28.029:     mode:          AAC
23:50:28.029:     bitrate:       160
23:50:28.029:     sample rate:   44100
23:50:28.029:     cbr:           on
23:50:28.029:     output buffer: 1536
23:50:28.029: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-atl.twitch.tv/app...
23:50:28.029: [rtmp stream: 'adv_stream'] Binding to IPv4
23:50:28.031: ---------------------------------
23:50:28.031: [x264 encoder: 'streaming_h264'] settings:
23:50:28.031:     rate_control: CBR
23:50:28.031:     bitrate:      7500
23:50:28.031:     buffer size:  7500
23:50:28.031:     crf:          0
23:50:28.031:     fps_num:      60
23:50:28.031:     fps_den:      1
23:50:28.031:     width:        2560
23:50:28.031:     height:       1440
23:50:28.031:     keyint:       120
23:50:28.031:     vfr:          off
23:50:28.031:
23:50:28.039: ==== Recording Start ===============================================
23:50:28.039: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/2017-09-13-p01 - TESTING (Private) (13).flv'...
23:50:28.077: [rtmp stream: 'adv_stream'] Interface: Intel(R) I210 Gigabit Network Connection (ethernet, 1000 mbps)
23:50:29.031: [rtmp stream: 'adv_stream'] Connection to rtmp://live-atl.twitch.tv/app successful
23:50:29.034: ==== Streaming Start ===============================================
23:51:40.756: [rtmp stream: 'adv_stream'] User stopped the stream
23:51:40.757: Output 'adv_stream': stopping
23:51:40.757: Output 'adv_stream': Total encoded frames: 4364
23:51:40.757: Output 'adv_stream': Total drawn frames: 4364
23:51:40.757: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1 (0.0%)
23:51:40.762: ==== Streaming Stop ================================================
23:51:41.665: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/2017-09-13-p01 - TESTING (Private) (13).flv' stopped
23:51:41.665: Output 'adv_file_output': stopping
23:51:41.665: Output 'adv_file_output': Total encoded frames: 4416
23:51:41.665: Output 'adv_file_output': Total drawn frames: 4418
23:51:41.665: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1 (0.0%)
23:51:41.666: ==== Recording Stop ================================================
 

EDGAR_SEC

Member
1080p downscale option selected, encoder overload present:

Code:
23:42:56.461: CPU Name: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
23:42:56.461: CPU Speed: 2392MHz
23:42:56.461: Physical Cores: 36, Logical Cores: 36
23:42:56.461: Physical Memory: 262030MB Total, 255248MB Free
23:42:56.461: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
23:42:56.461: Running as administrator: false
23:42:56.461: Aero is Enabled (Aero is always on for windows 8 and above)
23:42:56.462: Portable mode: false
23:42:56.504: OBS 17.0.0 (64bit, windows)
23:42:56.504: ---------------------------------
23:42:56.505: ---------------------------------
23:42:56.505: audio settings reset:
23:42:56.505:     samples per sec: 44100
23:42:56.505:     speakers:        2
23:42:56.507: ---------------------------------
23:42:56.507: Initializing D3D11..
23:42:56.507: Available Video Adapters:
23:42:56.511:     Adapter 1: NVIDIA GeForce GTX 980
23:42:56.511:       Dedicated VRAM: 4258070528
23:42:56.511:       Shared VRAM:    4235565056
23:42:56.512:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:42:56.517: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
23:42:58.244: D3D11 loaded sucessfully, feature level used: 45056
23:42:58.954: ---------------------------------
23:42:58.954: video settings reset:
23:42:58.954:     base resolution:   2560x1440
23:42:58.954:     output resolution: 2560x1440
23:42:58.954:     downscale filter:  Bilinear
23:42:58.954:     fps:               60/1
23:42:58.954:     format:            NV12
23:42:58.956: ---------------------------------
23:42:58.978: [CoreAudio encoder]: Adding CoreAudio AAC encoder
23:42:58.987: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
23:42:58.987: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
23:42:59.009: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
23:42:59.010: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
23:42:59.010: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
23:42:59.011: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:42:59.011: [browser_source: 'Version: 1.27.0']
23:42:59.073: NVENC supported
23:42:59.548: VLC found, VLC video source enabled
23:42:59.562: No blackmagic support
23:42:59.728: ---------------------------------
23:42:59.728:   Loaded Modules:
23:42:59.728:     win-wasapi.dll
23:42:59.728:     win-mf.dll
23:42:59.728:     win-dshow.dll
23:42:59.728:     win-decklink.dll
23:42:59.728:     win-capture.dll
23:42:59.728:     vlc-video.dll
23:42:59.728:     text-freetype2.dll
23:42:59.728:     rtmp-services.dll
23:42:59.728:     obs-x264.dll
23:42:59.728:     obs-transitions.dll
23:42:59.728:     obs-text.dll
23:42:59.728:     obs-qsv11.dll
23:42:59.728:     obs-outputs.dll
23:42:59.728:     obs-filters.dll
23:42:59.728:     obs-ffmpeg.dll
23:42:59.728:     obs-browser.dll
23:42:59.728:     image-source.dll
23:42:59.728:     frontend-tools.dll
23:42:59.728:     enc-amf.dll
23:42:59.728:     coreaudio-encoder.dll
23:42:59.728: ==== Startup complete ===============================================
23:42:59.780: All scene data cleared
23:42:59.780: ------------------------------------------------
23:42:59.836: WASAPI: Device 'OUT to Mixer (Realtek High Definition Audio)' initialized
23:42:59.896: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
23:43:00.198: WASAPI: Device 'Line In (from MIXER) (Realtek High Definition Audio)' initialized
23:43:00.225: warning: deprecated pixel format used, make sure you did set range correctly
23:43:00.235: adding 185 milliseconds of audio buffering, total audio buffering is now 208 milliseconds
23:43:00.304: warning: deprecated pixel format used, make sure you did set range correctly
23:43:00.746: warning: deprecated pixel format used, make sure you did set range correctly
23:43:00.933: Switched to scene 'BRB (Audio)'
23:43:00.935: ------------------------------------------------
23:43:00.935: Loaded scenes:
23:43:00.935: - scene 'MUTE':
23:43:00.935:     - source: 'Blocker Image' (image_source)
23:43:00.935:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.935:     - source: 'Restream Chat (BRB Big)' (browser_source)
23:43:00.935:     - source: 'Chat (BRB Big)' (browser_source)
23:43:00.935:     - source: 'Twitter Popup' (browser_source)
23:43:00.935:     - source: 'BRB' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Down)' (text_gdiplus)
23:43:00.935:     - source: 'Stream starting soon:' (text_gdiplus)
23:43:00.935:     - source: 'TwitchAlerts Box' (browser_source)
23:43:00.935: - scene 'BRB (Audio)':
23:43:00.935:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.935:     - source: 'Blocker Image' (image_source)
23:43:00.935:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.935:     - source: 'Restream Chat (BRB Big)' (browser_source)
23:43:00.935:     - source: 'Chat (BRB Big)' (browser_source)
23:43:00.935:     - source: 'Twitter Popup' (browser_source)
23:43:00.935:     - source: 'BRB' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Down)' (text_gdiplus)
23:43:00.935:     - source: 'Stream starting soon:' (text_gdiplus)
23:43:00.935:     - source: 'TwitchAlerts Box' (browser_source)
23:43:00.935: - scene 'LIVE (Battlefield 1)':
23:43:00.935:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.935:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.935:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.935:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.935:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.935:     - source: 'Twitter Popup' (browser_source)
23:43:00.935:     - source: 'DXRacer' (image_source)
23:43:00.935:         - filter: 'Chroma Key' (chroma_key_filter)
23:43:00.935:     - source: 'Trump' (image_source)
23:43:00.935:         - filter: 'Chroma Key' (chroma_key_filter)
23:43:00.935:     - source: 'Blocker (Battlefield 1)' (image_source)
23:43:00.935:     - source: 'TwitchAlerts Box' (browser_source)
23:43:00.935: - scene 'LIVE (Battlefield 4)':
23:43:00.935:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.935:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.935:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.935:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.935:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.935:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.935:     - source: 'Twitter Popup' (browser_source)
23:43:00.935:     - source: 'Blocker (Battlefield 4)' (image_source)
23:43:00.935: - scene 'LIVE (SW Battlefront 1)':
23:43:00.935:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.936:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.936:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.936:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.936:     - source: 'Restream Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Twitter Popup' (browser_source)
23:43:00.936:     - source: 'Blocker (Battlefront)' (image_source)
23:43:00.936: - scene 'LIVE (BF Hardline)':
23:43:00.936:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.936:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.936:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.936:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.936:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Twitter Popup' (browser_source)
23:43:00.936:     - source: 'Blocker (BF Hardline)' (image_source)
23:43:00.936: - scene 'LIVE (Desktop)':
23:43:00.936:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.936:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.936:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.936:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.936:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Restream Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Twitter Popup' (browser_source)
23:43:00.936:     - source: 'Blocker Image' (image_source)
23:43:00.936: - scene 'Random (Temp)':
23:43:00.936:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.936:     - source: 'Magewell 4K AIO+' (dshow_input)
23:43:00.936:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.936:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.936:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Restream Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Twitter Popup' (browser_source)
23:43:00.936:     - source: 'Blocker Image' (image_source)
23:43:00.936: - scene 'Play Video File':
23:43:00.936:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
23:43:00.936:     - source: 'VLC Video Source' (vlc_source)
23:43:00.936:     - source: 'Viewer Count' (text_gdiplus)
23:43:00.936:     - source: 'Timer (Count Up)' (text_gdiplus)
23:43:00.936:     - source: 'Restream Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Restream Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Chat (Small Box)' (browser_source)
23:43:00.936:     - source: 'Chat (Wide)' (browser_source)
23:43:00.936:     - source: 'Twitter Popup' (browser_source)
23:43:00.936:     - source: 'Blocker Image' (image_source)
23:43:00.936: ------------------------------------------------
23:43:02.458: ---------------------------------
23:43:02.458: [DShow Device: 'Magewell 4K AIO+'] settings updated:
23:43:02.458:     video device: Video (Pro Capture)
23:43:02.458:     video path: \\?\pci#ven_1cd7&dev_0014&subsys_00000001&rev_01#4&283ea579&1&0010#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\video
23:43:02.458:     resolution: 1920x1080
23:43:02.458:     fps: 60.00 (interval: 166666)
23:43:02.458:     format: XRGB
23:43:02.460: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
23:43:02.460:
23:44:51.464: ---------------------------------
23:44:51.464: [x264 encoder: 'streaming_h264'] preset: veryfast
23:44:51.464: [x264 encoder: 'streaming_h264'] profile: main
23:44:51.464: [x264 encoder: 'streaming_h264'] settings:
23:44:51.464:     rate_control: CBR
23:44:51.464:     bitrate:      7500
23:44:51.464:     buffer size:  7500
23:44:51.464:     crf:          0
23:44:51.464:     fps_num:      60
23:44:51.464:     fps_den:      1
23:44:51.464:     width:        1920
23:44:51.464:     height:       1080
23:44:51.464:     keyint:       120
23:44:51.464:     vfr:          off
23:44:51.464:
23:44:51.483: [CoreAudio AAC: 'Track1']: settings:
23:44:51.483:     mode:          AAC
23:44:51.483:     bitrate:       160
23:44:51.483:     sample rate:   44100
23:44:51.483:     cbr:           on
23:44:51.483:     output buffer: 1536
23:44:51.484: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-atl.twitch.tv/app...
23:44:51.484: [rtmp stream: 'adv_stream'] Binding to IPv4
23:44:51.486: ---------------------------------
23:44:51.486: [x264 encoder: 'streaming_h264'] settings:
23:44:51.486:     rate_control: CBR
23:44:51.486:     bitrate:      7500
23:44:51.486:     buffer size:  7500
23:44:51.486:     crf:          0
23:44:51.486:     fps_num:      60
23:44:51.486:     fps_den:      1
23:44:51.486:     width:        1920
23:44:51.486:     height:       1080
23:44:51.486:     keyint:       120
23:44:51.486:     vfr:          off
23:44:51.486:
23:44:51.497: ==== Recording Start ===============================================
23:44:51.497: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/2017-09-13-p01 - TESTING (Private) (12).flv'...
23:44:51.508: [rtmp stream: 'adv_stream'] Interface: Intel(R) I210 Gigabit Network Connection (ethernet, 1000 mbps)
23:44:52.543: [rtmp stream: 'adv_stream'] Connection to rtmp://live-atl.twitch.tv/app successful
23:44:52.546: ==== Streaming Start ===============================================
23:45:58.336: [rtmp stream: 'adv_stream'] User stopped the stream
23:45:58.336: Output 'adv_stream': stopping
23:45:58.336: Output 'adv_stream': Total encoded frames: 3634
23:45:58.336: Output 'adv_stream': Total drawn frames: 4011
23:45:58.336: Output 'adv_stream': Number of skipped frames due to encoding lag: 3792 (104.3%)
23:45:58.342: ==== Streaming Stop ================================================
23:45:59.129: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/2017-09-13-p01 - TESTING (Private) (12).flv' stopped
23:45:59.129: Output 'adv_file_output': stopping
23:45:59.129: Output 'adv_file_output': Total encoded frames: 3677
23:45:59.129: Output 'adv_file_output': Total drawn frames: 4058
23:45:59.129: Output 'adv_file_output': Number of skipped frames due to encoding lag: 3839 (104.4%)
23:45:59.130: ==== Recording Stop ================================================

Once again, the only difference between the two runs is that the first did NOT have the Rescale Output option selected while the second did.

Any help would be appreciated. Thanks
 
I'm not very familiar with capture cards so maybe what I'm saying makes no sense but:
your capture cards gives you 1080p60....so why do you stretch it to 1440p (video tab canvas) and then AGAIN scale to 1080p in output?? not really sure what you are trying to do here. just set canvas and scaled in video tab to 1080p60 and disable any other scaling in output. output scaling uses cpu also if I'm correct
bit rates allowed on twitch are way too low even for 1080p not mentioning 1440p
also i think cap card format should be nv12
 

EDGAR_SEC

Member
I'm not very familiar with capture cards so maybe what I'm saying makes no sense but:
your capture cards gives you 1080p60....so why do you stretch it to 1440p (video tab canvas) and then AGAIN scale to 1080p in output?? not really sure what you are trying to do here. just set canvas and scaled in video tab to 1080p60 and disable any other scaling in output. output scaling uses cpu also if I'm correct
bit rates allowed on twitch are way too low even for 1080p not mentioning 1440p
also i think cap card format should be nv12


No, and no. This capture card supports up to a 4K canvas at 60hz or 1440p/144hz canvas with its pixel clock. This is a thousand dollar card.

I natively play at 1440p/144hz and the capture card fully supports it. I am trying to use Rescale Output to 1080p to send to Twitch while still recording locally at 1440p.

Output Scaling has to be bugged because if I do the reverse (1440p stream with a 1080p record using x264) it works perfectly fine. I have even tried using NVENC for the local recording part and it exhibits the same symptoms.

This isn't exactly a common build/setup. Here's the itemized parts list on the Stream PC (it's a 2-pc setup): https://docs.google.com/spreadsheets/d/1a0X-yUlPkp-gfzQQ_WwKvpJQmOnut60u1wdLVpKgLnQ/edit?usp=sharing
 
Last edited:
I natively play at 1440p/144hz and the capture card fully supports it. I am trying to use Rescale Output to 1080p to send to Twitch while still recording locally at 1440p.
capture card was set to 1080p in the log, why not 1440p then? set its format to nv12 and it should be ok. xrgb puts extra load on cpu if im correct
but if cpu based output scaling cant make it for some reason, consider disabling it and scaling 1440p->1080p on video tab with lanczos filter. you will stream and record 1080p in this case

update obs
 

XeiZ

Member
As was already mentioned, you are 3 MAJOR (and some minor) versions behind, so no point in troubleshooting old versions.
Even if you reply with "i did it to test" now, that makes no difference, too many changes happened between 17 and 20, so those logs are quite useless.
 

EDGAR_SEC

Member
capture card was set to 1080p in the log, why not 1440p then? set its format to nv12 and it should be ok. xrgb puts extra load on cpu if im correct
but if cpu based output scaling cant make it for some reason, consider disabling it and scaling 1440p->1080p on video tab with lanczos filter. you will stream and record 1080p in this case

update obs

If your analysis is that the Rescale Output setting is erroneously setting the capture to 1080p, then that's obviously a bug. As previously mentioned, the only difference in settings between the two logs generated is the Rescale Output option being checked or unchecked.

Also, you're forgetting the part where I said I could switch it around and stream 1440p while recording 1080p by selecting the Rescale Output setting under the Recording tab. Logically, this should be the same load as streaming 1080p while recording 1440p.

I could even use x264 streaming at 1440p while setting NVENC to record at 1440p and have no issues. However, once I check that box for Rescale Output on the streaming tab, it throws up overload errors too. This isn't an issue of underpowered hardware. The CPU usage while doing this sits at ~23-31%. Minuscule CPU savings such as using Bicubic instead of Lanczos aren't anything to worry about. I can even open up multiple instances of OBS and have both of them x264 encode simultaneously with no encoder overload. This is an extremely robust machine.


As was already mentioned, you are 3 MAJOR (and some minor) versions behind, so no point in troubleshooting old versions.
Even if you reply with "i did it to test" now, that makes no difference, too many changes happened between 17 and 20, so those logs are quite useless.

I have also tested this with maybe the 6 most recent revisions and it's still present. Do you want those logs too which show the exact same thing?


I know only one open bug related to rescale: x264 Rescale Output, Over Saturating Colors (20.0.1 affected).

Rescale Output adds one more task to CPU. While Settings>Video>Output (Scaled) Resolution - just shader program (GPU).

Just in case, OBS Studio Help Guide: https://obsproject.com/forum/resour...ware-studio-multiplatform-help-guide-pdf.365/

Thanks. I actually read through that thread before. I'm actually one of those posters that does research here (and on Doom9) before making a post. It seems like I've just stumbled on something that no one else has like usual.


Thanks everyone for all the posts so far.
 

EDGAR_SEC

Member
Update: I installed the absolute latest version of OBS to generate a log file. This time for the streaming part I set it to x264 ULTRAFAST while using NVENC for the recording part. This should produce the absolute smallest CPU hit.

The encoder overload problem still remains.

Latest log file on the newest version of OBS as of this posting with x264 set to Ultrafast with the Rescale Output option selected. CPU usage the whole time hovers around 12%.

https://pastebin.com/WJbRp1c4

Remember, without the Rescale Output option checked, I can stream TWO instances of x264 on Fast preset of a 1440p/60fps stream.
 
Last edited:

EDGAR_SEC

Member
use NV12 color format in OBS advanced options and for capture card

Do you understand how the Rescaled Output works? Dodgepong's posts from two years ago show that this wouldn't have an effect based on the workflow:

It goes in order of: Source scale => Video scale => Output scale
https://obsproject.com/forum/thread...n-scaled-resolution-and-rescale-output.31028/

Furthermore, the CPU hit between NV12 and XRGB for that is miniscule.

For the n-th time: It doesn't matter what that is set to. I decided to indulge your suggestion though and ran it again with NV12 set for the capture card. Surprise, it made zero difference as referenced by the new log (x264 Ultrafast 1080p Rescaled Output to stream with a NVENC local recording).

Code:
03:43:09.055: CPU Name: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
03:43:09.055: CPU Speed: 2392MHz
03:43:09.055: Physical Cores: 36, Logical Cores: 36
03:43:09.055: Physical Memory: 262030MB Total, 255881MB Free
03:43:09.055: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
03:43:09.056: Running as administrator: false
03:43:09.056: Aero is Enabled (Aero is always on for windows 8 and above)
03:43:09.057: Portable mode: false
03:43:09.112: OBS 20.0.1 (64bit, windows)
03:43:09.112: ---------------------------------
03:43:09.113: ---------------------------------
03:43:09.113: audio settings reset:
03:43:09.113:     samples per sec: 44100
03:43:09.113:     speakers:        2
03:43:09.115: ---------------------------------
03:43:09.115: Initializing D3D11...
03:43:09.115: Available Video Adapters:
03:43:09.118:     Adapter 1: NVIDIA GeForce GTX 980
03:43:09.118:       Dedicated VRAM: 4258070528
03:43:09.118:       Shared VRAM:    4235565056
03:43:09.118:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
03:43:09.121: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
03:43:10.293: D3D11 loaded successfully, feature level used: 45056
03:43:11.166: ---------------------------------
03:43:11.166: video settings reset:
03:43:11.166:     base resolution:   2560x1440
03:43:11.166:     output resolution: 2560x1440
03:43:11.166:     downscale filter:  Bilinear
03:43:11.166:     fps:               60/1
03:43:11.166:     format:            NV12
03:43:11.167: Audio monitoring device:
03:43:11.167:     name: Default
03:43:11.167:     id: default
03:43:11.168: ---------------------------------
03:43:11.169: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
03:43:11.177: [CoreAudio encoder]: Adding CoreAudio AAC encoder
03:43:11.179: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
03:43:11.179: Failed to initialize module 'enc-amf.dll'
03:43:11.192: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
03:43:11.193: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
03:43:11.193: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
03:43:11.194: Failed to load 'en-US' text for module: 'obs-browser.dll'
03:43:11.194: [browser_source: 'Version: 1.29.0']
03:43:11.197: NVENC supported
03:43:11.242: VLC found, VLC video source enabled
03:43:11.250: No blackmagic support
03:43:11.316: ---------------------------------
03:43:11.316:   Loaded Modules:
03:43:11.316:     win-wasapi.dll
03:43:11.316:     win-mf.dll
03:43:11.316:     win-dshow.dll
03:43:11.316:     win-decklink.dll
03:43:11.316:     win-capture.dll
03:43:11.316:     vlc-video.dll
03:43:11.316:     text-freetype2.dll
03:43:11.316:     rtmp-services.dll
03:43:11.316:     obs-x264.dll
03:43:11.316:     obs-vst.dll
03:43:11.316:     obs-transitions.dll
03:43:11.316:     obs-text.dll
03:43:11.316:     obs-qsv11.dll
03:43:11.316:     obs-outputs.dll
03:43:11.316:     obs-filters.dll
03:43:11.316:     obs-ffmpeg.dll
03:43:11.316:     obs-browser.dll
03:43:11.316:     image-source.dll
03:43:11.316:     frontend-tools.dll
03:43:11.316:     enc-amf.dll
03:43:11.316:     coreaudio-encoder.dll
03:43:11.316: ---------------------------------
03:43:11.316: ==== Startup complete ===============================================
03:43:11.395: All scene data cleared
03:43:11.395: ------------------------------------------------
03:43:11.442: WASAPI: Device 'OUT to Mixer (Realtek High Definition Audio)' initialized
03:43:11.490: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
03:43:11.907: WASAPI: Device 'Line In (from MIXER) (Realtek High Definition Audio)' initialized
03:43:11.941: adding 162 milliseconds of audio buffering, total audio buffering is now 208 milliseconds
03:43:11.945: warning: deprecated pixel format used, make sure you did set range correctly
03:43:12.271: Switched to scene 'LIVE (Battlefield 1)'
03:43:12.274: ------------------------------------------------
03:43:12.274: Loaded scenes:
03:43:12.274: - scene 'MUTE':
03:43:12.274:     - source: 'Blocker Image' (image_source)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (BRB Big)' (browser_source)
03:43:12.274:     - source: 'Chat (BRB Big)' (browser_source)
03:43:12.274:     - source: 'Twitter Popup' (browser_source)
03:43:12.274:     - source: 'BRB' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Down)' (text_gdiplus)
03:43:12.274:     - source: 'Stream starting soon:' (text_gdiplus)
03:43:12.274:     - source: 'TwitchAlerts Box' (browser_source)
03:43:12.274: - scene 'BRB (Audio)':
03:43:12.274:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.274:     - source: 'Blocker Image' (image_source)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (BRB Big)' (browser_source)
03:43:12.274:     - source: 'Chat (BRB Big)' (browser_source)
03:43:12.274:     - source: 'Twitter Popup' (browser_source)
03:43:12.274:     - source: 'BRB' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Down)' (text_gdiplus)
03:43:12.274:     - source: 'Stream starting soon:' (text_gdiplus)
03:43:12.274:     - source: 'TwitchAlerts Box' (browser_source)
03:43:12.274: - scene 'LIVE (Battlefield 1)':
03:43:12.274:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.274:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.274:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.274:     - source: 'Twitter Popup' (browser_source)
03:43:12.274:     - source: 'DXRacer' (image_source)
03:43:12.274:         - filter: 'Chroma Key' (chroma_key_filter)
03:43:12.274:     - source: 'Trump' (image_source)
03:43:12.274:         - filter: 'Chroma Key' (chroma_key_filter)
03:43:12.274:     - source: 'Blocker (Battlefield 1)' (image_source)
03:43:12.274:     - source: 'TwitchAlerts Box' (browser_source)
03:43:12.274: - scene 'LIVE (Battlefield 4)':
03:43:12.274:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.274:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.274:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.274:     - source: 'Twitter Popup' (browser_source)
03:43:12.274:     - source: 'Blocker (Battlefield 4)' (image_source)
03:43:12.274: - scene 'LIVE (SW Battlefront 1)':
03:43:12.274:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.274:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (Wide)' (browser_source)
03:43:12.274:     - source: 'Chat (Wide)' (browser_source)
03:43:12.274:     - source: 'Twitter Popup' (browser_source)
03:43:12.274:     - source: 'Blocker (Battlefront)' (image_source)
03:43:12.274: - scene 'LIVE (BF Hardline)':
03:43:12.274:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.274:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.274:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.274:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.274:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.274:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Twitter Popup' (browser_source)
03:43:12.275:     - source: 'Blocker (BF Hardline)' (image_source)
03:43:12.275: - scene 'LIVE (Desktop)':
03:43:12.275:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.275:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.275:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.275:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.275:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Restream Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Twitter Popup' (browser_source)
03:43:12.275:     - source: 'Blocker Image' (image_source)
03:43:12.275: - scene 'Random (Temp)':
03:43:12.275:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.275:     - source: 'Magewell 4K AIO+' (dshow_input)
03:43:12.275:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.275:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.275:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Restream Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Twitter Popup' (browser_source)
03:43:12.275:     - source: 'Blocker Image' (image_source)
03:43:12.275: - scene 'Play Video File':
03:43:12.275:     - source: 'LINE IN from MIXER' (wasapi_input_capture)
03:43:12.275:     - source: 'VLC Video Source' (vlc_source)
03:43:12.275:     - source: 'Viewer Count' (text_gdiplus)
03:43:12.275:     - source: 'Timer (Count Up)' (text_gdiplus)
03:43:12.275:     - source: 'Restream Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Restream Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Chat (Small Box)' (browser_source)
03:43:12.275:     - source: 'Chat (Wide)' (browser_source)
03:43:12.275:     - source: 'Twitter Popup' (browser_source)
03:43:12.275:     - source: 'Blocker Image' (image_source)
03:43:12.275: ------------------------------------------------
03:43:12.488: warning: deprecated pixel format used, make sure you did set range correctly
03:43:12.527: warning: deprecated pixel format used, make sure you did set range correctly
03:43:13.592: ---------------------------------
03:43:13.592: [DShow Device: 'Magewell 4K AIO+'] settings updated:
03:43:13.592:     video device: Video (Pro Capture)
03:43:13.592:     video path: \\?\pci#ven_1cd7&dev_0014&subsys_00000001&rev_01#4&283ea579&1&0010#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\video
03:43:13.592:     resolution: 2560x1440
03:43:13.592:     fps: 60.00 (interval: 166666)
03:43:13.592:     format: NV12
03:43:25.902: ---------------------------------
03:43:25.902: [x264 encoder: 'streaming_h264'] preset: ultrafast
03:43:25.902: [x264 encoder: 'streaming_h264'] profile: main
03:43:25.903: [x264 encoder: 'streaming_h264'] settings:
03:43:25.903:     rate_control: CBR
03:43:25.903:     bitrate:      6000
03:43:25.903:     buffer size:  6000
03:43:25.903:     crf:          0
03:43:25.903:     fps_num:      60
03:43:25.903:     fps_den:      1
03:43:25.903:     width:        1920
03:43:25.903:     height:       1080
03:43:25.903:     keyint:       120
03:43:25.903:
03:43:25.938: [CoreAudio AAC: 'Track1']: settings:
03:43:25.938:     mode:          AAC
03:43:25.938:     bitrate:       160
03:43:25.938:     sample rate:   44100
03:43:25.938:     cbr:           on
03:43:25.938:     output buffer: 1536
03:43:25.938: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-atl.twitch.tv/app...
03:43:25.939: [rtmp stream: 'adv_stream'] Binding to IPv4
03:43:25.941: ---------------------------------
03:43:25.941: [NVENC encoder: 'recording_h264'] settings:
03:43:25.941:     rate_control: CBR
03:43:25.941:     bitrate:      2500
03:43:25.941:     cqp:          0
03:43:25.941:     keyint:       250
03:43:25.941:     preset:       default
03:43:25.941:     profile:      main
03:43:25.941:     level:        auto
03:43:25.941:     width:        2560
03:43:25.941:     height:       1440
03:43:25.941:     2-pass:       true
03:43:25.941:     b-frames:     2
03:43:25.941:     GPU:          0
03:43:25.941:
03:43:25.979: [rtmp stream: 'adv_stream'] Interface: Intel(R) I210 Gigabit Network Connection (ethernet, 1000 mbps)
03:43:26.928: [rtmp stream: 'adv_stream'] Connection to rtmp://live-atl.twitch.tv/app successful
03:43:27.281: ==== Recording Start ===============================================
03:43:27.281: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/2017-09-15-p01 - TESTING (Private).flv'...
03:43:27.333: ==== Streaming Start ===============================================
03:44:05.466: [rtmp stream: 'adv_stream'] User stopped the stream
03:44:05.466: Output 'adv_stream': stopping
03:44:05.466: Output 'adv_stream': Total frames output: 1895
03:44:05.466: Output 'adv_stream': Total drawn frames: 2363 (2371 attempted)
03:44:05.466: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.3%)
03:44:05.473: ==== Streaming Stop ================================================
03:44:06.283: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/2017-09-15-p01 - TESTING (Private).flv' stopped
03:44:06.283: Output 'adv_file_output': stopping
03:44:06.283: Output 'adv_file_output': Total frames output: 1927
03:44:06.283: Output 'adv_file_output': Total drawn frames: 2340
03:44:06.288: ==== Recording Stop ================================================
03:44:07.124: Video stopped, number of skipped frames due to encoding lag: 1907/2015 (94.6%)


Nice edit.
 

Attachments

  • nth time.jpg
    62.9 KB · Views: 26
I insisted on NV12 because RGB can cause performance problems and obs warns you its not supported by gpu. If its not a problem in your case then im out of ideas

20:05:51.674: GPU conversion not available for format: 6
 

Suslik V

Active Member
In general, encoding cannot start if rescale not complete. Thus, if rescale is too slow (until full frame is ready) - you need frequency, not only cores. Just my thoughts.
 

EDGAR_SEC

Member
I insisted on NV12 because RGB can cause performance problems and obs warns you its not supported by gpu. If its not a problem in your case then im out of ideas

20:05:51.674: GPU conversion not available for format: 6

No problem! THanks!

In general, encoding cannot start if rescale not complete. Thus, if rescale is too slow (until full frame is ready) - you need frequency, not only cores. Just my thoughts.

I thought the same thing too so I turned on CPU/GPU monitoring and the CPU never ever had to clock up to max frequency. The thing is this is also the only rescale needed and wouldn't be fundamentally different from just changing the base output resolution in the Video settings.

If I use the Rescale Output option down to 1080p to send to Twitch, the NVENC native 1440p local recording also exhibits the same encoder lag in the local output file. Odd.

Hopefully a dev stumbles across this thread and could provide some deeper insight. Thanks for the responses so far.
 

Suslik V

Active Member
It fundamentally different. (texture resize by GPU vs image resize by CPU)

Also, are you using rescale while same as stream encoder is set - just for testing? (because output is the same, no second encoding task, encoded packet that just used during streaming simply copied into recording).

And what happens if you set for recording x264 encoder (software) and enable rescale for it too?
 

EDGAR_SEC

Member
It fundamentally different. (texture resize by GPU vs image resize by CPU)

Also, are you using rescale while same as stream encoder is set - just for testing? (because output is the same, no second encoding task, encoded packet that just used during streaming simply copied into recording).

And what happens if you set for recording x264 encoder (software) and enable rescale for it too?

1) I tested rescale where the stream encoder is set and it worked perfectly fine.

2) Rescale for the x264 local recording works perfectly fine.

Is there a specific reason why the Rescale Output option wouldn't be coded to just resize it back through the GPU again?

I've eliminated nearly all CPU loads (by even setting the initial x264 setting to Ultrafast). My usage never goes about 13% and it never clocks up more than 50% of the time, so there should be more than enough available CPU to do that image resize on the CPU with the Rescale Output option, right?
 
Top