finding the compression ratio
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a code below
writerObj = VideoWriter('ne1.mpg');
open(writerObj)
for k = 1:nFrames
image = ((imread(fullfile(path,files(k).name))));
writeVideo(writerObj,image);
end
close(writerObj);
xyloObj = VideoReader('ne1.avi');
i have some frames when i use mpg format i get error as file not found in matlab path,if i use avi it works fine,plz help
another thing how to find the compression ratio for video
original is ne.avi and compressed is ne1.avi
1 Kommentar
Jan
am 21 Mär. 2013
The questions are not clear. Please do not describe the error like "as file not found", but copy the error message and explain in which line it occurs. What exactly is the "compression ratio"? Would the relation between the file sizes matchs your needs already?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!