[問題] 關於使用matlab輸出avi影片 已回收

看板MATLAB作者 (Pomelo)時間15年前 (2011/03/17 20:00), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串1/1
不好意思~小弟我之前問過要在圖上標點的問題 因為標完點的frame 是要用來作成影片使用 所以已經知道可以先用getframe 抓取我要的frame 再用addframe 加進所建立的avi中 aviobj = avifile('Drosophila.avi','fps',3); % 一秒播三張 for k = 1:32 imshow(vedio(k).cdata); hold on plot(position(1),postion(2),'b*'); hold off obj = getframe(gcf); aviobj = addframe(aviobj,obj.cdata); end aviobj = close(aviobj); 程式碼為上面 程式執行卻反而出現了 Warning: Cannot locate Indeo5 compressor, using 'None' as the compression type. See Mathworks Technical Solution 1-4G50RI for more information. ??? Error using ==> avi Failed to open file. Error in ==> avifile.avifile at 173 aviobj.FileHandle = avi('open',filename); 上面這樣的訊息 不知道到底是哪裡出錯了 囧rz -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.55.27

03/18 04:30, , 1F
電腦找不到Indeo5這個codec
03/18 04:30, 1F

03/18 16:09, , 2F
是因為win7系統不能使用這種壓縮方式嗎???實際去看過help
03/18 16:09, 2F

03/18 16:10, , 3F
這種壓縮方式是適用於win系統的啊 冏"
03/18 16:10, 3F

03/18 20:35, , 4F
Indeo5不支援win7 而且只支援32bit 所以如果是win7 64..
03/18 20:35, 4F
文章代碼(AID): #1DWVV2dr (MATLAB)