필터 지우기
필터 지우기

This code runs on other computers but when I run on win7 32 bit operating system the code It does not works and give error Warning: Unable to determine the number of frames in this file.

조회 수: 1 (최근 30일)
x=VideoReader('clip.mp4');
for img = 1:x.NumberOfFrames
filename = strcat('frame',num2str(img),'.jpg');
b = read(x, img);
b=rgb2gray(b);
imwrite(b,filename);
end
  댓글 수: 8
Image Analyst
Image Analyst 2018년 5월 26일
I'd doubt that is the reason, but who knows - we've all seen some bizarre things before. If you can, a 64 bit OS is better overall if your hardware can handle it.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by