Error using VideoReader to load video files
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Saurabh
el 13 de Mayo de 2025
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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!