How do I obtain the height and width of a given YUV video clip under Matlab? Is there any reader() function or get() function? Anything else? -
how width , height of given yuv file? dimensions needed subsequent movie/matrix processing.
from of videoreader
%# create reader object (does not load file yet) xyloobj = videoreader('xylophone.mpg'); %# query dimensions nframes = xyloobj.numberofframes; vidheight = xyloobj.height; vidwidth = xyloobj.width;
edit
for older versions of matlab, can use aviinfo query properties of movie.
Comments
Post a Comment