Hey guys, just curious as to what would cause duplicate frames. I am using a dual PC setup with an 8350fx in the streaming PC. I've tried various presets veryfast to medium and even on medium I dont exceed 70% usage but no matter which setting I use even if its veryfast I seem to have some frames being duplicated. I try to run a 60fps stream but when 2-10% of the frames are being duplicated it loses some of its fluidity.
Here is a log incase you are curious:
Just curious to what may be causing these frames to be duplicated and what steps I can take to reducing or eliminating it.
Here is a log incase you are curious:
Code:
18:46:11: Open Broadcaster Software v0.56.04 madness - 64bit ( ^ω^)
18:46:11: -------------------------------
18:46:11: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
18:46:11: CPU Speed: 4400MHz
18:46:11: Physical Memory: 4044MB Total, 2315MB Free
18:46:11: stepping id: 0, model 2, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
18:46:11: monitor 1: pos={0, 0}, size={1920, 1080}
18:46:11: monitor 2: pos={1920, 0}, size={1680, 1050}
18:46:11: Windows Version: 6.1 Build 7601 S
18:46:11: Aero is Enabled
18:46:11: -------------------------------
18:46:11: OBS Modules:
18:46:11: Base Address Module
18:46:11: 000000003F710000 OBS.exe
18:46:11: 00000000F0A00000 OBSApi.dll
18:46:11: 00000000FAC10000 DShowPlugin.dll
18:46:11: 00000000FABE0000 GraphicsCapture.dll
18:46:11: 00000000FAB20000 NoiseGate.dll
18:46:11: 00000000FAB00000 PSVPlugin.dll
18:46:11: ------------------------------------------
18:46:11: Adapter 1
18:46:11: Video Adapter: NVIDIA GeForce GTX 560
18:46:11: Video Adapter Dedicated Video Memory: 1025966080
18:46:11: Video Adapter Shared System Memory: 1851865088
18:46:11: =====Stream Start: 2013-09-23, 18:46:11===============================================
18:46:11: Multithreaded optimizations: On
18:46:11: Base resolution: 1280x720
18:46:11: Output resolution: 1280x720
18:46:11: ------------------------------------------
18:46:11: Loading up D3D10 on NVIDIA GeForce GTX 560...
18:46:11: ------------------------------------------
18:46:11: Audio Format: 48000hz
18:46:11: Playback device Default
18:46:11: ------------------------------------------
18:46:11: Using desktop audio input: Speakers (USB PnP Sound Device)
18:46:11: ------------------------------------------
18:46:11: Using auxilary audio input: Microphone (USB PnP Sound Device)
18:46:11: ------------------------------------------
18:46:11: Audio Encoding: AAC
18:46:11: bitrate: 128
18:46:11: Using text output
18:46:11: Using Window Capture
18:46:11: Using bitmap image
18:46:11: Using bitmap image
18:46:11: ------------------------------------------
18:46:11: device: Logitech HD Pro Webcam C920,
18:46:11: device id \\?\usb#vid_046d&pid_082d&mi_00#6&22453a1e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
18:46:11: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
18:46:11: audio device: Disable,
18:46:11: audio device id Disabled,
18:46:11:
18:46:11: Using directshow input
18:46:11: ------------------------------------------
18:46:11: device: AVerMedia HD Capture C985 Bus 6,
18:46:11: device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&16fd5669&0&0050#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
18:46:11: chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, frameIntervals: 166666-666666, fourCC: 'YV12'
18:46:11:
18:46:12: Using directshow input
18:46:12: ------------------------------------------
18:46:12: Video Encoding: x264
18:46:12: fps: 60
18:46:12: width: 1280, height: 720
18:46:12: preset: medium
18:46:12: CBR: yes
18:46:12: CFR: yes
18:46:12: max bitrate: 2600
18:46:12: buffer size: 2600
18:46:12: ------------------------------------------
18:46:12: MMDeviceAudioSource: Frequency for device 'Speakers (USB PnP Sound Device)' is 384000, samples per sec is 48000
18:46:12: MMDeviceAudioSource: Frequency for device 'Microphone (USB PnP Sound Device)' is 192000, samples per sec is 48000
18:46:12: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
18:46:15: Using RTMP service: Twitch / Justin.tv
18:46:15: Server selection: rtmp://live-jfk.justin.tv/app
18:46:15: Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
18:46:16: SO_SNDBUF was at 8192
18:46:16: SO_SNDBUF is now 65536
18:46:17: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 68830 / 349184)
18:46:18: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 26401 / 349184)
18:46:22: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 349184)
18:48:14: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:14: New Scene
18:48:14: Using bitmap image
18:48:15: Using bitmap image
18:48:15: Using bitmap image
18:48:15: Using text output
18:48:15: Using text output
18:48:15: Using text output
18:48:15: Using bitmap image
18:48:15: Using bitmap image
18:48:15: Using text output
18:48:15: Using bitmap image
18:48:15: PERFORMANCE WARNING: Scene change took 534 ms, maybe some sources should be global sources?
18:48:15: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:15: New Scene
18:48:15: Using text output
18:48:15: Using text output
18:48:15: Using text output
18:48:15: Using bitmap image
18:48:16: Using bitmap image
18:48:16: Using text output
18:48:16: Using Window Capture
18:48:16: Using bitmap image
18:48:18: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:18: New Scene
18:48:18: Using text output
18:48:18: Using text output
18:48:18: Using text output
18:48:18: Using bitmap image
18:48:18: Using bitmap image
18:48:18: Using text output
18:48:19: Using bitmap image
18:48:21: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:21: New Scene
18:48:21: Using text output
18:48:21: Using bitmap image
18:48:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:22: New Scene
18:48:22: Using text output
18:48:22: Using text output
18:48:22: Using text output
18:48:22: Using bitmap image
18:48:22: Using bitmap image
18:48:22: Using text output
18:48:22: Using bitmap image
18:48:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:22: New Scene
18:48:22: Using text output
18:48:23: Using bitmap image
18:48:23: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:23: New Scene
18:48:23: Using text output
18:48:23: Using text output
18:48:23: Using text output
18:48:23: Using bitmap image
18:48:23: Using bitmap image
18:48:23: Using text output
18:48:23: Using bitmap image
18:48:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:24: New Scene
18:48:24: Using text output
18:48:24: Using bitmap image
18:48:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:24: New Scene
18:48:24: Using text output
18:48:24: Using text output
18:48:24: Using text output
18:48:25: Using bitmap image
18:48:25: Using bitmap image
18:48:25: Using text output
18:48:25: Using bitmap image
18:48:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:25: New Scene
18:48:25: Using text output
18:48:25: Using text output
18:48:25: Using text output
18:48:25: Using bitmap image
18:48:25: Using bitmap image
18:48:25: Using text output
18:48:25: Using bitmap image
18:48:27: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:27: New Scene
18:48:27: Using text output
18:48:27: Using text output
18:48:27: Using text output
18:48:27: Using bitmap image
18:48:27: Using bitmap image
18:48:27: Using text output
18:48:27: Using bitmap image
18:48:28: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:48:28: New Scene
18:48:28: Using text output
18:48:28: Using bitmap image
19:14:32: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:32: New Scene
19:14:32: Using text output
19:14:32: Using text output
19:14:32: Using text output
19:14:32: Using bitmap image
19:14:32: Using bitmap image
19:14:32: Using text output
19:14:32: Using bitmap image
19:14:37: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:37: New Scene
19:14:37: Using text output
19:14:37: Using text output
19:14:37: Using text output
19:14:38: Using bitmap image
19:14:38: Using bitmap image
19:14:38: Using text output
19:14:38: Using bitmap image
19:14:42: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:42: New Scene
19:14:42: Using text output
19:14:42: Using bitmap image
19:14:45: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:45: New Scene
19:14:45: Using text output
19:14:45: Using text output
19:14:45: Using text output
19:14:45: Using bitmap image
19:14:45: Using bitmap image
19:14:45: Using text output
19:14:45: Using bitmap image
19:14:45: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:45: New Scene
19:14:45: Using text output
19:14:45: Using text output
19:14:45: Using text output
19:14:45: Using bitmap image
19:14:45: Using bitmap image
19:14:45: Using text output
19:14:45: Using bitmap image
19:14:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:46: New Scene
19:14:46: Using text output
19:14:46: Using bitmap image
19:14:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:46: New Scene
19:14:46: Using text output
19:14:46: Using text output
19:14:46: Using text output
19:14:46: Using bitmap image
19:14:46: Using bitmap image
19:14:46: Using text output
19:14:46: Using bitmap image
19:14:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:47: New Scene
19:14:47: Using text output
19:14:47: Using bitmap image
19:14:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:47: New Scene
19:14:47: Using text output
19:14:47: Using text output
19:14:47: Using text output
19:14:47: Using bitmap image
19:14:48: Using bitmap image
19:14:48: Using text output
19:14:48: Using bitmap image
19:14:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:48: New Scene
19:14:48: Using text output
19:14:48: Using bitmap image
19:14:57: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:14:57: New Scene
19:14:57: Using text output
19:14:57: Using text output
19:14:57: Using text output
19:14:57: Using bitmap image
19:14:57: Using bitmap image
19:14:57: Using text output
19:14:57: Using bitmap image
19:15:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:15:04: New Scene
19:15:04: Using text output
19:15:04: Using text output
19:15:04: Using text output
19:15:04: Using bitmap image
19:15:04: Using bitmap image
19:15:04: Using text output
19:15:04: Using bitmap image
19:15:05: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:15:05: New Scene
19:15:05: Using text output
19:15:05: Using bitmap image
19:16:27: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:16:27: New Scene
19:16:27: Using text output
19:16:27: Using text output
19:16:27: Using text output
19:16:27: Using bitmap image
19:16:28: Using bitmap image
19:16:28: Using text output
19:16:28: Using bitmap image
19:16:50: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:16:50: New Scene
19:16:50: Using text output
19:16:50: Using bitmap image
19:41:55: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:41:55: New Scene
19:41:55: Using text output
19:41:55: Using text output
19:41:55: Using text output
19:41:55: Using bitmap image
19:41:55: Using bitmap image
19:41:55: Using text output
19:41:55: Using bitmap image
19:46:16: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:46:16: New Scene
19:46:16: Using text output
19:46:16: Using text output
19:46:16: Using text output
19:46:16: Using bitmap image
19:46:16: Using bitmap image
19:46:16: Using text output
19:46:16: Using bitmap image
19:48:12: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:48:12: New Scene
19:48:12: Using text output
19:48:12: Using text output
19:48:12: Using text output
19:48:12: Using bitmap image
19:48:12: Using bitmap image
19:48:12: Using text output
19:48:12: Using bitmap image
19:48:21: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:48:21: New Scene
19:48:21: Using text output
19:48:21: Using bitmap image
19:50:03: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:50:03: New Scene
19:50:03: Using text output
19:50:03: Using text output
19:50:03: Using text output
19:50:03: Using bitmap image
19:50:03: Using bitmap image
19:50:03: Using text output
19:50:03: Using bitmap image
19:51:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:52: New Scene
19:51:52: Using text output
19:51:52: Using bitmap image
19:52:53: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:52:53: New Scene
19:52:53: Using text output
19:52:53: Using text output
19:52:53: Using text output
19:52:53: Using bitmap image
19:52:54: Using bitmap image
19:52:54: Using text output
19:52:54: Using bitmap image
19:55:42: Total frames encoded: 250123, total frames duplicated: 28387 (11.35%)
19:55:42: Number of frames skipped due to encoder lag: 231 (0.09%)
19:55:42: Total frames rendered: 249876, number of late frames: 114 (0.05%) (it's okay for some frames to be late)
19:55:42: RTMPPublisher::SocketLoop: Graceful loop exit
19:55:43: Number of times waited to send: 0, Waited for a total of 0 bytes
19:55:43: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:55:43:
19:55:43: Profiler results:
19:55:43:
19:55:43: ==============================================================
19:55:43: video thread frame - [100%] [avg time: 5.46 ms (cpu time: avg 2.711 ms, total 677622 ms)] [avg calls per frame: 1] [children: 99.5%] [unaccounted: 0.495%]
19:55:43: | frame preprocessing and rendering - [94.7%] [avg time: 5.173 ms (cpu time: avg 2.65 ms, total 662365 ms)] [avg calls per frame: 1] [children: 81.3%] [unaccounted: 13.4%]
19:55:43: | | scene->Preprocess - [81.3%] [avg time: 4.439 ms (cpu time: avg 2.132 ms, total 532743 ms)] [avg calls per frame: 1]
19:55:43: | GPU download and color conversion - [4.76%] [avg time: 0.26 ms (cpu time: avg 0.057 ms, total 14430.1 ms)] [avg calls per frame: 1] [children: 3.99%] [unaccounted: 0.769%]
19:55:43: | | flush - [3.28%] [avg time: 0.179 ms (cpu time: avg 0.023 ms, total 5787.64 ms)] [avg calls per frame: 1]
19:55:43: | | CopyResource - [0.623%] [avg time: 0.034 ms (cpu time: avg 0.013 ms, total 3478.82 ms)] [avg calls per frame: 1]
19:55:43: | | conversion to 4:2:0 - [0.0916%] [avg time: 0.005 ms (cpu time: avg 0.004 ms, total 1092.01 ms)] [avg calls per frame: 1]
19:55:43: Convert444Threads - [100%] [avg time: 0.974 ms (cpu time: avg 0.939 ms, total 469625 ms)] [avg calls per frame: 2] [children: 99.3%] [unaccounted: 0.719%]
19:55:43: | Convert444toNV12 - [99.3%] [avg time: 0.967 ms (cpu time: avg 0.935 ms, total 467457 ms)] [avg calls per frame: 2]
19:55:43: encoder thread frame - [100%] [avg time: 1.342 ms (cpu time: avg 0.884 ms, total 221085 ms)] [avg calls per frame: 1]
19:55:43: ==============================================================
19:55:43:
19:55:43: =====Stream End: 2013-09-23, 19:55:43=================================================
19:55:45: Memory Leaks Were Detected.
19:55:45:
Just curious to what may be causing these frames to be duplicated and what steps I can take to reducing or eliminating it.