Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: black avi using movie2avi
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Mike

Posts: 336
Registered: 4/17/07
black avi using movie2avi
Posted: Aug 26, 2013 2:30 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi

I'd like to generate avi file from a series of images.
Every image is like X(1:nrow,1:ncol,1:3), and its value is with [0,1].
Then I store X_mov as these series. And then
% movie structure array
mov=immovie(X_mov);

Then I use
movie2avi(mov, 'my.avi', 'compression', 'None');
I double click my.avi outside Matlab, which was opened by Windows Media Player. Then the movie is all in black.

If I use
implay(mov) in Matlab, the movie is okay(I can see the image animation).

Why movie2avi fails?

Any suggestion



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.