Skip to content

Fail to open capture device (Linux and macOS builds are not compiled with FFmpeg) #14

Closed
@cachitas

Description

@cachitas

My system is

Ubuntu 14.04.5 LTS
Python 3.5

I have a virtual environment with

$ pip freeze
numpy==1.11.1
opencv-python==3.1.0.2

Any try on opening a VideoCapture fails... Any of the following always return False when I test with cap.isOpened()

cap = cv2.VideoCapture(full_path_to_video_file)
cap = cv2.VideoCapture(0)
cap = cv2.VideoCapture(-1)

I have ffmpeg installed and other OpenCV installations from source on my system work fine.
I was now giving a try with your package but it is not working. What am I missing? Do I need to link ffmpeg in some way?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions