kcct-fujimotolab / 3DCNN

3D convolutional neural network for video classification
270 stars 107 forks source link

Issue with reading .avi files #4

Open sheelabhadra opened 6 years ago

sheelabhadra commented 6 years ago

While trying to run the 3dcnn.py file on the UCF101 dataset, I got an error - OpenCV: Couldn't read video stream from file "v_BalanceBeam_g02_c02.avi". I am working on macOs with Python 3 and OpenCV 3.3 installed in an Anaconda environment. I am having trouble with reading .avi files but .mp4 files work perfectly in my environment. Any suggestion to resolve the issue is appreciated. Thanks!

bingo9062 commented 6 years ago

I meet the same question in macOS . Have you got the resolution?

bingo9062 commented 6 years ago

i can run perfectly at mp4 file Have you got the resolution?

sheelabhadra commented 6 years ago

I am using a workaround, for now. I am using MacOS native Python 2.7 instead of Anaconda Python 3.6 and I am able to process .avi files. I think installing OpenCV from the correct source in the Anaconda environment should resolve the problem. But, I haven't explored it myself. Please let me know if you find a solution.