Program for video file size

4 ビュー (過去 30 日間)
Abdulaziz Alamri
Abdulaziz Alamri 2020 年 7 月 4 日
回答済み: Kawin Kumaran 2020 年 7 月 5 日
How can i find the video size in GB?

採用された回答

Kawin Kumaran
Kawin Kumaran 2020 年 7 月 5 日
To find the size of a file in bytes :
info = dir('video1.avi');
filesize = info.bytes;
Then to convert bytes to GB it can be done mathematically :
gb_size = filesize / (1024^3)

その他の回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by