Skip to content

Fix v2.1 output integrity and H264 decode fallback#2

Merged
joaner merged 1 commit into
mainfrom
fix/v21-output-integrity
Jun 10, 2026
Merged

Fix v2.1 output integrity and H264 decode fallback#2
joaner merged 1 commit into
mainfrom
fix/v21-output-integrity

Conversation

@joaner

@joaner joaner commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add version-aware ValidateOutputIntegrity for v2.1 (episode_*.parquet and per-episode video paths).
  • Branch lerobot/writer.go integrity checks by codebase_version so v2.1 no longer uses v3 globs.
  • Fix finalizeVideos to fall through to encoder when H264 remux has no tracks (decode fallback case).
  • Run integrity validation at end of v2.1 merge before WriteInfo.
  • Add unit tests for integrity layout and H264 fallback; ignore /bin/ in .gitignore.

Test plan

  • go test ./...
  • go build ./cmd/lerobot-go
  • Local lerobot-go validate on v2.1+mp4 and v2.1+jpg exports

ValidateOutputIntegrity now follows v2.1 parquet/video paths, merge runs the check before WriteInfo, and finalizeVideos falls back to encoder when remux has no tracks.
@joaner joaner merged commit 86fa9c0 into main Jun 10, 2026
2 of 3 checks passed
@joaner joaner deleted the fix/v21-output-integrity branch June 10, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant