Bug Report BM Intensity Pro - black when switching to second scene

TCi

Member
System
BM Intensity Pro (PCIe)
Win7x64
OBS: 0.554b
When switching between the scenes while the capture device is active, the scene I switch to will be black. If I unselect the device and select it again, the picture appears. Then switching back to the original scene, it turns black.

So it seems the device can only be active on one scene at the time.

A temporarily solution is to add the device to Global Sources.

This is what I do.
  • Create two scenes and add "Video Capture Device" to both
  • Add Declink Video Capture as source
  • For Wii U I use 1080i60 29.97fps with Blend interlace settings

I haven't tested with different video settings yet.

The parts of the log file
Code:
15:47:00: =====Stream Start: 2013-09-18, 15:47:00===============================================
15:47:00:   Multithreaded optimizations: On
15:47:00:   Base resolution: 1920x1080
15:47:00:   Output resolution: 1920x1080
15:47:00: ------------------------------------------
15:47:00: Loading up D3D10 on ATI Radeon HD 3400 Series...
15:47:00: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
15:47:01: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
15:47:01: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawYUVTexture.pShader.blob
15:47:01: Playback device Default
15:47:01: ------------------------------------------
15:47:01: Using desktop audio input: Speakers (VIA High Definition Audio)
15:47:01: ------------------------------------------
15:47:01:     device: Decklink Video Capture,
15:47:01:     device id (null),
15:47:01:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333333-333333, fourCC: 'HDYC'
15:47:01:     audio device: Decklink Audio Capture,
15:47:01:     audio device id (null),
15:47:01: 
15:47:01: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:47:01:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:47:01: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:47:01: Using directshow input
15:47:01: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:47:01: MMDeviceAudioSource: Frequency for device 'Speakers (VIA High Definition Audio)' is 384000, samples per sec is 48000
15:47:27: ------------------------------------------
15:47:27:     device: Decklink Video Capture,
15:47:27:     device id (null),
15:47:27:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:47:27:     audio device: Decklink Audio Capture,
15:47:27:     audio device id (null),
15:47:27: 
15:47:27: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:47:27:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:47:27: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:47:27: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:47:44: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:47:44:   New Scene
15:48:06: ------------------------------------------
15:48:06:     device: Decklink Video Capture,
15:48:06:     device id (null),
15:48:06:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:06:     audio device: Decklink Audio Capture,
15:48:06:     audio device id (null),
15:48:06: 
15:48:06: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:06:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:48:06: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:48:06: Using directshow input
15:48:06: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:48:09: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:48:09:   New Scene
15:48:09: ------------------------------------------
15:48:09:     device: Decklink Video Capture,
15:48:09:     device id (null),
15:48:09:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:09:     audio device: Decklink Audio Capture,
15:48:09:     audio device id (null),
15:48:09: 
15:48:09: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:09:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
Warning -- DShowPlugin: Failed to connect the video device pin to the video capture pin, result = 80040217
15:48:09: Using directshow input
15:48:09: PERFORMANCE WARNING: Scene change took 532 ms, maybe some sources should be global sources?
15:48:15: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:48:15:   New Scene
15:48:15: ------------------------------------------
15:48:15:     device: Decklink Video Capture,
15:48:15:     device id (null),
15:48:15:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:15:     audio device: Decklink Audio Capture,
15:48:15:     audio device id (null),
15:48:15: 
15:48:15: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:15:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:48:15: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:48:15: Using directshow input
15:48:15: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:48:18: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:48:18:   New Scene
15:48:18: ------------------------------------------
15:48:18:     device: Decklink Video Capture,
15:48:18:     device id (null),
15:48:18:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:18:     audio device: Decklink Audio Capture,
15:48:18:     audio device id (null),
15:48:18: 
15:48:18: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:18:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
Warning -- DShowPlugin: Failed to connect the video device pin to the video capture pin, result = 80040217
15:48:18: Using directshow input
15:48:23: ------------------------------------------
15:48:23:     device: Decklink Video Capture,
15:48:23:     device id (null),
15:48:23:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:23:     audio device: Decklink Audio Capture,
15:48:23:     audio device id (null),
15:48:23: 
15:48:23: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:23:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:48:23: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:48:23: Using directshow input
15:48:23: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:48:28: ------------------------------------------
15:48:28:     device: Decklink Video Capture,
15:48:28:     device id (null),
15:48:28:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:28:     audio device: Decklink Audio Capture,
15:48:28:     audio device id (null),
15:48:28: 
15:48:28: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:28:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:48:29: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:48:29: Using directshow input
15:48:29: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:48:31: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:48:31:   New Scene
15:48:31: ------------------------------------------
15:48:31:     device: Decklink Video Capture,
15:48:31:     device id (null),
15:48:31:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:31:     audio device: Decklink Audio Capture,
15:48:31:     audio device id (null),
15:48:31: 
15:48:31: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:31:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
Warning -- DShowPlugin: Failed to connect the video device pin to the video capture pin, result = 80040217
15:48:31: Using directshow input
15:48:31: PERFORMANCE WARNING: Scene change took 632 ms, maybe some sources should be global sources?
15:48:39: ------------------------------------------
15:48:39:     device: Decklink Video Capture,
15:48:39:     device id (null),
15:48:39:     chosen type: HDYC, usingFourCC: true, res: 1920x1080 - 1920x1080, frameIntervals: 333667-333667, fourCC: 'HDYC'
15:48:39:     audio device: Decklink Audio Capture,
15:48:39:     audio device id (null),
15:48:39: 
15:48:39: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/HDYCToRGB.pShader.blob
15:48:39:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
15:48:39: C:/Users/Live/AppData/Roaming/OBS/shaderCache/plugins/DShowPlugin/shaders/Deinterlace_blend.pShader.blob
15:48:39: Using directshow input
15:48:39: C:/Users/Live/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
15:49:05: Total frames rendered: 6770, number of late frames: 1396 (20.62%) (it's okay for some frames to be late)
15:49:05: Total duplicated frames to ensure constant framerate: 0 (0.00%)
15:49:05: 
15:49:05: Profiler results:
15:49:05: 
15:49:05: ==============================================================
15:49:05: frame - [100%] [avg time: 8.714 ms (cpu time: avg 1.668 ms, total 11294.5 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.0344%]
15:49:05: | frame preprocessing and rendering - [99.9%] [avg time: 8.707 ms (cpu time: avg 1.663 ms, total 11263.3 ms)] [avg calls per frame: 1] [children: 17.9%] [unaccounted: 82.1%]
15:49:05: | | scene->Preprocess - [17.9%] [avg time: 1.557 ms (cpu time: avg 1.47 ms, total 9952.87 ms)] [avg calls per frame: 1]
15:49:05: | video encoding and uploading - [0.0459%] [avg time: 0.004 ms (cpu time: avg 0.004 ms, total 31.2 ms)] [avg calls per frame: 1] [children: 0.023%] [unaccounted: 0.023%]
15:49:05: | | flush - [0.023%] [avg time: 0.002 ms (cpu time: avg 0.002 ms, total 15.6 ms)] [avg calls per frame: 1]
15:49:05: ==============================================================
15:49:05: 
15:49:05: =====Stream End: 2013-09-18, 15:49:05=================================================
15:49:19: Video Source Plugin instance deleted; removing dynamically loaded localization strings
 

dodgepong

Administrator
Community Helper
Making the capture source a global source isn't a temporary solution, it's the correct solution.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, I'm going to attempt to fix the whole need for global sources for devices.
 

TCi

Member
Great. But this is by no means an important issue. Global Sources works, but will impact performance with too many devices. I have 5 in my PC, but only need this for 2 of them.
 
Top