Question / Help Error: QSVHelper.exe was killed, encode failed

azn

New Member
OBS is crashing everytime after 15 to 20 minutes with this error. I'm streaming with QuickSync. I already searched for this error, but there weren't any solutions or replies yet. I hope somebody can help me!

Code:
23:20:45: Open Broadcaster Software v0.635b - 64bit ( ^ω^)
23:20:45: -------------------------------
23:20:45: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
23:20:45: CPU Speed: 3400MHz
23:20:45: Physical Memory:  3985MB Total, 495MB Free
23:20:45: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:20:45: monitor 1: pos={0, 0}, size={1680, 1050}
23:20:45: monitor 2: pos={1680, 0}, size={1680, 1050}
23:20:45: Windows Version: 6.1 Build 7601 S
23:20:45: Aero is Disabled
23:20:45: -------------------------------
23:20:45: OBS Modules:
23:20:45: Base Address     Module
23:20:45: 000000003FCB0000 OBS.exe
23:20:45: 00000000F1770000 OBSApi.dll
23:20:45: 00000000F7C50000 DShowPlugin.dll
23:20:45: 00000000F7BE0000 GraphicsCapture.dll
23:20:45: 00000000F1740000 NoiseGate.dll
23:20:45: 00000000F1710000 PSVPlugin.dll
23:20:45: ------------------------------------------
23:20:45: Adapter 1
23:20:45:   Video Adapter: AMD Radeon HD 5800 Series
23:20:45:   Video Adapter Dedicated Video Memory: 1067270144
23:20:45:   Video Adapter Shared System Memory: 1821353984
23:20:45:   Video Adapter Output 1: pos={0, 0}, size={1680, 1050}, attached=true
23:20:45: ------------------------------------------
23:20:45: Adapter 2
23:20:45:   Video Adapter: Intel(R) HD Graphics 4000
23:20:45:   Video Adapter Dedicated Video Memory: 67108864
23:20:45:   Video Adapter Shared System Memory: 1711276032
23:20:45:   Video Adapter Output 1: pos={1680, 0}, size={1680, 1050}, attached=true
23:20:45: =====Stream Start: 2014-09-29, 23:20:45===============================================
23:20:45:   Multithreaded optimizations: On
23:20:45:   Base resolution: 1680x1050
23:20:45:   Output resolution: 1120x700
23:20:45: ------------------------------------------
23:20:45: Loading up D3D10 on AMD Radeon HD 5800 Series (Adapter 1)...
23:20:45: ------------------------------------------
23:20:45: Audio Format: 48000 Hz
23:20:45: ------------------------------------------
23:20:45: Audio Channels: 2 Ch
23:20:45: Playback device Default
23:20:45: ------------------------------------------
23:20:45: Using desktop audio input: Kopfhörer (High Definition Audio-Gerät)
23:20:45: Global Audio time adjust: 0
23:20:45: ------------------------------------------
23:20:45: Using auxilary audio input: Mikrofon (High Definition Audio-Gerät)
23:20:45: Mic time offset: 0
23:20:45: ------------------------------------------
23:20:45: Audio Encoding: AAC
23:20:45:     bitrate: 128
23:20:45: Using graphics capture
23:20:45: Trying to hook process: fifa15.exe
23:20:45: Scene buffering time set to 700
23:20:45: Found QSV hardware support
23:20:46: ------------------------------------------
23:20:46: QSV version 1.8 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D9)
23:20:46: Using 15 bitstreams and 18 frame buffers
23:20:46: ------------------------------------------
23:20:46: Video Encoding: QSV
23:20:46:     fps: 60
23:20:46:     width: 1120, height: 700
23:20:46:     target-usage: MFX_TARGETUSAGE_1_BEST_QUALITY
23:20:46:     profile: MFX_PROFILE_AVC_MAIN
23:20:46:     CBR: yes
23:20:46:     CFR: yes
23:20:46:     max bitrate: 3000
23:20:46:     buffer size: 3000
23:20:46:     rate control: CBR
23:20:46: ------------------------------------------
23:20:46: SharedTexCapture hooked
23:20:47: GraphicsCaptureSource::NewCapture:  eliminating old capture
23:20:47: SharedTexCapture hooked
23:20:47: Using RTMP service: Twitch
23:20:47:   Server selection: rtmp://live-ams.twitch.tv/app
23:20:47:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
23:20:48: Completed handshake with rtmp://live-ams.twitch.tv/app in 874 ms.
23:20:49: SO_SNDBUF was at 8192
23:20:49: SO_SNDBUF is now 65536
23:20:50: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 400384)
23:20:54: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 400384)
23:32:31: Error: all frames are in use
23:32:31: Error: all frames are in use
23:32:31: Error: all frames are in use
23:32:31: Error: all frames are in use
23:32:31: Error: all frames are in use
23:32:31: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
23:32:32: Error: all frames are in use
Warning -- Terminating QSVHelper.exe after timeout

Error: QSVHelper.exe was killed, encode failed
23:32:33: Error: all frames are in use
23:32:33: Error: all frames are in use
 

koala

Active Member
I have the same problem (qsvhelper killed and "all frames are in use" in log):

https://gist.github.com/4456af9b7ab9bb6bf9fa

It started after I updated the Intel drivers to the current version (released September 2014). Some minutes into the recording, qsvhelper.exe exists. The video up to this point is fine.

After I reverted to the previous system configuration using system restore, I was able to use quicksysnc again without problems.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
At the moment, I'm not sure why it's being killed -- the killing of it is on purpose, but why it's needed is not always clear. The hardware encoders are sort of a difficult thing for us to give support on. If you have issues with them, then for the time being you might have to fall back to x264 (remember you can change the x264 presets if you need to reduce CPU usage there as well, though I know it'll never be quite as nice as QSV in terms of CPU usage reduction)
 

pone77

New Member
Just wanted to confirm what koala said. I have a intel 3470 and obs wouldn't encode using Quicksync for longer than 15 mins. Rolled the Intel graphics drivers back to the pre sept. 2014 ones, and it works a treat! Thanks!
 

DeathWhitch

Member
I have a Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz with HD 4000 graphics, there are no drivers for this before sept 2014. I tried both the sept and the oct drivers out for it but same issue, intels site list only those two drivers for this CPU

Thoughts?
 

014

Member
I have a Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz with HD 4000 graphics, there are no drivers for this before sept 2014. I tried both the sept and the oct drivers out for it but same issue, intels site list only those two drivers for this CPU

Thoughts?
I had forgotten that I previously knew(!) this problem started with an Intel driver update. I'm going to see if my motherboard website provides the older driver I need.

EDIT:
I downgraded my Intel driver to version 15.28.4.64.2843
It was a version I downloaded from my motherboard's website (Gigabyte) when I rebuilt my computer last time. I played and streamed a 21-minute round and did not experience a crash. 21 minutes is not quite a full test, but it's a good sign. The last time I experienced the crash, it was after 18 minutes and 32 seconds.
 
Last edited:

Jack0r

The Helping Squad
I noticed you are all using the highest preset for quicksync, I normally tend to use the middle or lower presets, especially for 1080p recording on my i7 4770. Maybe you could try that too, the quality difference is to my experience not that big.
 
Top