Sample application, e.g arducamstill (also other samples) works, but displayed frames are not in chronological order - part of frames are correct, but some random frames are "injected" from e.g. 3 seconds ago.
When watching stopper with this camera I can see seconds numbers: 1,2,3,4,2,5,6,7,4,8,9...
Problem occurs when camera is in mode 4 only.
My test application also reproduces this problem, and I can see that:
BUFFER::pts value is growing for each frame (even if chronology of captured images is different), so sorting by BUFFER::pts doesn't help.
BUFFER::flags is always 0, so it also doesn't help to detect "injected" frames from the 3-seconds-past.
Configuration
Camera
ArduCam IMX135 MIPI 13MPx Color.
Computer
Raspberry Pi 4 Model B 2GB RAM.
Operating system
Linux raspberrypi 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux
I've set 196 MB of video memory, next I've set 512 and it doesn't help.
(standard Raspberry OS, updated with apt).
Executable command
Problem
Sample application, e.g
arducamstill
(also other samples) works, but displayed frames are not in chronological order - part of frames are correct, but some random frames are "injected" from e.g. 3 seconds ago. When watching stopper with this camera I can see seconds numbers: 1,2,3,4,2,5,6,7,4,8,9...Problem occurs when camera is in mode 4 only.
My test application also reproduces this problem, and I can see that:
BUFFER::pts
value is growing for each frame (even if chronology of captured images is different), so sorting byBUFFER::pts
doesn't help.BUFFER::flags
is always 0, so it also doesn't help to detect "injected" frames from the 3-seconds-past.Configuration
Camera ArduCam IMX135 MIPI 13MPx Color. Computer Raspberry Pi 4 Model B 2GB RAM. Operating system Linux raspberrypi 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux I've set 196 MB of video memory, next I've set 512 and it doesn't help.
(standard Raspberry OS, updated with apt). Executable command
without
-awb 0 -ae 0
it also works wrong.Sample arducamstill call:
Best regards, MJ