size of video file and audio file

6 Ansichten (letzte 30 Tage)
Elysi Cochin
Elysi Cochin am 23 Apr. 2019
Kommentiert: Walter Roberson am 24 Apr. 2019
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?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Apr. 2019
  2 Kommentare
Elysi Cochin
Elysi Cochin am 24 Apr. 2019
but file size means, in bytes, right? how to get that from mmfileinfo? or should i compute it?
Walter Roberson
Walter Roberson am 24 Apr. 2019
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by