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

Add support for skipping frames #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DarwinsBuddy
Copy link

Add support for skipping frames (in case videofile has malformed frames)

Add delegate call to get stream dimensions
Replace long polling put queue with built-in blocking wait for put (with configurable timeout on instantiation)

@DarwinsBuddy
Copy link
Author

DarwinsBuddy commented Jun 15, 2022

@timgates42 Hi, I wanted to use FileVideoStream to read some go pro footage and process frames with it (as it has a built-in frame buffer). Unfortunately FileVideoStream dropped my video after some frames, as there where unreadable or malformed frames in my file. Skipping over them resolved it. I thought, maybe someone else got the same issues and prefers skipping those frames if they appear. See also added a function returning stream dimensions. cheers ;)

Add delegate call to get stream dimensions
Replace long polling put queue with built-in blocking wait for put (with configurable timeout on instantiation)
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