AVI--> suite d'images sur Matlab.

walloud Messages postés 1 Statut Membre -  
Pierrecastor Messages postés 10830 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour,
G un projet de traitement d'images sur Matlab, G un fichier AVI, et je veux le transformer en une suite d'images,et je suis trés débutant. La fonction mmreader ne marche pas, readavi recncontre des problèmes aussie ( 'Unable to locate decompressor to decompress video stream') mon matlab est 7.0.
Ya t il quelqu'un qui pourrait m'aider?
Configuration: Windows Vista
Internet Explorer 7.0

3 réponses

  1. sousou
     
    Il te faut un codec installé pr décompresser le video, voici l'explication

    Windows AVI files can be compressed using an infinite number of compression methods, depending on the application where the file originated. In MATLAB, you can only specify which compression method to use when writing the file, but not when reading. When reading, AVIREAD will figure out how to decompress the movie based on how it is compressed. It will use a codec that is installed on your machine; you cannot install codecs in MATLAB.

    The compressors/decompressors (codecs) can be installed (as dll's) on Windows machines for media players/editors to use. During playback, the media player looks for the codec. If the player can not find the codec needed to decompress the video, an error occurs. This is what is happening in MATLAB. AVIREAD is making some Windows API calls to try and find the installed codec to decompress the video.

    By using the AVIINFO function, you can determine the codec used to compress the file.
    All codecs have a four character code (fourcc) to describe them. A list of fourcc's can be found at
    https://www.free-codecs.com/guides/guides.php?f=fourcc

    You need to have the correct codec installed to view or load the movie. Contact the manufacturer of the codec to obtain the necessary codec files, or go to https://www.moviecodec.com/
    Pour plus dèinformation
    https://www.mathworks.com/matlabcentral/answers/101316-why-do-i-receive-an-error-when-using-the-aviread-function
    0
  2. FARES
     
    il faut convertir les videos en format WMV
    -1
    1. Pierrecastor Messages postés 10830 Date d'inscription   Statut Modérateur Dernière intervention   4 215
       
      Salut

      Et bravo, tu fait remonter une question qui à deux ans, et en plus pour dire n'importe quoi. ;-p
      0