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

Issue with pulling framerate from VideoIO object #8

Closed
dcschaper opened this issue Oct 25, 2022 · 1 comment
Closed

Issue with pulling framerate from VideoIO object #8

dcschaper opened this issue Oct 25, 2022 · 1 comment

Comments

@dcschaper
Copy link

It seems like the line in the julia-course-example.ipynb notebook that tries to pull the framerate from the video has an issue with how it is trying to access this field (I can't reference the specific line in the code here due to it being a .ipynb file).

The line:
fps = VideoIO.framerate(video_input)/1000 * u"s^-1"

Throws the error:
"type VideoReader has no field framerate"

However, if I change it to call:

fps = VideoIO.framerate(video_input)/1000 * u"s^-1"

It seems to work.

This seems to be related to this discussion that I found here on a JuliaIO issue (JuliaIO/VideoIO.jl#349)

@oschulz
Copy link
Owner

oschulz commented Oct 26, 2022

Thanks, should be fixed now.

@oschulz oschulz closed this as completed Oct 26, 2022
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