Question / Help Streaming and recording not allowed at the same time

kobeeju

New Member
If I stream to x264, I can stream and record at the same time. However, streaming with QuickSync will not allow simultaneous broadcast and recording. With x246, CPU usage goes up to over 30% and lags, but broadcasts have only a few disconnections. With QuickSync, CPU usage is 20% and there are fewer legs, but there is a lot of interruption in the broadcast.
When streaming with QuickSync:https://gist.github.com/68f9c4ee169a6a6c80c85910ecba6bb2

When streaming with x264:https://gist.github.com/11b88f568e0c3a17b28c4275152260eb
 
Last edited:

Suslik V

Active Member
From the log:

10:42:36.299: [qsv encoder: 'msdk_impl'] Cannot have more than one encoder active at a time

Some HW based encoders has built-in limitations. For example, casual video cards, has limited license, thus some functions may be limited (number of threads, video sizes, frame rates etc.). Usually, pro version or the hw (earlier it was FireGL, Quadro etc.) has better support and unlocked features, but sometimes it is utilized only with proprietary software. If encoding not supported by hw then it disabled by OBS Studio (some earlier versions may have a bug, where encoder was available but recording always fails to start for the second thread).

So, if encoder not available for second instance of the Studio (or for different encoding) it's because it already in use.
I think, the QuickSync has the same limitations itself.
 

kobeeju

New Member
Thank you very much!
But I have another problem. I was streaming to twitch and looking at my cell phone, but the buffering was too much. I thought it was a twitch server problem, but it was too bad.
 
Top