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

MP4 Reader randomly crashes with "No Videotrack found" error when root folder given to reader has no file initially #226

Open
mraduldubey opened this issue May 4, 2023 · 1 comment
Assignees

Comments

@mraduldubey
Copy link
Collaborator

Describe the bug
MP4 Reader randomly crashes with "No Videotrack found" error when root folder given to reader has no file initially.
This happens because the reader starts reading the file file before the writer has not finished syncing.

To Reproduce
Steps to reproduce the behavior:

  1. Run the mp4_reader_tests/mp4reader_waits_when_no_video_and_reads_whenever_video_is_written at high fps
  2. Error should happen once in a while

Expected behavior
Implement the fix using live features/retryInitInterval & retry when video track error occurs.
Ultimately, we should have the test reliably passing.

Desktop (please complete the following information):

  • OS: Originally observed on WIN but can happen anywhere

Additional context
NVR required to give a path instead of video file.

Would you like to work on the issue?
@mohammedzakikochargi

@mraduldubey
Copy link
Collaborator Author

@mohammedzakikochargi
Update this issue

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

No branches or pull requests

2 participants