Snapshot example not working

Hi all,

I’m testing the mmf2_video_example_v1_snapshot_init() example on the Ameba Pro2 platform, but it’s not working correctly.
Below is the log I get when I run it:

SNAP=SNAPS

[VID Wrn]VOE CH0 JPG queue full (queue/used/out/rsvd) 0/0KB
Warn: get snapshot buffer failed

[MEM] After do cmd, available heap 76771680

t seems like the snapshot buffer allocation is failing (VOE CH0 JPG queue full).
Has anyone faced a similar issue or knows how to fix this?
I’m running the example without modifying the default configuration.

Thanks in advance for any help! :folded_hands:

I have just tried the example mmf2_video_example_v1_snapshot_init()no issue for me.

So could you help me to do the following checks

  • cam sensor setup. Before compile have to update the right sensor for streaming sensor.h
    • line 166,169,176
  • network setup. After update bin into IC, lets connect to a 5G network and start streaming when client connect by RTSP address.
    • if you able to see the streaming, there will not be any issue. Then can start snapshots….

if you still have some issues, could you please provide the logs for example. So i can dig deep.