# Import[] bug (video)?

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 )

Thanks.

-
Perhaps it would help if you upload (a part of your) AVI and also specify your mma and OS version. –  Ajasja Sep 14 '12 at 14:29
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. –  Searke Sep 14 '12 at 14:33
Will do. No need to upload my avi, I tested it on MMA's 'clip.mov' in their ExampleData - same problem. Thanks. –  Cuboid Sep 14 '12 at 14:40
This might be of some value: mathematica.stackexchange.com/questions/161/… –  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.

-
Many Thanks, I wiil. –  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...

-
Thanks, I'll try some other codecs. –  Cuboid Sep 14 '12 at 14:26
Tried several, including raw video and get the same issue (on Window 7, 64-bit MMA 8) –  Cuboid Sep 14 '12 at 14:31