I recorded an uncompressed / un-encoded video in yuv
format using camera of my raspberry pi
. I want to read each frame as an image and also count the total number of frames of the video.
I found this answer : How to read a frame from YUV file in OpenCV? But it looks old and doesn't seem to work.
Do I have to convert yuv
video to some other format first to read each frame. How should I go about it?
Which tool will be better for this, OpenCV
or Matlab
or some other?