FFmpeg Error Stopping My Live Streams

wynd

New Member
I have my encoder selected as NVIDIA NVENC H.264 but when I stream I am getting an error that says "NVIDIA NVENC H.264 (FFMpeg) is taking too long to encode" and stops my stream. I am NOT using the FFMpeg encoder. I'm told this is tied to StreamFX which I am also not using at all. I ended up having to switch to x264 encoder which I don't want to use but at least my streams didn't stop every few minutes. Any help is appreciated.

I'm running OBS 29.0.2. I did not have this issue with the last OBS 28 version. Attached a screen shot of the error and my most recent log.

I'm also getting OBS Has Crashed messages when I close OBS. Would love help with that too.
 

Attachments

  • encoding error.PNG
    encoding error.PNG
    9.1 KB · Views: 87
  • 2023-05-04 15-54-34.txt
    61.2 KB · Views: 38
  • Crash 2023-05-03 21-31-47.txt
    78.1 KB · Views: 22

PaiSand

Active Member
You may want to try OBS 29.1 and to completelly remove that Norton crapware
And check every single plugin you installed if they are compatible with OBS 28 / 29
 

Suslik V

Active Member
I'm also getting OBS Has Crashed messages when I close OBS. Would love help with that too...
It seems this caused by external plugin.

If it crashes every time you close the OBS then you can try to:
  1. disconnect all active sessions of the WebSocket server in OBS main menu Tools before exiting the application;
  2. disable WebSocket server in OBS main menu Tools before exiting the application;
  3. uninstall/delete all plugins one by one to find out what is causing the crash (yeah.......);
(the "obs-plugins\64bit\obs-websocket.dll" plugin, lies close to the memory crash point, so it may be it or the crash caused by other module)
If you not using websocket clients for your OBS (on your remote PC, smartphone etc.) then you may ignore the p1 & p2.
 

wynd

New Member
It seems this caused by external plugin.

If it crashes every time you close the OBS then you can try to:
  1. disconnect all active sessions of the WebSocket server in OBS main menu Tools before exiting the application;
  2. disable WebSocket server in OBS main menu Tools before exiting the application;
  3. uninstall/delete all plugins one by one to find out what is causing the crash (yeah.......);
(the "obs-plugins\64bit\obs-websocket.dll" plugin, lies close to the memory crash point, so it may be it or the crash caused by other module)
If you not using websocket clients for your OBS (on your remote PC, smartphone etc.) then you may ignore the p1 & p2.
Thanks, I'll check these things
 

wynd

New Member
You may want to try OBS 29.1 and to completelly remove that Norton crapware
And check every single plugin you installed if they are compatible with OBS 28 / 29
I'll give the update a try and see what happens. Thanks
 

Suslik V

Active Member
I have my encoder selected as NVIDIA NVENC H.264 but when I stream I am getting an error that says "NVIDIA NVENC H.264 (FFMpeg) is taking too long to encode" and stops my stream. I am NOT using the FFMpeg encoder...
the log-file with recording+stream attempt in it is needed to say why it happens.

Possible reason: you set up re-scaling (current output resolution not equals to the current encoding resolution, usually users do this this for streaming at lower resolution while recording at full resolution). So OBS forces fallback to FFmpeg encoder... (right now only FFmpeg encoder able to do re-scaling).
 

wynd

New Member
the log-file with recording+stream attempt in it is needed to say why it happens.

Possible reason: you set up re-scaling (current output resolution not equals to the current encoding resolution, usually users do this this for streaming at lower resolution while recording at full resolution). So OBS forces fallback to FFmpeg encoder... (right now only FFmpeg encoder able to do re-scaling).
This is very helpful. I'll check the rescaling I set up and monitor while live. Thank you!
 
Top