AVIREAD unable to locate decompressor when H264 codec is present

1 回表示 (過去 30 日間)
Richard
Richard 2012 年 3 月 15 日
Old file ran on R2009A/WIN 32 will not run R2009A/ WIN64 using 'AVS Video Remaker' converted file to H.246. Using video = uigetfile ('*.avi') and then info = aviinfo(video) info.VideoCompresion = H264
Using GSpot I confirm that the H264 codec is present.
However using aviread(video) I get error Unable to locate decompressor. I can display the file on several other programs including 'Windows Media Player'
What is the problem? How do I solve it. PS I have read all of the threads posted on this issue.

採用された回答

Onomitra Ghosh
Onomitra Ghosh 2012 年 3 月 15 日
It may be the case the H.264 decoder present is a 32 bit version and not 64 bit one. Windows Media Player (and many other applications) on win64 is a 32 bit application and hence is able to play it fine.

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 3 月 15 日
H.264 was not supported until R2011b (I think it was.)
  4 件のコメント
Richard
Richard 2012 年 3 月 15 日
Thanks! That is what I am doing for a work around but do not like it. I read the file and convert it to wmv and then read it. So I am changing my program from avi read to mmreader. Nothing is simple any more.
Avner Atias
Avner Atias 2012 年 4 月 24 日
Hi Richard,
How do you convert h.264 to wmv?
Thanks,
Avner

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by