I just moved the Wowza server to a PC with a better Video card that supports NVCUVID and NVENC to cut down on CPU usage and allow more streams by moving the encoding/decoding load to the video card. The card is Geforce 970. After enabling NVCUVID for decoding and NVENC for encoding, the streams go black or I get a loading circle. Doing some messing around I took off NVENC encoding, but left NVCUVID for decoding. Everything works this way, but I am still killing the CPU because all the encoding is done on the CPU. I have updated to 4.3. Why will NVENC encoding not work?
More info on this.
The logs show this:
2015-10-12 08:51:17 CDT comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[defaultVHost:livell/definst/skihill.stream]:NVidia hardware acceleration is available: NVENC2, NVCUVID, CUDA[decode]
for all streams, then
2015-10-12 10:11:29 CDT comment server INFO 200 - JNI:TranscoderSession.videoEncoderAdd[defaultVHost:live/definst/LCF.stream:720p]: Create video encoder: H.264: NVENC2 - - - 4.2 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-12 10:11:29 CDT comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[livell/definst/skihill.stream]: Video codec:H264 isCompatible:true - - - 4.254 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-12 10:11:29 CDT comment server INFO 200 - LiveStreamPacketizerPacketHandler.handlePacket[livell/definst/WM.stream]: Video codec:H264 isCompatible:true - - - 4.262 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-12 10:11:29 CDT comment server INFO 200 - JNI:TranscoderSession.videoEncoderAdd[defaultVHost:livell/definst/skihill.stream:160p]: Create video encoder: H.264: NVENC2 - - - 4.304 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-12 10:11:29 CDT comment server INFO 200 - JNI:TranscoderSession.videoEncoderAdd[defaultVHost:livell/definst/WM.stream:160p]: Create video encoder: H.264: NVENC2 - - - 4.305 - - - - - - - - - - - - - - - - - - - - - - - - -
2015-10-12 10:11:29 CDT comment server WARN 200 - JNI:VideoEncoderH26XNVENC.initialize[defaultVHost:live/definst/LCF.stream:720p]: Initialize failed: gpuid:0 result:10 - - - 4.342
It just keeps trying to initialize over and over, but keeps failing over and over. The software can tell its capable of using NVENC, but it just won’t work.
The error I get when I try to play the stream is: Video Packet List is Full