Illegal aspect ratio = thousands of Log ERROR entries

Hi,

I have thousands of log entries after a few minutes. Not much information I can work with. All of my cameras are working fine.How can I find the cause?

2021-01-20 13:14:34 ERROR (stream_worker) [libav.NULL] illegal aspect ratio
2021-01-20 13:14:36 ERROR (stream_worker) [libav.NULL] illegal aspect ratio
2021-01-20 13:14:38 ERROR (stream_worker) [libav.NULL] illegal aspect ratio
2021-01-20 13:14:40 ERROR (stream_worker) [libav.NULL] illegal aspect ratio
2021-01-20 13:14:42 ERROR (stream_worker) [libav.NULL] illegal aspect ratio

Thanks a lot :slight_smile:

Setting the default logging level to debug may reveal more information.

Thanks for reply.

One entry more. But still not much information

2021-01-20 18:05:43 ERROR (stream_worker) [libav.NULL] illegal aspect ratio
2021-01-20 18:05:44 ERROR (stream_worker) [libav.NULL] sps_id 1 out of range

One of your camera integrations is screwed up. Most likely custom too. NULL is not good to have in that area. I’d start by finding out which camera/streaming_service/integration is causing the problem.

That’s the problem, they’re all working and the error log is no help with identification.

yes, but there’s something wrong with his installation because libav.NULL should not have .NULL. So, you need to figure out where it’s coming from and the only way you can is by trial and error.

Normally, we’d have the correct string instead of null and it would point us to the correct place.

Thanks for the reply.

@petro
yesterday I restarted all of my cameras. Then I had no new errors for a few hours.
But now the errors came back with a different message. Maybe one of my cameras are broken.

I only have two camera integrations active.
Synology Diskstation with 6 Cameras
Blink with one camera.

Logger: libav.NULL
Source: components/stream/worker.py:240
First occurred: 11:44:08 (14704 occurrences)
Last logged: 19:54:43

* illegal POC type 6
* missing picture in access unit with size 33

@petro
now I’m running official HassOS on an Intel nuc.
I still got this hundred thousands of error messages.
Please help to identify the issue.
Just running six camera via synology addon.

Logger: libav.NULL
Source: components/stream/worker.py:240
First occurred: 11. Februar 2021, 16:02:55 (357475 occurrences)
Last logged: 0:39:59

illegal reordering_of_pic_nums_idc 6
reference count 1 overflow
reference count 1 overflow (repeated 5 more times)
reference overflow 25 > 15 or 0 > 15
illegal reordering_of_pic_nums_idc 27
Logger: libav.NULL
Source: components/stream/worker.py:276
First occurred: 12. Februar 2021, 2:53:17 (16378 occurrences)
Last logged: 0:40:00

reference count 1 overflow (repeated 4 more times)
reference count 1 overflow (repeated 3 more times)
illegal reordering_of_pic_nums_idc 27 (repeated 2 more times)
illegal reordering_of_pic_nums_idc 27
reference count 1 overflow (repeated 5 more times)