Problem reading .mov file

조회 수: 15 (최근 30일)
lynniz
lynniz 2013년 9월 16일
댓글: Erik Clark 2018년 10월 2일
Hi,
I have a sample video in .mov format that I want to import in to MATLAB. I used VideoReader function (the documentation on it says it does support .mov format), but got the following error: Error using VideoReader/init (line 450) File could not be read due to an unexpected error. Reason: No width and height for this File Reason: Unknown error 0xC00D36E6
I also tried mmfileinfo function on the same video, but got the following error: Error using mmfileinfo (line 71) Could not get file information.
Has anyone experienced this before? Does this mean the .mov is missing some header information? My OS is Windows 7.
Any help would be greatly appreciated.
Thanks,
Lin
  댓글 수: 1
Asim Muhammad
Asim Muhammad 2016년 11월 5일
i have same problem , with windows 10 its ok , but with win 7 its dosent work , plz do share if u got some solution

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

답변 (2개)

Image Analyst
Image Analyst 2013년 9월 16일
Does it work with any other mov file? I haven't done that so post your code if you want anyone to try it.
  댓글 수: 5
lynniz
lynniz 2013년 9월 18일
I was able to play the first failing video in QuickTime. I noticed when I looked at the properties of the video, information like frame width, height, and rate are missing. And those were the information missing for the VideoReader as well. I tried couple other .mov files. The ones with frame width, height, and rate information played in QuickTime, WMP, and VideoReader. The ones don't only played in QuickTime. So does this sound like a codec problem?
Image Analyst
Image Analyst 2013년 9월 18일
Sounds like a coder problem - the coder should have put that info in there. QuickTime's decoder is apparently smart enough to able to figure it out for the first failing video, while the others aren't smart enough.

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


Sean de Wolski
Sean de Wolski 2013년 9월 16일
Can you open the *.mov file in Windows Media Player or VLC?
  댓글 수: 6
Asim Muhammad
Asim Muhammad 2016년 11월 5일
i am using Win 7 with matlab 2016a , its dosent work for me ,, plz help me . its works with windows 10 but with windows 7 dosent ,
Erik Clark
Erik Clark 2018년 10월 2일
Then what are the right codecs Sean?

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

카테고리

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