size of video file and audio file

5 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2019 年 4 月 23 日
コメント済み: Walter Roberson 2019 年 4 月 24 日
how to find size of video file and audio filesize of video file and audio file?
i saw for audio file we can use
siz = wavread(filename,'size')
but my version does not support wavread
is there any other way to find size of both video and audio file?

採用された回答

Walter Roberson
Walter Roberson 2019 年 4 月 23 日
  2 件のコメント
Elysi Cochin
Elysi Cochin 2019 年 4 月 24 日
but file size means, in bytes, right? how to get that from mmfileinfo? or should i compute it?
Walter Roberson
Walter Roberson 2019 年 4 月 24 日
dir() and look at the 'bytes' field if you just want to know the size of the file as stored on disk. bytes will not tell you anything about image size or number of channels or sampling frequency. Bytes on disk also will not directly tell you about compression efficiency.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by