Hi,
We are getting strange timestamps with the
iSensorTimestampTsc->getSensorSofTimestampTsc(), iSensorTimestampTsc->getSensorEofTimestampTsc()
functions on jetpack 32.6.1 with an imx264 camera (leopard imaging).
Here are the timestamps we get:
sof= 2307916711000, eof= 73854614340000
Sensor Timestamp: 2292216395000
I would have expected sof and eof to be really close numbers.
I attach below the small modification we made to the userAutoExpsoure argus sample (based on some prior forum posts).
Thanks!
main.cpp (24.3 KB)
./argus_userautoexposure
Executing Argus Sample: argus_userautoexposure
USER AUTO EXPOSURE SAMPLE: Argus Version: 0.98.3 (multi-process)
PREVIEW CONSUMER: Creating OpenGL context.
PREVIEW CONSUMER: Connecting to EGLStream(s).
PREVIEW CONSUMER: Connected to stream(s).
PREVIEW CONSUMER: Waiting until producer(s) connect...
USER AUTO EXPOSURE SAMPLE: Sensor Exposure Range min 39000, max 40000000
USER AUTO EXPOSURE SAMPLE: Sensor Analog Gain range min 1.000000, max 15.848933
PREVIEW CONSUMER: Producer(s) connected; continuing.
PREVIEW CONSUMER: Acquired frame 1. Rendering.
PREVIEW CONSUMER: Acquired frame 2. Rendering.
PREVIEW CONSUMER: Acquired frame 3. Rendering.
PREVIEW CONSUMER: Acquired frame 4. Rendering.
PREVIEW CONSUMER: Acquired frame 5. Rendering.
PREVIEW CONSUMER: Acquired frame 6. Rendering.
PREVIEW CONSUMER: Acquired frame 7. Rendering.
PREVIEW CONSUMER: Acquired frame 8. Rendering.
PREVIEW CONSUMER: Acquired frame 9. Rendering.
PREVIEW CONSUMER: Acquired frame 10. Rendering.
PREVIEW CONSUMER: Acquired frame 11. Rendering.
PREVIEW CONSUMER: Acquired frame 12. Rendering.
PREVIEW CONSUMER: Acquired frame 13. Rendering.
PREVIEW CONSUMER: Acquired frame 14. Rendering.
PREVIEW CONSUMER: Acquired frame 15. Rendering.
PREVIEW CONSUMER: Acquired frame 16. Rendering.
PREVIEW CONSUMER: Acquired frame 17. Rendering.
PREVIEW CONSUMER: Acquired frame 18. Rendering.
PREVIEW CONSUMER: Acquired frame 19. Rendering.
PREVIEW CONSUMER: Acquired frame 20. Rendering.
PREVIEW CONSUMER: Acquired frame 21. Rendering.
PREVIEW CONSUMER: Acquired frame 22. Rendering.
PREVIEW CONSUMER: Acquired frame 23. Rendering.
PREVIEW CONSUMER: Acquired frame 24. Rendering.
PREVIEW CONSUMER: Acquired frame 25. Rendering.
PREVIEW CONSUMER: Acquired frame 26. Rendering.
PREVIEW CONSUMER: Acquired frame 27. Rendering.
PREVIEW CONSUMER: Acquired frame 28. Rendering.
PREVIEW CONSUMER: Acquired frame 29. Rendering.
PREVIEW CONSUMER: Acquired frame 30. Rendering.
PREVIEW CONSUMER: Acquired frame 31. Rendering.
PREVIEW CONSUMER: Acquired frame 32. Rendering.
PREVIEW CONSUMER: Acquired frame 33. Rendering.
PREVIEW CONSUMER: Acquired frame 34. Rendering.
PREVIEW CONSUMER: Acquired frame 35. Rendering.
PREVIEW CONSUMER: Acquired frame 36. Rendering.
PREVIEW CONSUMER: Acquired frame 37. Rendering.
PREVIEW CONSUMER: Acquired frame 38. Rendering.
PREVIEW CONSUMER: Acquired frame 39. Rendering.
PREVIEW CONSUMER: Acquired frame 40. Rendering.
PREVIEW CONSUMER: Acquired frame 41. Rendering.
PREVIEW CONSUMER: Acquired frame 42. Rendering.
PREVIEW CONSUMER: Acquired frame 43. Rendering.
PREVIEW CONSUMER: Acquired frame 44. Rendering.
PREVIEW CONSUMER: Acquired frame 45. Rendering.
PREVIEW CONSUMER: Acquired frame 46. Rendering.
PREVIEW CONSUMER: Acquired frame 47. Rendering.
PREVIEW CONSUMER: Acquired frame 48. Rendering.
PREVIEW CONSUMER: Acquired frame 49. Rendering.
PREVIEW CONSUMER: Acquired frame 50. Rendering.
PREVIEW CONSUMER: Acquired frame 51. Rendering.
PREVIEW CONSUMER: Acquired frame 52. Rendering.
PREVIEW CONSUMER: Acquired frame 53. Rendering.
PREVIEW CONSUMER: Acquired frame 54. Rendering.
PREVIEW CONSUMER: Acquired frame 55. Rendering.
PREVIEW CONSUMER: Acquired frame 56. Rendering.
PREVIEW CONSUMER: Acquired frame 57. Rendering.
PREVIEW CONSUMER: Acquired frame 58. Rendering.
PREVIEW CONSUMER: Acquired frame 59. Rendering.
PREVIEW CONSUMER: Acquired frame 60. Rendering.
PREVIEW CONSUMER: Acquired frame 61. Rendering.
PREVIEW CONSUMER: Acquired frame 62. Rendering.
PREVIEW CONSUMER: Acquired frame 63. Rendering.
PREVIEW CONSUMER: Acquired frame 64. Rendering.
PREVIEW CONSUMER: Acquired frame 65. Rendering.
PREVIEW CONSUMER: Acquired frame 66. Rendering.
PREVIEW CONSUMER: Acquired frame 67. Rendering.
PREVIEW CONSUMER: Acquired frame 68. Rendering.
PREVIEW CONSUMER: Acquired frame 69. Rendering.
PREVIEW CONSUMER: Acquired frame 70. Rendering.
PREVIEW CONSUMER: Acquired frame 71. Rendering.
PREVIEW CONSUMER: Acquired frame 72. Rendering.
PREVIEW CONSUMER: Acquired frame 73. Rendering.
PREVIEW CONSUMER: Acquired frame 74. Rendering.
PREVIEW CONSUMER: Acquired frame 75. Rendering.
PREVIEW CONSUMER: Acquired frame 76. Rendering.
PREVIEW CONSUMER: Acquired frame 77. Rendering.
PREVIEW CONSUMER: Acquired frame 78. Rendering.
PREVIEW CONSUMER: Acquired frame 79. Rendering.
PREVIEW CONSUMER: Acquired frame 80. Rendering.
PREVIEW CONSUMER: Acquired frame 81. Rendering.
PREVIEW CONSUMER: Acquired frame 82. Rendering.
PREVIEW CONSUMER: Acquired frame 83. Rendering.
PREVIEW CONSUMER: Acquired frame 84. Rendering.
PREVIEW CONSUMER: Acquired frame 85. Rendering.
PREVIEW CONSUMER: Acquired frame 86. Rendering.
PREVIEW CONSUMER: Acquired frame 87. Rendering.
PREVIEW CONSUMER: Acquired frame 88. Rendering.
PREVIEW CONSUMER: Acquired frame 89. Rendering.
PREVIEW CONSUMER: Acquired frame 90. Rendering.
PREVIEW CONSUMER: Acquired frame 91. Rendering.
PREVIEW CONSUMER: Acquired frame 92. Rendering.
PREVIEW CONSUMER: Acquired frame 93. Rendering.
PREVIEW CONSUMER: Acquired frame 94. Rendering.
USER AUTO EXPOSURE SAMPLE: Exposure target range is from 0.170000 to 0.190000
PREVIEW CONSUMER: Acquired frame 95. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307713012000, eof= 73848095779000
Sensor Timestamp: 2292012699000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 96. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307753751000, eof= 73849399451000
Sensor Timestamp: 2292053438000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 97. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307794491000, eof= 73850703123000
Sensor Timestamp: 2292094170000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 98. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307835231000, eof= 73852006796000
Sensor Timestamp: 2292134930000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 99. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307875971000, eof= 73853310470000
Sensor Timestamp: 2292175652000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 100. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 1.000000
sof= 2307916711000, eof= 73854614340000
Sensor Timestamp: 2292216395000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing analog gain to 15.848933
PREVIEW CONSUMER: Acquired frame 101. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2307957450000, eof= 73855918015000
Sensor Timestamp: 2292257121000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 102. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2307998190000, eof= 73857221490000
Sensor Timestamp: 2292297862000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 103. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2308038930000, eof= 73858525163000
Sensor Timestamp: 2292338609000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 104. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2308079670000, eof= 73859828837000
Sensor Timestamp: 2292379347000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 105. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2308120410000, eof= 73861132511000
Sensor Timestamp: 2292420086000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 106. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 38999, Analog Gain 15.848933
sof= 2308161149000, eof= 73862436185000
Sensor Timestamp: 2292460842000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 1797074
PREVIEW CONSUMER: Acquired frame 107. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308201889000, eof= 73863739859000
Sensor Timestamp: 2292501568000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 108. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308242629000, eof= 73865043731000
Sensor Timestamp: 2292542308000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 109. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308283369000, eof= 73866347406000
Sensor Timestamp: 2292583050000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 110. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308324109000, eof= 73867650882000
Sensor Timestamp: 2292623782000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 111. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308364848000, eof= 73868954558000
Sensor Timestamp: 2292664531000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 112. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 1797073, Analog Gain 15.848933
sof= 2308405588000, eof= 73870258231000
Sensor Timestamp: 2292705268000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 113. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308446328000, eof= 73871561908000
Sensor Timestamp: 2292746001000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 114. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308487068000, eof= 73872865580000
Sensor Timestamp: 2292786762000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 115. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308527808000, eof= 73874169254000
Sensor Timestamp: 2292827491000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 116. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308568548000, eof= 73875473128000
Sensor Timestamp: 2292868235000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 117. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308609287000, eof= 73876776806000
Sensor Timestamp: 2292908963000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 118. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308650027000, eof= 73878080280000
Sensor Timestamp: 2292949708000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 119. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308690767000, eof= 73879383955000
Sensor Timestamp: 2292990448000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 120. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308731507000, eof= 73880687631000
Sensor Timestamp: 2293031174000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 121. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308772247000, eof= 73881991306000
Sensor Timestamp: 2293071935000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 122. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308812987000, eof= 73883294979000
Sensor Timestamp: 2293112686000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 123. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308853726000, eof= 73884598656000
Sensor Timestamp: 2293153418000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 124. Rendering.
USER AUTO EXPOSURE SAMPLE: Frame metadata ExposureTime 39999999, Analog Gain 15.848933
sof= 2308894466000, eof= 73885902527000
Sensor Timestamp: 2293194141000
USER AUTO EXPOSURE SAMPLE: Exposure level at 0.004, increasing Exposure Time to 40000000
PREVIEW CONSUMER: Acquired frame 125. Rendering.
PREVIEW CONSUMER: Acquired frame 126. Rendering.
PREVIEW CONSUMER: Acquired frame 127. Rendering.
PREVIEW CONSUMER: Acquired frame 128. Rendering.
PREVIEW CONSUMER: Acquired frame 129. Rendering.
PREVIEW CONSUMER: Acquired frame 130. Rendering.
PREVIEW CONSUMER: No more frames. Cleaning up.
PREVIEW CONSUMER: Done.