Problem 1222. Create a Video

Solution 1680120

Submitted on 25 Nov 2018
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
y=Action; f=dir('peaks.avi'); assert(~isempty(f)) assert(abs(f(1).bytes- 1114774)<100000,sprintf('size %i\n',f(1).bytes))

Error using VideoWriter/writeVideo (line 364) Frame must be 452 by 357 Error in Action (line 18) writeVideo(writerObj,frame); Error in Test1 (line 1) y=Action;