0
$\begingroup$

I'm trying to import frames from a video with the extension .avi, using this piece of Mathematica code:

Import["video.AVI", {"Frames", {5, 6}}]

But I get this error:

Cannot import data as videoformat.

What is the problem?

$\endgroup$
  • $\begingroup$ Have you tried: Import["video.AVI"] Import["video.AVI" ,"AVI"] What messages do you get? $\endgroup$ – Searke Apr 4 '16 at 15:47
  • $\begingroup$ @Searke Yes I did and I get an array of indices indicating each frame. $\endgroup$ – faf Apr 4 '16 at 15:52
  • 1
    $\begingroup$ I would contact wolfram technical support (probably by email) if no one comes up with a suggestion. $\endgroup$ – Searke Apr 4 '16 at 20:01
  • 2
    $\begingroup$ community.wolfram.com/groups/-/m/t/385261?p_p_auth=5mj3jDt1 and mathematica.stackexchange.com/questions/161/… may or may not be helpful. $\endgroup$ – barrycarter Apr 5 '16 at 2:00
  • 1
    $\begingroup$ faf, If you are willing to go through the extra effort to install ffmpeg, then this package looks perfectly suited to the problem. $\endgroup$ – Jason B. Apr 6 '16 at 8:07
2
$\begingroup$

I checked it with 64-bit OS and it worked. Apparently It only work in 64-bit version of windows (7).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.