Question / Help Encoder (nvenc) stops work error

BluePeer

Member
https://obsproject.com/logs/cx-5O9aH2jCBrd3u
Hi

Have a Interesting Error with my encoder

Default i Stream and record
Stream Obs Internal Nvec 264
And
Record obs-ffmpeg-encoder H265
Works Fine bottom
but if i use for stream the obs-ffmpeg-encoder h264 it stops the encode after a variable time with
Failed to receive packet: Invalid argument (-22).
Error encoding with encoder 'streaming_h264'

Bottom nvec encoders will stop (OBS will only notify the stream encode ends not the record and the process will still active after obs close need a hand kill to end (gpu use 0)

the hardware cpu gpu3D gpuEncode and GPU Vram fine
all far away from limits vram mostly at 80% (sometimes 95-99% my first think vram full but crash with 80% and 50% too)
encode performance is ~20-30% gpu 3D load 40-60%

is there a way to find out more details then the -22 error to find out why the encoder stops working?
the quallity is a little bit better so i will prefer him but with crash all 5-20 minutes its not useable
someone any Idears?


Edit: I Trieds many different settings 2Pass on/of with lookahead on/of Bframes on/off ....
all same results crash after time
with the
default obs nvenc settings
CBR 6K
Keyframe 4
preset Max.Quallity
profile High
lookahead false
psychovt true
gpu 0
Bframe 0
 
Last edited:
Top