reading and writing movie files of of . y4m extension

5 views (last 30 days)
Hi everyone I have two questions
1-How to read and write movie files (of . y4m extension) with matlab
2-I want simple movies (.avi extension) with little frames with size(256X256) or size(512X512)
Regards

Accepted Answer

Walter Roberson
Walter Roberson on 2 Dec 2015
For writing y4m files I do not see code available (but I do see it listed as an Extra Credit project at a couple of universities.)
For writing .avi see VideoWriter
  9 Comments
sendja450
sendja450 on 10 Apr 2017
I'm using the function you mentioned in your answer, it worked for me. Now I want to divide each frame into 64x64 block and build an histogram for each block created. Could you help me on that ?
Walter Roberson
Walter Roberson on 10 Apr 2017
mat2cell() to break into blocks, and then histogram each. Or, alternately, you might be able to use blockproc()

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!