How to read a YUV video in MATLAB2015a?
vision.VideoFileReader() supports avi/mpg/H.264 and others. But, not YUV.
Most of the video datasets available are in YUV.
This is the sample code to read avi file.
videoFReader = vision.VideoFileReader('viplanedeparture.avi');videoPlayer = vision.VideoPlayer;while ~isDone(videoFReader) videoFrame = step(videoFReader); step(videoPlayer, videoFrame);endrelease(videoPlayer);release(videoFReader);
How can i convert this to read YUV file?
Best Answer