MATLAB: Does the AVI file I created in MATLAB play in Windows Media Player but not in QuickTime

MATLAB

I created an AVI movie in MATLAB using the MOVIE2AVI command.
My movie plays in Window Media Player, but it does not play in QuickTime. How can I get my movie to play in QuickTime?

Best Answer

  • To create a movie that plays in both QuickTime and Windows Media Player, specify a video compression format (codec) that is compatible with both Windows Media Player and QuickTime. Also, make sure that the specified codec is installed on your computer. To specify a compression format, pass the 'compression' parameter to the MOVIE2AVI function. For example,
    movie2avi(mov,filename,'compression','Cinepak')
    A list of formats supported by Windows Media Player can be found at:
    A list of formats supported by QuickTime can be found at: