AVIREAD unable to locate decompressor when H264 codec is present
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Walter Roberson
2012-3-15
0 个投票
H.264 was not supported until R2011b (I think it was.)
4 个评论
Richard
2012-3-15
Walter Roberson
2012-3-15
Until R2011b you have to use a two-stage process, as best I have been able to puzzle out. One of the stages consists of running a Windows program that can understand h.264, and the second stage consists of transferring the images from the Windows program to MATLAB.
The archived discussions are a bit murky, and it could be that what I am describing only applies to _streaming_ video rather than video already available in a stored file.
Richard
2012-3-15
Avner Atias
2012-4-24
Hi Richard,
How do you convert h.264 to wmv?
Thanks,
Avner
类别
在 帮助中心 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!