P
pbarsic

  • Nov 15, 2023
  • Joined Jan 24, 2022
  • 0 best answers
  • Hello pbarsic , I would first suggest compression to reduce packet size. The gen2-record-replay actually uses compression already (by default MJPEG compression), you could also try python record.py -q LOW for .h265 compression which would significantly reduce packet size.
    Another thing to notice is that both of these examples are doing host-side sync, so all streams (RGB, left, right) are in sync - which might be the reason that it's dropping frames (as it doesn't find all stream frames for sync).
    And finally I would try setting different values with XLinkChunkSize(), eg. pipeline.XLinkChunkSize(0).
    Thanks, Erik