Program for video file size

2 visualizzazioni (ultimi 30 giorni)
Abdulaziz Alamri
Abdulaziz Alamri il 4 Lug 2020
Risposto: Kawin Kumaran il 5 Lug 2020
How can i find the video size in GB?

Risposta accettata

Kawin Kumaran
Kawin Kumaran il 5 Lug 2020
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)

Più risposte (0)

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by