Previous response had warnings:
WARNINGS: - Extra text detected before JSON object
- Extra text detected after JSON object

New Terminal Output:

root@d7299c7f5982:/app# python3 -c "
> import struct
> with open('/app/frames.tza', 'rb') as f:
>     magic = f.read(4)
>     width, height = struct.unpack('<HH', f.read(4))
>     n_frames, max_bytes = struct.unpack('<II', f.read(8))
>     frames = [f.read(width * height) for _ in range(n_frames)]
>
> # Analyze change positions for first few frames
> prev = b' ' * (width * height)
> for i in range(min(5, n_frames)):
>     changes = [(r, c) for r in range(height) for c in range(width) if prev[r*width+c] != frames[i][r*width+c]]
>     print(f'Frame {i}: {len(changes)} changes')
>     if len(changes) <= 10:
>         for r, c in changes:
>             print(f'  ({r},{c})')
>     prev = frames[i]
> "
Frame 0: 901 changes
Frame 1: 4 changes
  (1,5)
  (1,22)
  (1,23)
  (1,56)
Frame 2: 4 changes
  (1,5)
  (1,24)
  (1,25)
  (1,56)
Frame 3: 4 changes
  (1,5)
  (1,26)
  (1,27)
  (1,56)
Frame 4: 321 changes
root@d7299c7f5982:/app#
