Error using VideoReader to load video files
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone,
When running a function, I'm getting this error:
Error using VideoReader/init (line 450)
File could not be read due to an unexpected error. Reason: Class not registered
-------------------------------------------------------------------------------------------------------
MATLAB Version: 8.1.0.604 (R2013a) MATLAB License Number: Operating System: Microsoft Windows Server 2008 R2 Version 6.1 (Build 7601: Service Pack 1) Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode -------------------------------------------------------------------------------------------------------
I am not running any RDC/VNC software, Matlab is running on the head node of a 3-node HPC Cluster.
Thanks for your help.
0 件のコメント
回答 (1 件)
Saurabh
2025 年 5 月 13 日
The error occurs because MATLAB R2013a does not support reading MP4 files using the 'VideoReader' function on Windows Server 2008 R2. Starting from MATLAB R2014a, support for MP4 file format with 'VideoReader' is available on Windows 7 and later versions. To resolve this issue, upgrading MATLAB from R2013a to R2014a or a later version is recommended.
I hope this helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!