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

Unable get correct video duration. #135

urzz opened this Issue Sep 26, 2017 · 1 comment


None yet
2 participants

urzz commented Sep 26, 2017

When I use XuggleVideo to get video duration, the duration is not correct for me!

For Example:
The video's duration is 14.96s. but the function XuggleVideo.getDuration give me 14s.

Dirrectly cast double to long will lost decimal part. Why not use Math.round to convert double to long ?


This comment has been minimized.

Show comment
Hide comment

jonhare Sep 26, 2017


Fixed - thanks!


jonhare commented Sep 26, 2017

Fixed - thanks!

@jonhare jonhare closed this Sep 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment