I have the following code:

frames = Import["myvideo.avi",{"Frames",{50,60,70}}];

This imports frames 1,2, and 3 of the video, not 50,60 and 70. It imports the first N frames, where N is the length of list of frames given. Is this expected behaviour?

( I tried the same with a .mov file, same result )


  • 1
    $\begingroup$ Perhaps it would help if you upload (a part of your) AVI and also specify your mma and OS version. $\endgroup$ – Ajasja Sep 14 '12 at 14:29
  • $\begingroup$ Send an email about this to support@wolfram.com. It's possible that other people may have had this issue, in which case they will know about any workarounds for it. $\endgroup$ – Searke Sep 14 '12 at 14:33
  • $\begingroup$ Will do. No need to upload my avi, I tested it on MMA's 'clip.mov' in their ExampleData - same problem. Thanks. $\endgroup$ – Cuboid Sep 14 '12 at 14:40
  • $\begingroup$ This might be of some value: mathematica.stackexchange.com/questions/161/… $\endgroup$ – Sjoerd C. de Vries Sep 19 '12 at 21:36

I had a similar problem with .mov files and I contacted Wolfram support about it. This is what they told me:

The inability to properly specify the Imported frames from a Quicktime video is related to a (high priority) known issue in Mathematica. Luckily, our developers have created a hotfix for this issue that should resolve this problem. I have attached a file named QuickTime.mx.

I can't attach the file, nor do I know if I am allowed to share it. You should contact support and get it from them.

  • $\begingroup$ Many Thanks, I wiil. $\endgroup$ – Cuboid Oct 15 '12 at 3:49

I can't reproduce your problem here (MacOS X, Mathematica 8).


I can import either frames 50, 60, and 70, or frames 1, 2, and 3. (The title sequence isn't the best part to sample, but the frames are obviously different.)

I've found support for different movie formats patchy, so it may be something to do with your files...

  • $\begingroup$ Tried several, including raw video and get the same issue (on Window 7, 64-bit MMA 8) $\endgroup$ – Cuboid Sep 14 '12 at 14:31

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.