Error when do "python ssd_pascal_video.py" and "python ssd_pascal_webcam.py"
Issue summary
Open video file failed when I do "python ssd_pascal_video.py". I think it is my opencv's problem. So I touch a test.cpp file to test "VideoCapture.open(xxx), VideoCapture.isOpened()", it always returns 0. My opencv version is 2.4.9. And then I install "libavcodec-dev libavformat-dev libswscale-dev", the problems still happens. Sorry for my bad English, this is the first time I ask question in English. Any help would be appriciated!
Your system configuration
Operating system:IBM's superVesselCloud caffe running environment. Ubuntu 14.04
Compiler:g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):
I think that you should run python ~ in %CAFFE_ROOT%. And you would type "python examples/ssd/ssd_pascal_video.py"
@mintlatte Thanks for your answer! I hava tried run that in the caffe's root,and it was the same result : Failed to open the video. And I found it was my " video decoder's " problem. There are many old blogs tell me to install ffmpeg before install opencv from source code... But different versions of g++, Cuda, ffmpeg, opencv cause a lot of compatibility problems..Today I install double OS in my PC,I want to install it from begning . Could you please recommend me an installiation introduction. I see you have opened a new issue about video ratio problem, so you must installed it successfully
@Alex287 I used ubuntu 16.04 and I just followed caffe installation this installation description. Except libraries about that, I just installed cuda 8.0 and I didn't install another program (maybe). As the same, the video codec or decoder, Maybe I just used basic program in ubuntu. I'm sorry, I can't help you about that problems.
@mintlatte Thanks for your help, I have succeed in installing SSD in both GPU and CPU mode. And everything goes successfully when I followed your recommendation link.