Chroma Drop-Frames Display / Codes
If you're experiencing drop frames on Chroma, use the below to check the type of drop.You can see log in web UI /avenir/settings_scandrop.php (Requires www-for-avenir_1.8.89_all.deb or later)
WARNING:
* will scan /var/log/encoder.log
* will be very heavy loading, not recommended when streaming, etc.
* parsing impl. is written in C for faster processing, but still heavy
* currently i386/x86_64 only
via ssh with tailf /var/log/encoder.log
e.g. tailf /var/log/encoder.log | grep R0
Chroma encoder log prints line like this, showing reason for each drop:
DROP: R0[0] R1[0] R2[0] R3[0] R4[0] R5[0] R6[0] R7[0] R8[1]
| Drop Code | Full Code Name | Explanation | Troubleshooting |
| R0 | DROP_CAPTURE | Video capture drops frame | Video signal loss; weak SDI cable/signal, signal loss |
| R1 | DROP_VBUFOVER | Drop due to internal video queue overflow | Possible reason, is hardware is too slow for current settings Reduce Resolution or bitrate, try increase delay, but note that 4K on 32-bit system is limited to 0.7 VBR R2 reasons can cause CAPDELAY , try UDP? |
| R2 | DROP_NETDELAY | Encoder's network thread cannot send data fast enough. | Possible reasons: - decoder not responding or constantly restarting - high amount of packet loss over LDMP or UDP on QoS network Try decrease bitrate, increase ACK, run ABN3 test |
| R3 | DROP_CAPDELAY | Capture buffer state/fullness is higher that requested delay. | Possible reason, is hardware is too slow for current settings Reduce Resolution or bitrate, try increase delay, but note that 4K on 32-bit system is limited to 0.7 VBR R2 reasons can cause CAPDELAY , try UDP? |
| R4 | DROP_FULLDELAY | Capture buffer is full. | Increase VBR Buffer |
| R5 | DROP_SHAPING | Drops due network bitrate shaping. | Try to set Shaping to 0 in LDMP? |
| R6 | DROP_BITRATE | Drop due to bitrate control | Likely network or codec settings are not matching. e.g. HD at 500Kbps; check settings for appropriate bitrate/video |
| R7 | DROP_QUALITY | Drop due to minimal quality settings | E.g. I/P quality set to 40/40 for HD instead of 120/170 for say 4 Mbps. Disable "Prefer Quality Over Framerate" and set quality thresholds higher. |
| R8 | DROP_CODEC | codec decides to drop frames | E.g. could not encode/fit frame at minimum quality, possible reason very low bitrate or high resolution |