MATLAB Answers

VideoReader Error: "The byte stream type of the given URL is unsupported"

26 views (last 30 days)
benvolio
benvolio on 29 Jun 2020 at 18:33
Answered: benvolio on 2 Jul 2020 at 16:17
I am trying to query the NumFrames property of an mp4 file but am met with the error:
mp4 = VideoReader('2G.mp4')
"Error using VideoReader/initReader (line 734)
Could not read file due to an unexpected error. Reason: Error Creating Source Reader Reason: The byte stream type of
the given URL is unsupported.
Error in audiovideo.internal.IVideoReader (line 136)
initReader(obj, fileName, currentTime);
Error in VideoReader (line 104)
obj@audiovideo.internal.IVideoReader(varargin{:});"
Let me know if there is any further info that I can provide. Thank you for any help.

  0 Comments

Sign in to comment.

Accepted Answer

benvolio
benvolio on 2 Jul 2020 at 16:17
This turned out to be an unsupported codec issue. Downloading https://www.mediaplayercodecpack.com/ resolved the issue.

  0 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2020a