size of video file and audio file

5 次查看(过去 30 天)
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 个)

Community Treasure Hunt

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

Start Hunting!

Translated by