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

readAVPacket question #2

Closed
zenkyuv opened this issue Jul 8, 2024 · 1 comment
Closed

readAVPacket question #2

zenkyuv opened this issue Jul 8, 2024 · 1 comment

Comments

@zenkyuv
Copy link

zenkyuv commented Jul 8, 2024

im trying to get correct chunk of frames out of my video using readAVPacket, the video im using is 5 second long, 30 FPS, so it has 150 frames, im trying to get frames between 2-3 second of the video like this:

webdemuxer.readAVPacket(2, 3).getReader()

but even though im trying to get here 1 second chunk which should be 30 frames, im getting about 70 frames and those frames are not starting from the 2 second of the video like stated in readAVPacket, not sure how to go about this ?

@zenkyuv
Copy link
Author

zenkyuv commented Jul 9, 2024

after testing with different videos, seems like its not happening, i think the video i was testing with was broken or something, not sure, i will close it for now and maybe re open when i see it happening more frequently

@zenkyuv zenkyuv closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant