# ZED SDK 5.4.0 sequential SVO2 playback stops at 469 of 499 frames on files recorded by ZED SDK 5.2.3

**URL:** <https://community.stereolabs.com/t/zed-sdk-5-4-0-sequential-svo2-playback-stops-at-469-of-499-frames-on-files-recorded-by-zed-sdk-5-2-3/11729>\
**Category:** Python\
**Tags:** sdk\
**Created:** [September 17, 2026, 10:54am UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-sequential-svo2-playback-stops-at-469-of-499-frames-on-files-recorded-by-zed-sdk-5-2-3/11729 "2026-09-17T10:54:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mao](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/eb9ed0/32.png) [@mao](https://community.stereolabs.com/u/mao)\
**Post date:** [September 17, 2026, 10:54am UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-sequential-svo2-playback-stops-at-469-of-499-frames-on-files-recorded-by-zed-sdk-5-2-3/11729/1 "2026-09-17T10:54:28Z")

</div>

Title: ZED SDK 5.4.0 sequential SVO2 playback stops at 469 of 499 frames on files recorded by ZED SDK 5.2.3 — seek  
playback reaches the missing tail

Environment

- Windows, ZED SDK / pyzed 5.4.0 (python bindings, sl.cp310-win\_amd64.pyd wrapping sl\_zed64.dll 5.4.0)
- Replaying a .svo2 file recorded by ZED SDK 5.2.3 (svo\_header reports “ZED\_SDK\_version”:“5.2.3”, “version”:“2.0.5”)
- InitParameters.svo\_real\_time\_mode = false, depth\_mode = DEPTH\_MODE.NONE, left view only

Symptom

- get\_svo\_number\_of\_frames() returns 499 (matches header / side\_by\_side channel message count).
- A pure sequential grab() loop returns END\_OF\_SVOFILE\_REACHED after exactly 469 frames — the last 30 frames (indices  
469–498) are never read sequentially.
- The same 28-frame deficit appears across hundreds of different files (frame-validation confirms a constant −28 vs.  
the authoritative frame count), at production scale.
- Seek playback (set\_svo\_position(idx) then grab()) successfully decodes indices 469 → 497 (the tail frames exist and  
are fully decodable), stopping only at index 498, which is corrupt/unreadable even via seek.
- ZED SDK 5.0.0 (svo\_count.exe from a 5.0.0 installation) replays the same file sequentially up to 497 frames — i.e.  
an older SDK sequentially reads the whole file correctly.

Minimal repro (5.4.0, pyzed)  
import pyzed.sl as sl  
zed = sl.Camera()  
ip = sl.InitParameters()  
ip.set\_from\_svo\_file(“Image\_xxx.svo2”)  
ip.svo\_real\_time\_mode = False  
ip.depth\_mode = sl.DEPTH\_MODE.NONE  
zed.open(ip)  
declared = zed.get\_svo\_number\_of\_frames() # → 499  
n = 0  
while n \< declared:  
if zed.grab() != sl.ERROR\_CODE.SUCCESS:  
break  
n += 1  
print(n) # → 469 (END\_OF\_SVOFILE\_REACHED here)

Structural analysis of the file (MCAP container)

- Single MCAP container, 37 chunks, all uncompressed.
- Sequential replay decodes chunks 0–33 = 469 frames and stops at the first frame of chunk 34:
  - chunk 34 → frames 469–481 (13)
  - chunk 35 → frames 482–495 (14)
  - chunk 36 → frames 496–498 (3)

- The tail frames are structurally identical to every earlier frame — uniform ~33.3 ms cadence, uniform ~38–50 KB  
payloads, valid frame headers, no corruption/gaps.

Expected behavior  
Sequential grab() should stream all frames up to get\_svo\_number\_of\_frames(), or at least the valid per-frame metadata  
count (497 here), on files recorded by 5.2.x.

Actual behavior  
Sequential playback truncates at 469 of 499; only seek playback reaches the recorded tail.

Workaround we are using  
After sequential grab() returns END\_OF\_SVOFILE\_REACHED below the declared count, call set\_svo\_position(n) and  
continue grab() until the authoritative frame count — this recovers all decodable tail frames.

Questions

1. Is early END\_OF\_SVOFILE\_REACHED on sequential playback of 5.2.x-recorded SVO2 a known regression in ZED SDK  
5.4.0’s SVO2 sequential reader?
2. Why does sequential streaming stop at the chunk 33→34 boundary while the seek path (message index) reads the same  
chunks fine?
3. Roughly how many frames are expected to be “flushed but not sequentially readable” for a 5.2.x recorder at stop  
time, and is there an SDK fix planned?

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [September 17, 2026, 3:03pm UTC](https://community.stereolabs.com/t/zed-sdk-5-4-0-sequential-svo2-playback-stops-at-469-of-499-frames-on-files-recorded-by-zed-sdk-5-2-3/11729/2 "2026-09-17T15:03:52Z")

</div>

Hi @mao  
Welcome to the [StereoLabs](https://www.stereolabs.com/) community.

Please post the output of the command  
`ZED_SVO_Editor -inf <filename>`
