Silence log info -

With the AMB82-Mini is there a way to silence all the log info that gets sent to the console?

Hi @GEdmunds ,

May I know what are the log info that you would like to disable? Are you using Arduino SDK or FreeRTOS SDK?

Hi Pammy - the output from the RTSP Streaming sample code. It’s useful when debugging but once things are working right it adds a bit too much chatter. Here is just some of it:

10:46:56.403 → inputRateNumer[10] < outputRateNumer[30], Set inputRateNumer → outputRateNumer

10:46:56.403 → [VOE]ext_in = 0 sync = 0

10:46:56.403 → [VOE]isp_device_probe had done

10:46:56.403 → [VOE]isp_soc_start already done

10:46:56.403 → [VOE]VOE MEM Size = 24029 Used= 20764 KB Free= 3264 KB (3342624)

10:46:56.403 → [VOE]stream 4 buffer 0: 0x71897900 size 921600

10:46:56.403 → [VOE]stream 4 buffer 1: 0x71978a00 size 921600

10:46:56.436 → [VOE]RGB3 640x480 1/10

10:46:56.436 → [VOE]scale down set_mcrop

10:46:56.436 → [VOE]status == 1718
10:46:56.146 → IQ:FW size (98342)

10:46:56.146 → sensor:date 2024/9/12 version:RTL8735B_VOE_1.5.7.0

10:46:56.146 → sensor:FW size (5412)

10:46:56.146 → sensor timestamp: 2024/09/12

10:46:56.146 → iq timestamp: 2023/05/15 14:48:54

10:46:56.146 → voe_heap malloc 0x70450560, size 24605696

10:46:56.146 → ISP:1 ENC:1 H265:1 NN:1

10:46:56.177 → hal_voe_ready 0x0 0xbf1208

10:46:56.177 → voe :RTL8735B_VOE_1.5.8.0

10:46:56.177 → sensor:RTL8735B_VOE_1.5.7.0

10:46:56.177 → hal :RTL8735B_VOE_1.5.8.0

10:46:56.177 → load time sensor:151us iq:2724us itcm:0us dtcm:0us ddr:0us ddr2:0us

10:46:56.177 → Set H264 default HIGH profile

10:46:56.177 → [video_pre_init_procedure] START

10:46:56.436 → hal_voe_send2voe too long 30517 cmd 0x00000206 p1 0x00000000 p2 0x00000004

10:46:56.436 → [VOE]release s4 isp buffer 0

10:46:56.436 → [VOE][WARN]useless release s4 slot0 status 0x00000000

10:46:56.436 → [VOE]release s4 isp buffer 1
10:46:56.436 → [VOE][WARN]useless release s4 slot1 status 0x00000000

Hi @GEdmunds, we are in the midst of testing and implementing the enable and disable of these logs. I will inform you once it is ready. Thank you

Hi @GEdmunds , As I look into this issue, I’d like to clarify the following:

  1. Could I confirm the exact example you’re running that shows this log?
    I tested AmebaMultimedia → RTSPStreaming → VideoOnly, but my logs do not contain any [VOE] entries. VOE logs should be disabled by default.

My logs:
videoonly.zip (1.8 KB)

Thank you.

Hi - all of that console info comes from running: Multimedia – RTSP Streaming – Realtek IoT/Wi-Fi MCU Solutions

Thanks!

Hi @GEdmunds,

Thanks for the info, kindly try the newest SDK version or the prerelease version 4.0.9-build20250620, you should not be seeing [VOE] related logs. Meanwhile we will work on other logs. Thank you.

Input this to preference
https://github.com/Ameba-AIoT/ameba-arduino-pro2/raw/dev/Arduino_package/package_realtek_amebapro2_early_index.json

I’d really like to be able to disable all logs that come from drivers and includes other than things I’ve sent in particular. It’s really hard to pick out my own logs on the serial port when there are tens of thousands of “[ERROR] get_available Accept connection failed” messages to pick them out of. There are many more logs that I’d like to disable until I need them.

It’d be good to have both a “global disable RealTek logs” and have a method of enabling single logs.

I’ll second this - it would be great if there was a way to silence the messages, and what would really be great is to know what they mean.

An adjacent idea, that might be easier for RealTek to implement: Provide an include or other feature that will allow us to optionally globally channel all messages bound for Serial through a filter function of our own choice.

That would allow us to be very specific about what we let through, develop only-allow, only-reject or maybe even grep-like filtering for Serial messages.

Hi all,

Thanks for your feedbacks, we will look into this.