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

8 ビュー (過去 30 日間)
benvolio
benvolio 2020 年 6 月 29 日
コメント済み: John 2022 年 10 月 4 日
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.

採用された回答

benvolio
benvolio 2020 年 7 月 2 日
This turned out to be an unsupported codec issue. Downloading https://www.mediaplayercodecpack.com/ resolved the issue.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by