Question / Help Encoded frames making no sense?

I just finished a 6 and a half hour stream and I saw this in the log. The amount of encoded frames makes no sense. i know about the bandwidth dropped frames but I don't understand the messed up numbers for encoded frames/ encoding lag.

15:07:11.087: ------------------------------------------------
16:22:10.549: [rtmp stream: 'adv_stream'] User stopped the stream
16:22:10.550: Output 'adv_stream': stopping
16:22:10.550: Output 'adv_stream': Total encoded frames: 299
16:22:10.550: Output 'adv_stream': Total drawn frames: 696583
16:22:10.550: Output 'adv_stream': Number of skipped frames due to encoding lag: 2912482513 (974074419.1%)
16:22:10.550: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 98 (0.0%)
16:22:10.550: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 78995 (26419.7%)
16:22:10.550: [rtmp stream: 'adv_stream'] Freeing 857 remaining packets
16:22:10.551: ==== Streaming Stop ================================================


it also says this at the end of the log which I want to know if I can fix

16:24:25.226: =================================================
16:24:25.566: Number of memory leaks: 1
 

Attachments

  • 2016-07-18 09-16-57.txt
    203.8 KB · Views: 22

Simes

Member
That doesn't explain the nearly three billion skipped frames being reported. Unless my math is off that's three years' worth of frames.
 

Suslik V

Active Member
That doesn't explain the nearly three billion skipped frames being reported. Unless my math is off that's three years' worth of frames.
Sometimes it happens to me too (large numbers in log). But it is hard to reproduce. I know it may happen even in short recordings (about 10-30 sec long).
 
I have viewers that see no problem when I stream and my CPU is definitely able to handle the slow preset with the resolution and that I am using.
 
just had a 2 hour stream, same settings, no problem? tho i've had the problem multiple times before
 

Attachments

  • 2016-07-18 23-39-44.txt
    35.8 KB · Views: 7
It has happened again. In this log weird things happened twice then i changed the preset to medium then wierd things happened then i switched back to slow it didnt work once but then the second and third time, it was normal but then it broke again. This shows that i'm randomly getting this issue sometimes without even changing any settings and I know the settings should work fine because they have worked fine.
 

Attachments

  • 2016-07-20 20-05-15.txt
    85.9 KB · Views: 6
I tested slow, veryfast and ultrafast and they all show weird results. Yet i was able to stream just fine this morning with slow.
 

Attachments

  • 2016-07-20 23-28-35.txt
    43.6 KB · Views: 12
Top