MATLAB Answers

0

How to Insert New Image in Video as first frame?

Asked by voxey on 20 Jun 2019
Latest activity Commented on by voxey on 24 Jun 2019
How to Insert New Image in Video as first frame?

  0 Comments

Sign in to comment.

1 Answer

Answer by Vismay Raj on 20 Jun 2019

Read the video using
videoObj = mmreader(FileName);
video = videoObj.read();
% the nth frame is accessed by video(:,:,:,n)
Read the image and append it
img = imread(filename);
video = cat(4,img,video);

  1 Comment

Vismay Raj , Its show Error. its not realated to my question.

Sign in to comment.