Matlab bugs / codec issue??

조회 수: 2 (최근 30일)
Kelly Howard
Kelly Howard 2015년 10월 2일
편집: Walter Roberson 2015년 10월 3일
hi, i was trying to run this code from "http://wanglimin.github.io/motionlet/" which require R2012a. i do not face any problem doing it at home but i received this error from i am using the school PC. please assist! thank you
---------------------------------------------------------------------
Error using VideoReader/init (line 447)
Failed to initialize internal resources.
Error in VideoReader (line 132)
obj.init(fileName);
Error in demo (line 10)
vidObj=VideoReader('Golf-Swing-Back-003.avi');
  댓글 수: 2
Sean de Wolski
Sean de Wolski 2015년 10월 2일
Can you open the video in that machine's native video player? E.g. Windows Media Player, Quicktime, VLC?
Kelly Howard
Kelly Howard 2015년 10월 2일
편집: Kelly Howard 2015년 10월 2일
yes, i am using UCF sport dataset.

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

답변 (1개)

Dinesh Iyer
Dinesh Iyer 2015년 10월 2일
The error indicates that the required codecs are not installed on your school's system. As VideoReader makes use of Windows APIs, test whether you are able to view the file on Media Player. If this fails, you need to install codecs to read this file. Popular codecs you can try are ffdshow or K-lite codec pack.
If the file does play on Media Player, then this could be a bug with VideoReader. Can you post a link to the video?
Dinesh
  댓글 수: 3
Kelly Howard
Kelly Howard 2015년 10월 2일
hi, the k codec works. thank you!
Dinesh Iyer
Dinesh Iyer 2015년 10월 2일
Glad that this worked. Can you mark the answer accepted so that others running into this issue know what the solution is?
Dinesh

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

카테고리

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