Question / Help 852x480 vs 854x480

dodgepong

Administrator
Community Helper
Mathematically, a true 16:9 480p resolution is 853.333...x480. That isn't a resolution that is possible to achieve, so you just get as close as you can. Don't worry about R1CH's analyzer warning in that case.

Each side of the resolution has to be divisible by 4 for OBS's scaling algorithm to work efficiently (it's an alignment issue, as Jim tells me), so OBS chooses 852x480 instead of 854x480. Both versions are roughly 1 pixel off from what it is "supposed" to be, so the choice is kind of arbitrary.
 

R1CH

Forum Admin
Developer
I guess I should update the analyzer to account for minor offsets caused by downscaling. Two pixels isn't going to kill anyone :).
 

Anonanon

Member
dodgepong said:

Code:
17:40:01: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
17:40:01: -------------------------------
17:40:01: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
17:40:01: CPU Speed: 3292MHz
17:40:01: Physical Memory:  4095MB Total, 4095MB Free
17:40:01: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
17:40:01: monitor 1: pos={0, 0}, size={1920, 1080}
17:40:01: monitor 2: pos={-1050, -400}, size={1050, 1680}
17:40:01: Windows Version: 6.1 Build 7601 S
17:40:01: Aero is Disabled
17:40:01: -------------------------------
17:40:01: OBS Modules:
17:40:01: Base Address     Module
17:40:01: 00CE0000         OBS.exe
17:40:01: 64420000         OBSApi.dll
17:40:01: 641E0000         DShowPlugin.dll
17:40:01: 641C0000         GraphicsCapture.dll
17:40:01: 641A0000         NoiseGate.dll
17:40:01: 64180000         PSVPlugin.dll
17:40:01: ------------------------------------------
17:40:01: Adapter 1
17:40:01:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
17:40:01:   Video Adapter Dedicated Video Memory: 1025966080
17:40:01:   Video Adapter Shared System Memory: 3220779008
17:40:01:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:40:01:   Video Adapter Output 2: pos={-1050, -400}, size={1050, 1680}, attached=true
17:40:01: =====Stream Start: 2014-01-27, 17:40:01===============================================
17:40:01:   Multithreaded optimizations: On
17:40:01:   Base resolution: 1280x720
17:40:01:   Output resolution: 852x480
17:40:01: ------------------------------------------
17:40:01: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
17:40:01: ------------------------------------------
17:40:01: Audio Format: 48000hz
17:40:01: Playback device Default
17:40:01: ------------------------------------------
17:40:01: Using desktop audio input: Coaxial (High Definition Audio Device)
17:40:01: ------------------------------------------
17:40:01: Audio Encoding: AAC
17:40:01:     bitrate: 128
17:40:01: Using graphics capture
17:40:01: Using bitmap image
17:40:01: Using text output
17:40:01: Using Window Capture
17:40:01: Using Window Capture
17:40:01: Using bitmap image
17:40:01: Scene buffering time set to 400
17:40:01: ------------------------------------------
17:40:01: Video Encoding: x264
17:40:01:     fps: 60
17:40:01:     width: 852, height: 480
17:40:01:     preset: veryfast
17:40:01:     profile: main
17:40:01:     keyint: 120
17:40:01:     CBR: yes
17:40:01:     CFR: yes
17:40:01:     max bitrate: 2000
17:40:01:     buffer size: 2000
17:40:01: ------------------------------------------
17:40:01: MMDeviceAudioSource: Frequency for device 'Coaxial (High Definition Audio Device)' is 384000, samples per sec is 48000
17:41:11: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:11:   New Scene
17:41:11: Using bitmap image
17:41:11: Using text output
17:41:11: Using Window Capture
17:41:11: Using graphics capture
17:41:11: Using bitmap image
17:41:11: Using bitmap image
17:41:11: Using bitmap image
17:41:11: Using bitmap image
17:41:11: Using bitmap image
17:41:11: Using bitmap image
17:41:11: Using Window Capture
17:41:12: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:12:   New Scene
17:41:12: Using graphics capture
17:41:12: Using bitmap image
17:41:12: Using text output
17:41:12: Using Window Capture
17:41:12: Using bitmap image
17:41:14: Total frames encoded: 4322, total frames duplicated: 0 (0.00%)
17:41:14: Total frames rendered: 4329, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
17:41:14: 
17:41:14: Profiler time results:
17:41:14: 
17:41:14: ==============================================================
17:41:14: video thread frame - [100%] [avg time: 1.211 ms] [children: 62.7%] [unaccounted: 37.3%]
17:41:14: | scene->Preprocess - [58.1%] [avg time: 0.704 ms]
17:41:14: | GPU download and conversion - [4.54%] [avg time: 0.055 ms] [children: 3.96%] [unaccounted: 0.578%]
17:41:14: | | flush - [2.48%] [avg time: 0.03 ms]
17:41:14: | | CopyResource - [1.24%] [avg time: 0.015 ms]
17:41:14: | | conversion to 4:2:0 - [0.248%] [avg time: 0.003 ms]
17:41:14: Convert444Threads - [100%] [avg time: 0.471 ms] [children: 98.9%] [unaccounted: 1.06%]
17:41:14: | Convert444toNV12 - [98.9%] [avg time: 0.466 ms]
17:41:14: encoder thread frame - [100%] [avg time: 0.582 ms]
17:41:14: ==============================================================
17:41:14: 
17:41:14: 
17:41:14: Profiler CPU results:
17:41:14: 
17:41:14: ==============================================================
17:41:14: video thread frame - [cpu time: avg 0.918 ms, total 3978.03 ms] [avg calls per frame: 1]
17:41:14: | scene->Preprocess - [cpu time: avg 0.028 ms, total 124.802 ms] [avg calls per frame: 1]
17:41:14: | GPU download and conversion - [cpu time: avg 0.025 ms, total 109.2 ms] [avg calls per frame: 1]
17:41:14: | | flush - [cpu time: avg 0.003 ms, total 15.6 ms] [avg calls per frame: 1]
17:41:14: | | CopyResource - [cpu time: avg 0.01 ms, total 46.8 ms] [avg calls per frame: 1]
17:41:14: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 31.2 ms] [avg calls per frame: 1]
17:41:14: Convert444Threads - [cpu time: avg 0.268 ms, total 2308.81 ms] [avg calls per frame: 2]
17:41:14: | Convert444toNV12 - [cpu time: avg 0.268 ms, total 2308.81 ms] [avg calls per frame: 2]
17:41:14: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:41:14: ==============================================================
17:41:14: 
17:41:14: =====Stream End: 2014-01-27, 17:41:14=================================================

I'm seeing the log saying I'm outputting at 48khz, so I take it that R1CH's Analyzer is detecting it wrong?
 

R1CH

Forum Admin
Developer
It seems to show 48 khz for me when I stream at 48 khz. Strange. Maybe the transmuxer re-encodes the audio?
 
Top