how can I add a line in a video and play it with implay command?
1 view (last 30 days)
Show older comments
I want to play a video in which I want a line at a location in the full video, How can I do that. I want to use 'implay' because other methods take a long time and they don't have that many playing options.
2 Comments
Geoff Hayes
on 14 May 2016
Mohit - why don't you just read all frames of the video into an mxnx3xk array (assuming true colour frames), insert the line into each frame, and then pass this to implay?
Answers (1)
Walter Roberson
on 18 Jun 2016
VideoFileReader, modify the frame, VideoFileWriter to write the frame. Afterwards you are left with a movie file you can play with implay
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!