Comments (5)
Hi,
That's strange. On my machine, this code succeeds. I'm sure this isn't related to the bindings. Are you sure you have OpenCV tied to the necessary codec?
from torch-opencv.
@aronfothi
Did you solve this issue? I've run out of ideas :(
from torch-opencv.
Not yet. Could you give me a hint how i could detect the missing codec? The cap:isOpened() ->
false does not give me enough info.
(sry for late reply)
from torch-opencv.
@aronfothi
Try checking this:
- When installing OpenCV, you should see a report like:
...
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: YES (ver 2.2.1)
-- FFMPEG: YES
-- codec: YES (ver 53.35.0)
-- format: YES (ver 53.21.1)
-- util: YES (ver 51.22.1)
-- swscale: YES (ver 2.1.0)
-- gentoo-style: YES
-- GStreamer:
-- base: YES (ver 0.10.36)
-- app: YES (ver 0.10.36)
-- video: YES (ver 0.10.36)
Here you can see the codecs that OpenCV had been linked to.
- Check the codec that your MH.avi is encoded with. Compare.
from torch-opencv.
It was the problem. It was strange because i installed the ffmpeg just before the OpenCV but somehow it was missing. After reinstall it works well.
Thanks.
from torch-opencv.
Related Issues (20)
- can not use the funtion: "cv.applyColorMap(img, cv.COLORMAP_JET)" HOT 3
- Problems with luarocks install cv - lipopenblas dependency HOT 3
- Is DFT/IDFT supported? HOT 5
- [OSX] Undefined symbols for architecture x86_64: HOT 5
- What is the correct Lua points type for cv.fillPoly(src, points, color)? HOT 6
- detectMultiScale3 call from lua (cannot convert 'nil' to 'bool') HOT 4
- how to split the color channel HOT 1
- Could not find a configuration file for package "OpenCV" that exactly matches requested version "3.1". HOT 2
- type mismatch for getAffineTransform and getPerspectiveTransform HOT 2
- VideoCapture{0} HOT 1
- An error in CLAHE HOT 1
- fixed a BUG in function calcHist HOT 1
- Introduce GpuMatT for ALL [Input]OutputArrays
- I have installed OpenCV 3.1 and Torch7. However, when I try to run luarocks install cv, it fails on No targets specified and no makefile found. Stop. HOT 3
- VideoWriter creates empty videos HOT 3
- Problems while rotating/flipping an image on CPU and GPU HOT 1
- how to use BackgroundSubtractMOG2{} function
- ld: symbol(s) not found for architecture x86_64
- error when luarocks make cv-scm-1.rockspec HOT 1
- To Intall Facestream in ARMV7L Raspberry PI 4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch-opencv.