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

Bug: OpenCV.VideoWriter_fourcc raises error #31

Open
rakeshksr opened this issue Oct 5, 2023 · 0 comments
Open

Bug: OpenCV.VideoWriter_fourcc raises error #31

rakeshksr opened this issue Oct 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rakeshksr
Copy link
Member

OpenCV.VideoWriter_fourcc raises error.

help?> OpenCV.VideoWriter_fourcc
  No documentation found.

  OpenCV.VideoWriter_fourcc is a Function.

  # 1 method for generic function "VideoWriter_fourcc" from OpenCV:
   [1] VideoWriter_fourcc(c1::Char, c2::Char, c3::Char, c4::Char)
       @ C:\Users\rakesh\.julia\artifacts\fb232e63f59cec37f3a904b5decdaa33513a13b1\OpenCV\src\cv_cxx_wrap.jl:1015

julia> OpenCV.VideoWriter_fourcc("h264"...)
ERROR: MethodError: no method matching jlopencv_cv_cv_VideoWriter_fourcc(::Char, ::Char, ::Char, ::Char)
Stacktrace:
 [1] VideoWriter_fourcc(c1::Char, c2::Char, c3::Char, c4::Char)
   @ OpenCV C:\Users\rakesh\.julia\artifacts\fb232e63f59cec37f3a904b5decdaa33513a13b1\OpenCV\src\cv_cxx_wrap.jl:1016
 [2] top-level scope
   @ REPL[11]:1

Same function works fine in python

In [1]: import cv2 as cv

In [2]: cv.VideoWriter_fourcc(*"h264")
Out[2]: 875967080
@rakeshksr rakeshksr added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant