Skip to content

Instantly share code, notes, and snippets.

@yiminglin-ai
Last active October 8, 2018 12:43
Show Gist options
  • Save yiminglin-ai/56fe2a2921acc0fa93bbfc6c05e5ed5f to your computer and use it in GitHub Desktop.
Save yiminglin-ai/56fe2a2921acc0fa93bbfc6c05e5ed5f to your computer and use it in GitHub Desktop.
Matlab errors #matlab #cuda

VideoReader : Could not read file due to an unexpected error. Reason: Unable to initialize the video properties

sudo apt install ubuntu-restricted-extras

Reference

CUDA errors

Make sure the installed version of MATLAB supports the installed version of CUDA. This is very important. I compiled OpenCV with CUDA9.0 and try to compile a mexFunction calling OpenCV CUDA functions in Matlab R2018b. They this release only supports CUDA9.1 so I rolled back to R2018a.
Reference: GPU Support by Release

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