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
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 Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!