-
Notifications
You must be signed in to change notification settings - Fork 4
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
problem when running decode sample #106
Comments
What input do you use ? Is it same as in sample or did you change it ? |
@RomanArzumanyan Hi, I tried different videos with mp4 format, including the video in the test folder named test.mp4, but none of them worked, still showing the following error. |
That's very strange. print(frame.shape)
print(surf_dst.__cuda_array_interface__)
# Copy pixels to numpy ndarray
success, details = pyDwn.Run(surf_dst, frame)
if not success:
print(details)
raise StopExecution When working properly, the output shall be like this (for test.mp4 video of resolution 848x464):
848x464 RGB |
@RomanArzumanyan It seems the shape is correct, but still unable to obtain a successful result. |
It looks like something is happening in the C++ land although I'm not sure what.
Building from source is not difficult, you just check out the feature branch and run |
@RomanArzumanyan I got the following output using the issue_106 branch build from the source. |
Thanks for the update @incomingflyingbrick It means that Need to google on this. Looks like some sort of lazy init of P. S. # Numpy array which contains decoded RGB Surface
frame = np.ndarray(
dtype=np.uint8,
shape=surf_dst.HostSize)
frame[:]=0 |
@RomanArzumanyan /storage/ongoing/new/test_decord/VALI/src/python_vali/src/PySurfaceDownloader.cpp::Run |
I am trying to decode a video using a sample, but I got the error saying source and output dimention mismatch at this line
# Copy pixels to numpy ndarray success, details = pyDwn.Run(surf_dst, frame)
decode sample
Is this a software bug of the library ?
The text was updated successfully, but these errors were encountered: