Error reading mp4 file. Unknown error 0xC00D002F

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 Kommentar

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"

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 17 Okt. 2017

0 Stimmen

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.

Kategorien

Mehr zu Scope Variables and Generate Names finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 11 Okt. 2016

Beantwortet:

am 17 Okt. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by