Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully handle PI recordings with broken video #2077

Merged
merged 9 commits into from
Jan 11, 2021
Merged

Conversation

romanroibu
Copy link
Contributor

@romanroibu romanroibu commented Dec 17, 2020

There is a bug which causes a small number of Pupil Invisible recordings to have videos where the first video packet contains invalid data and triggers an AVError. This PR addresses this issue by checking whether the PI recording is affected by the bug, and if it is - rewrites the affected video files by ignoring the first packet, and skips the first timestamp accordingly.


ClickUp Task

@romanroibu romanroibu requested a review from papr December 17, 2020 15:06
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.

2 participants