NVENC Encoder Crashes during streaming. AAC causing it?

Kivy

New Member
After updating to OBS 27, I can't use NVENC more than ten minutes without my stream crashing with an "Encoder error while streaming" message

I'm attaching the two logs files from the two crashes I experienced.

Looks like a problem with AAC?

But then what's weird is I can stream fine using x264 software encoding, it's just NVENC that doesn't work.

I'll try NVENC again tonight and see if the problem persists. Any help is welcome until then.
 

Attachments

You issue is with audio.
Code:
14:13:09.127: [FFmpeg aac encoder: 'adv_stream_aac'] avcodec_encode_audio2 failed: Invalid argument
14:13:09.127: Error encoding with encoder 'adv_stream_aac'
avcodec_encode_audio2 is audio, not video, and aac is an audio codec, not video. This is nothing nvenc is dealing with.

One of your audio sources (probably one of the media files you include) my have some nonstandard audio or a defective audio track. Try to identify it by playing back every media file and see with which media file the stream stops.
 
Back
Top