Question / Help Colors

ttiasas

New Member
Hello,

I use ezcap 261m and connect DSLR to Macbook and OBS to stream.

I attached screen > one is from live in facebook with OBS and one is same video at the same time I record with DSLR.

Why colors is so different? I use standart OSB settings and didnt change anything. It can be OBS problem?

Original DSLR record:

5d45si.jpg

Live from facebook:

1z2izit.jpg
 

ttiasas

New Member
Code:
20:20:23.036: CPU Name: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
20:20:23.036: CPU Speed: 2300MHz
20:20:23.037: Physical Cores: 4, Logical Cores: 8
20:20:23.037: Physical Memory: 8192MB Total
20:20:23.037: OS Name: Mac OS X (NSMACHOperatingSystem)
20:20:23.037: OS Version: Version 10.14.3 (Build 18D109)
20:20:23.037: Kernel Version: 18.2.0
20:20:23.040: hotkeys-cocoa: Using layout 'org.sil.ukelele.keyboardlayout.lithuanian(numeric).lithuanian(numeric)'
20:20:23.040: Portable mode: false
20:20:23.158: OBS 22.0.3 (mac)
20:20:23.158: ---------------------------------
20:20:23.158: ---------------------------------
20:20:23.158: audio settings reset:
20:20:23.158:     samples per sec: 44100
20:20:23.158:     speakers:        2
20:20:23.159: ---------------------------------
20:20:23.160: Initializing OpenGL...
20:20:23.178: Loading up OpenGL on adapter Intel Inc. Intel(R) Iris(TM) Plus Graphics 655
20:20:23.178: OpenGL loaded successfully, version 4.1 INTEL-12.4.7, shading language 4.10
20:20:23.232: ---------------------------------
20:20:23.232: video settings reset:
20:20:23.232:     base resolution:   1280x720
20:20:23.232:     output resolution: 1280x720
20:20:23.232:     downscale filter:  Bicubic
20:20:23.232:     fps:               30/1
20:20:23.232:     format:            NV12
20:20:23.232:     YUV mode:          601/Partial
20:20:23.232: Audio monitoring device:
20:20:23.232:     name: Default
20:20:23.232:     id: default
20:20:23.232: ---------------------------------
20:20:23.240: os_dlopen(libpython3.6m.dylib->libpython3.6m.dylib): dlopen(libpython3.6m.dylib, 1): image not found
20:20:23.240:
20:20:23.240: [Python] Could not load library: libpython3.6m.dylib
20:20:23.349: No blackmagic support
20:20:23.403: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
20:20:23.420: [obs-browser]: Version 2.1.6
20:20:23.437: os_dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib->/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib): dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib, 1): image not found
20:20:23.437:
20:20:23.437: Couldn't find VLC installation, VLC video source disabled
20:20:23.437: Ignoring old obs-browser.so version
20:20:23.438: ---------------------------------
20:20:23.438:   Loaded Modules:
20:20:23.438:     vlc-video.so
20:20:23.438:     text-freetype2.so
20:20:23.438:     rtmp-services.so
20:20:23.438:     obs-x264.so
20:20:23.438:     obs-vst.so
20:20:23.438:     obs-transitions.so
20:20:23.438:     obs-outputs.so
20:20:23.438:     obs-filters.so
20:20:23.438:     obs-ffmpeg.so
20:20:23.438:     obs-browser.so
20:20:23.438:     mac-vth264.so
20:20:23.438:     mac-syphon.so
20:20:23.438:     mac-decklink.so
20:20:23.438:     mac-capture.so
20:20:23.438:     mac-avcapture.so
20:20:23.438:     linux-jack.so
20:20:23.438:     image-source.so
20:20:23.438:     frontend-tools.so
20:20:23.438:     coreaudio-encoder.so
20:20:23.438: ---------------------------------
20:20:23.438: ==== Startup complete ===============================================
20:20:23.569: All scene data cleared
20:20:23.569: ------------------------------------------------
20:20:23.609: coreaudio: device 'External Microphone' initialized
20:20:23.612: coreaudio: device 'ezcap U3 capture' initialized
20:20:23.620: Video Capture Device: Selected device 'ezcap U3 capture #2'
20:20:23.621: Video Capture Device: Using preset 1280x720
20:20:26.466: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
20:20:29.171: Switched to scene 'Scene'
20:20:29.171: ------------------------------------------------
20:20:29.171: Loaded scenes:
20:20:29.171: - scene 'Scene':
20:20:29.172:     - source: 'Image' (image_source)
20:20:29.172:     - source: 'Video Capture Device' (av_capture_input)
20:20:29.172:     - source: 'Audio Input Capture' (coreaudio_input_capture)
20:20:29.172: ------------------------------------------------
20:21:19.227: ---------------------------------
20:21:19.227: [x264 encoder: 'simple_h264_stream'] preset: faster
20:21:19.227: [x264 encoder: 'simple_h264_stream'] profile: main
20:21:19.228: [x264 encoder: 'simple_h264_stream'] settings:
20:21:19.228:     rate_control: CBR
20:21:19.228:     bitrate:      4000
20:21:19.228:     buffer size:  4000
20:21:19.228:     crf:          0
20:21:19.228:     fps_num:      30
20:21:19.228:     fps_den:      1
20:21:19.228:     width:        1280
20:21:19.228:     height:       720
20:21:19.228:     keyint:       60
20:21:19.228:
20:21:19.236: [CoreAudio AAC: 'simple_aac']: settings:
20:21:19.236:     mode:          AAC
20:21:19.236:     bitrate:       160
20:21:19.236:     sample rate:   44100
20:21:19.236:     cbr:           on
20:21:19.236:     output buffer: 1536
20:21:19.237: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
20:21:20.077: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ successful
20:21:20.081: ==== Streaming Start ===============================================
20:21:43.062: [rtmp stream: 'simple_stream'] User stopped the stream
20:21:43.062: Output 'simple_stream': stopping
20:21:43.062: Output 'simple_stream': Total frames output: 650
20:21:43.062: Output 'simple_stream': Total drawn frames: 714
20:21:43.064: ==== Streaming Stop ================================================
20:30:37.573: ---------------------------------
20:30:37.574: [x264 encoder: 'simple_h264_stream'] preset: faster
20:30:37.574: [x264 encoder: 'simple_h264_stream'] profile: main
20:30:37.574: [x264 encoder: 'simple_h264_stream'] settings:
20:30:37.574:     rate_control: CBR
20:30:37.574:     bitrate:      4000
20:30:37.574:     buffer size:  4000
20:30:37.574:     crf:          0
20:30:37.574:     fps_num:      30
20:30:37.574:     fps_den:      1
20:30:37.574:     width:        1280
20:30:37.574:     height:       720
20:30:37.574:     keyint:       60
20:30:37.574:
20:30:37.582: [CoreAudio AAC: 'simple_aac']: settings:
20:30:37.582:     mode:          AAC
20:30:37.582:     bitrate:       160
20:30:37.582:     sample rate:   44100
20:30:37.582:     cbr:           on
20:30:37.582:     output buffer: 1536
20:30:37.582: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
20:30:38.351: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ successful
20:30:38.354: ==== Streaming Start ===============================================
20:44:43.759: WriteN, RTMP send error 32 (480 bytes)
20:44:43.761: WriteN, RTMP send error 32 (96 bytes)
20:44:43.761: WriteN, RTMP send error 9 (42 bytes)
20:44:43.761: [rtmp stream: 'simple_stream'] Disconnected from rtmps://rtmp-api.facebook.com:443/rtmp/
20:44:43.761: Output 'simple_stream': stopping
20:44:43.761: Output 'simple_stream': Total frames output: 25247 (25323 attempted)
20:44:43.761: Output 'simple_stream': Total drawn frames: 25386
20:44:43.761: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 76 (0.3%)
20:44:43.761: Output 'simple_stream':  Reconnecting in 9 seconds..
20:44:43.761: [rtmp stream: 'simple_stream'] Freeing 1 remaining packets
20:44:52.761: ---------------------------------
20:44:52.761: [x264 encoder: 'simple_h264_stream'] preset: faster
20:44:52.761: [x264 encoder: 'simple_h264_stream'] profile: main
20:44:52.761: [x264 encoder: 'simple_h264_stream'] settings:
20:44:52.761:     rate_control: CBR
20:44:52.761:     bitrate:      4000
20:44:52.761:     buffer size:  4000
20:44:52.761:     crf:          0
20:44:52.761:     fps_num:      30
20:44:52.761:     fps_den:      1
20:44:52.761:     width:        1280
20:44:52.761:     height:       720
20:44:52.761:     keyint:       60
20:44:52.761:
20:44:52.766: [CoreAudio AAC: 'simple_aac']: settings:
20:44:52.766:     mode:          AAC
20:44:52.766:     bitrate:       160
20:44:52.766:     sample rate:   44100
20:44:52.766:     cbr:           on
20:44:52.766:     output buffer: 1536
20:44:52.766: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
20:44:54.101: RTMPSockBuf_Fill, recv returned -30848. GetSockError(): 0 (unknown error)
20:44:54.101: Output 'simple_stream':  Reconnecting in 9 seconds..
20:44:54.101: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -3
20:45:12.103: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
20:45:12.984: RTMPSockBuf_Fill, recv returned -30848. GetSockError(): 0 (unknown error)
20:45:12.984: Output 'simple_stream':  Reconnecting in 9 seconds..
20:45:12.985: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -3
20:45:48.987: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
20:45:49.802: RTMPSockBuf_Fill, recv returned -30848. GetSockError(): 0 (unknown error)
20:45:49.802: Output 'simple_stream':  Reconnecting in 9 seconds..
20:45:49.802: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ failed: -3
20:46:19.298: ==== Shutting down ==================================================
20:46:19.301: Switched to scene '(null)'
20:46:19.588: All scene data cleared
20:46:19.588: ------------------------------------------------
20:46:19.637: Freeing OBS context data
20:46:19.645: [Scripting] Total detached callbacks: 0
20:46:19.650: == Profiler Results =============================
20:46:19.650: run_program_init: 3706.18 ms
20:46:19.650:  ┣OBSApp::AppInit: 2.045 ms
20:46:19.650:  ┃ ┗OBSApp::InitLocale: 0.884 ms
20:46:19.650:  ┗OBSApp::OBSInit: 495.694 ms
20:46:19.650:    ┣obs_startup: 3.889 ms
20:46:19.650:    ┗OBSBasic::OBSInit: 323.27 ms
20:46:19.650:      ┣OBSBasic::InitBasicConfig: 0.24 ms
20:46:19.650:      ┣OBSBasic::ResetAudio: 0.08 ms
20:46:19.650:      ┣OBSBasic::ResetVideo: 73.192 ms
20:46:19.650:      ┣OBSBasic::InitOBSCallbacks: 0.006 ms
20:46:19.650:      ┣OBSBasic::InitHotkeys: 0.048 ms
20:46:19.650:      ┣obs_load_all_modules: 205.614 ms
20:46:19.650:      ┃ ┣obs_init_module(coreaudio-encoder.so): 0.004 ms
20:46:19.650:      ┃ ┣obs_init_module(frontend-tools.so): 3.497 ms
20:46:19.650:      ┃ ┣obs_init_module(image-source.so): 0.003 ms
20:46:19.650:      ┃ ┣obs_init_module(linux-jack.so): 0.002 ms
20:46:19.650:      ┃ ┣obs_init_module(mac-avcapture.so): 97.511 ms
20:46:19.650:      ┃ ┣obs_init_module(mac-capture.so): 0.004 ms
20:46:19.650:      ┃ ┣obs_init_module(mac-decklink.so): 0.114 ms
20:46:19.650:      ┃ ┣obs_init_module(mac-syphon.so): 0.003 ms
20:46:19.650:      ┃ ┣obs_init_module(mac-vth264.so): 49.16 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-browser.so): 0.057 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.011 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-filters.so): 0.007 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-outputs.so): 0.005 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-transitions.so): 0.006 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-vst.so): 0.012 ms
20:46:19.650:      ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
20:46:19.650:      ┃ ┣obs_init_module(rtmp-services.so): 0.697 ms
20:46:19.650:      ┃ ┣obs_init_module(text-freetype2.so): 0.01 ms
20:46:19.650:      ┃ ┗obs_init_module(vlc-video.so): 0.162 ms
20:46:19.650:      ┣OBSBasic::ResetOutputs: 11.245 ms
20:46:19.650:      ┣OBSBasic::CreateHotkeys: 0.031 ms
20:46:19.650:      ┣OBSBasic::InitService: 1.079 ms
20:46:19.650:      ┗OBSBasic::InitPrimitives: 0.061 ms
20:46:19.650: obs_hotkey_thread(25 ms): min=0.019 ms, median=0.036 ms, max=1.151 ms, 99th percentile=0.092 ms, 100% below 25 ms
20:46:19.650: audio_thread(Audio): min=0 ms, median=0.327 ms, max=18.192 ms, 99th percentile=0.913 ms
20:46:19.650:  ┗receive_audio: min=0.001 ms, median=0.313 ms, max=1.987 ms, 99th percentile=0.548 ms, 0.615232 calls per parent call
20:46:19.650:    ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.126 ms, 99th percentile=0.005 ms
20:46:19.650:    ┗do_encode: min=0.191 ms, median=0.31 ms, max=1.984 ms, 99th percentile=0.543 ms
20:46:19.650:      ┗encode(simple_aac): min=0.187 ms, median=0.3 ms, max=1.974 ms, 99th percentile=0.52 ms
20:46:19.650: obs_graphics_thread(33.3333 ms): min=0.088 ms, median=0.704 ms, max=5537.56 ms, 99th percentile=2.76 ms, 99.9914% below 33.333 ms
20:46:19.650:  ┣tick_sources: min=0 ms, median=0.008 ms, max=5537.2 ms, 99th percentile=0.038 ms
20:46:19.650:  ┣output_frame: min=0.021 ms, median=0.494 ms, max=27.03 ms, 99th percentile=0.929 ms
20:46:19.650:  ┃ ┣gs_context(video->graphics): min=0.021 ms, median=0.375 ms, max=27.03 ms, 99th percentile=0.664 ms
20:46:19.650:  ┃ ┃ ┣render_video: min=0.018 ms, median=0.366 ms, max=27.023 ms, 99th percentile=0.651 ms
20:46:19.650:  ┃ ┃ ┃ ┣render_main_texture: min=0.015 ms, median=0.296 ms, max=27.02 ms, 99th percentile=0.505 ms
20:46:19.650:  ┃ ┃ ┃ ┣render_output_texture: min=0 ms, median=0.011 ms, max=0.165 ms, 99th percentile=0.044 ms, 0.559993 calls per parent call
20:46:19.650:  ┃ ┃ ┃ ┣render_convert_texture: min=0 ms, median=0.016 ms, max=10.009 ms, 99th percentile=0.06 ms, 0.559993 calls per parent call
20:46:19.650:  ┃ ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.07 ms, max=8.82 ms, 99th percentile=0.206 ms, 0.559993 calls per parent call
20:46:19.650:  ┃ ┃ ┣gs_flush: min=0 ms, median=0 ms, max=1.079 ms, 99th percentile=0 ms
20:46:19.650:  ┃ ┃ ┗download_frame: min=0 ms, median=0.001 ms, max=0.067 ms, 99th percentile=0.009 ms, 0.559993 calls per parent call
20:46:19.650:  ┃ ┗output_video_data: min=0.115 ms, median=0.145 ms, max=3.157 ms, 99th percentile=0.354 ms, 0.559821 calls per parent call
20:46:19.650:  ┗render_displays: min=0 ms, median=0.183 ms, max=113.379 ms, 99th percentile=2.335 ms
20:46:19.650: video_thread(video): min=0.472 ms, median=0.776 ms, max=6.779 ms, 99th percentile=1.267 ms
20:46:19.650:  ┗receive_video: min=0.471 ms, median=0.774 ms, max=6.778 ms, 99th percentile=1.266 ms
20:46:19.650:    ┗do_encode: min=0.47 ms, median=0.773 ms, max=6.777 ms, 99th percentile=1.265 ms
20:46:19.650:      ┗encode(simple_h264_stream): min=0.459 ms, median=0.752 ms, max=6.243 ms, 99th percentile=1.225 ms
20:46:19.650: =================================================
20:46:19.650: == Profiler Time Between Calls ==================
20:46:19.650: obs_hotkey_thread(25 ms): min=25.038 ms, median=27.639 ms, max=34.609 ms, 25.353% within ±2% of 25 ms (0% lower, 74.647% higher)
20:46:19.650: obs_graphics_thread(33.3333 ms): min=27.802 ms, median=33.286 ms, max=5537.57 ms, 27.9143% within ±2% of 33.333 ms (38.6793% lower, 33.4064% higher)
20:46:19.650: =================================================
20:46:19.689: Number of memory leaks: 0
 

Narcogen

Active Member
I don't see any mistakes in your configuration.

If you don't like what Facebook's reencoding does to your colors you can try and compensate by adding a color correction filter to your image when you stream.

Right-click your video source in OBS and choose "filters" from the drop-down, then add a "color correction" filter. You can use this to make adjustments so that the final image when you stream looks more like your source.
 
Might be long shot, but maybe check what Facebook's own advisory with regards to YUV mode is. Partial range can lead to crushed blacks and maybe Facebook expects a full color input except of partial.

However I noticed that even with 709/Full range the output is darker or more vibrant than the source. Haven't found the reason yet though.
 
Top