size of video file and audio file

6 vues (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 23 Avr 2019
Commenté : Walter Roberson le 24 Avr 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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by