Force file sources to decode from frame 0; add first-frame diagnostics

OpenCV FFMPEG build buffer (CAP_PROP_BUFFERSIZE=1) on file sources was
landing mid-file, so the first decoded frame could show an ~11s-later
camera clock than the source's true frame 0. Gate BUFFERSIZE to live
sources only and seek file sources to CAP_PROP_POS_FRAMES=0. Log
pos_frames/pos_msec/frame_count/fps once on first successful read.

SPEC: B1, V18, T20. AGENTS: capture setup notes.
This commit is contained in:
proitlab committed 2026-08-10 12:00:18 +07:00
1 parent ea370b0ffd
commit 90038da298
5 files changed
+31 -6

No files matched your search

Binary file not shown.
+2 -2
View File
@@ -4,11 +4,11 @@
namespace version {
const std::string GIT_COMMIT = "32921ea3";
const std::string GIT_COMMIT = "ea370b0f";
const std::string GIT_BRANCH = "main";
const std::string GIT_TAG = "";
const std::string BUILD_DATE = "2026-08-10";
const std::string BUILD_TIME = "10:51:48";
const std::string BUILD_TIME = "11:03:50";
const int BUILD_YEAR = 2026;
const bool BUILD_RKNN = 1;