Error reading mp4 file. Unknown error 0xC00D002F

1 visualización (últimos 30 días)
Mikheil Azatov
Mikheil Azatov el 11 de Oct. de 2016
Respondida: Walter Roberson el 17 de Oct. de 2017
I'm receiving an error reading *.mp4 file.
>> im=read(vid,1);
Error using VideoReader/populateNumFrames (line 636)
Could not read file due to an unexpected error. Reason: Read Failed Reason: Unknown error 0xC00D002F
The error pops up when it tries to read number of frames in the video files:
>> get(vid,'NumberOfFrames');
Error using VideoReader/populateNumFrames (line 636)
Could not read file due to an unexpected error. Reason: Could not obtain native media type Reason: Unknown error 0xC00D002F
Error in VideoReader/get.NumberOfFrames (line 316)
obj.populateNumFrames();
Error in VideoReader/get.NumberOfFrames (line 316)
obj.populateNumFrames();
Error in VideoReader/read (line 143)
numFrames = get(obj, 'NumberOfFrames');
I've been able to open many other mp4 files before and I can open this file with VLC or WMP without problems.
  1 comentario
Sam Duckerin
Sam Duckerin el 17 de Oct. de 2017
Have you found a solution?
I've got the same problem, trying to use VideoReader to load an H264 encoded .mp4 file. I needed to download the DivX H264 codec in order to be able to watch the video in WMP, which now works fine. I thought MATLAB might need to use the same codec but I'm still getting the "Unknown error 0xC00D002F"

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 17 de Oct. de 2017
It is difficult to find information on this error. I find numerous sites claiming "registry error", but they look like boilerplate text to me rather than actual technical analysis.
The closest that I can find to a real cause is https://github.com/Dash-Industry-Forum/dash.js/issues/1615 which hints that the error can (perhaps among other reasons) occur in some cases when trying to play DRM protected streams, or mixed streams that include DRM protected substreams.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by