AVI--> suite d'images sur Matlab.

walloud Messages postés 1 Date d'inscription   Statut Membre Dernière intervention   -  
Pierrecastor Messages postés 41491 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?
A voir également:

3 réponses

aloes Messages postés 6109 Date d'inscription   Statut Membre Dernière intervention   778
 
Bonjour,

je ne connais pas Matlab G, c'est un soft que tu as acheté ?

Sinon, tu as ce lien :
http://www.tutoriels-animes.com/extraire-images-video.html

aloes
0
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
FARES
 
il faut convertir les videos en format WMV
-1
Pierrecastor Messages postés 41491 Date d'inscription   Statut Modérateur Dernière intervention   4 151
 
Salut

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