read and play AVI

조회 수: 1 (최근 30일)
pink
pink 2011년 6월 19일
I have a problem when playing videos (AVI) on GUI
function aviaxes_OpeningFcn(hObject, eventdata, handles, varargin)
mov = aviread('Shania.avi')
movie(handles.axes1, mov);
??? Error using ==> aviread at 76 Unable to locate decompressor to decompress video stream
Error in ==> aviaxes>aviaxes_OpeningFcn at 54 mov = aviread('Shania.avi')
  댓글 수: 5
Walter Roberson
Walter Roberson 2011년 6월 19일
Which Windows version are you using, and are you running the 32 bit or 64 bit windows?
pink
pink 2011년 6월 19일
hi walter
I'm running windows XP2 32 bit

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2011년 6월 19일
(Note to Windows 64 bit users: most codecs are not available in 64 bit versions, and some common codecs like Indeo5 are not available for Windows 7 at all; however it is reported that R2011b will have a new class that will relieve some of the codec issues.)
  댓글 수: 6
Walter Roberson
Walter Roberson 2011년 6월 20일
That's the MPEG-1 Layer 3 MP3 audio codec, but it appears that it is most often generated by Unix software that produces incorrect audio headers when encoding.
Try the codec at http://www.moviecodec.com/download-audio-codecs/mpeg-1-layer-3-codec-18/
pink
pink 2011년 6월 21일
thanks walter

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by