
NDI output causing dropped frames and audio glitches
Windows 10 21H1
Wirecast 14.3.1
Intel i7, 1080ti graphics
6x NDI input, Magewell pro capture quad (only 1 input in use)
Canvas 1080p30, Encoder for stream and local MP4: NVENC 1080p30 7.5Mbps keyframe every 30 frames, VBR
Streamed a 3 hour show today and around hour 2 noticed that the audio output to both the stream and local record developed a glitch and at the same time the dropped frames started climbing by roughly 4-5 per second. Stopped and restarted the stream, issue persisted. Stopped and restarted the record, issue persisted. Stopped and restarted NDI output, issue resolved temporarily. In 5 or 10 minutes it would come back and I would have to stop/start NDI output. At the time I had 5 NDI inputs from Zoom Rooms active in one shot, but no changes had been made for about 20 minutes. For the rest of the day the issue would recur even if the NDI inputs were inactive (no video being sent to them, and not in the active shot or preview)
At about 30 seconds into the attached recording I stopped NDI output and restarted it. The NDI sources were in the document but inactive when the recording was made.
-
Billy Davidson said:
I'll try and set up a single source ISO test later.Thanks. That would be an important test.
That will tell us if it's incoming.
Billy Davidson said:
Single source will do it too. Single local media file as source.To be sure. Test in a new document so there are no other NDI sources in the Wirecast Asset Manager to make sure Wirecast isn't "polling" the other sources impacting network bandwidth.
-
Billy Davidson said:
video seemed choppy as well, ISO was clean.ISO was clean means input is likely good.
Next consider the encoder settings.
Please test a local recording (Recording to Disk) only using 1080p30 x264 preset (don't change any of the settings). -
Experienced this on a new machine today. Mac M1 on MacOS 11.6, Wirecast 14.3.2.
This machine hasn't had this issue before. I realized I accidentally had 2 different encoders today, so the CPU use was hovering around 50-60% when its usually 30%. But once the dropped frames issue started the CPU was pegged according to wirecast. Here's a log from this morning, sorry its a while after the issue, but Wirecast wasn't restarted. The stream and record ran fine for ~25 minutes before acting up.
-
Billy Davidson said:
The stream and record ran fine for ~25 minutes before acting up.Please clarify if this was an NDI In or NDI Out issue.
If NDI what were the sources?
Wirecast can certainly drop frames if the CPU goes over 80% so this may not be the same issue.
-
Billy Davidson said:
Yes, I know CPU usage can be an issue, but the fact that it spiked and began the same issue on different hardware seemed like a clue.We'll investigate this on Mac as well.
We have a Windows fix confirmed for a future release but now investigating Mac as well given your report. -
Billy Davidson said:
I'll try to replicate it, but when the issue was not occuring yesterday my usage was bouncing around 60% with the misconfigured encoder.Then the issue may simply be high CPU use if it's good at 60%. That's why we'd need confirmation at 60% and below.
-
The issue may be fixed in our public Beta
Download Wirecast 15 Beta Here.
https://telestreamforum.forumbee.com/t/y4hjdwp/15-0-beta-dec-23-2021-social-media-comment-moderation-performance-lots-more
Please test the issue you reported and post in the Beta Discussion forum only.
https://telestreamforum.forumbee.com/category/wirecast-beta-discussion