简体   繁体   中英

OpenCV: Couldn't read video stream from file

I'm trying to output a video from file using OpenCV 3.4.0. Xcode gives an error message: OpenCV: Couldn't read video stream from file. When i capture video from cam xcode run successfull. I try install ffmpeg 3.4.1 and don't know what headers i need to include. It's all on OSX 10.12 Sierra

找到解决方案,我指向错误的路径文件"~/Desktop/test.mp4"刚刚更改为"/Users/jameson/Desktop/test.mp4"显然opencv没有足够的删节版路径

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM