how to play movie backwards
10 views (last 30 days)
Show older comments
I know step function can play movie forward. Does anyone know how to play movie backwards?
0 Comments
Answers (2)
Image Analyst
on 2 Mar 2015
Use read() and just pass it the frame numbers in reverse order. Then display them with imshow().
0 Comments
Hayat Ullah Kakakhel
on 24 Apr 2019
v = VideoReader('xylophone.mp4');
nf = floor(v.Duration*v.FrameRate);
for i =nf:-1:1
imshow(read(v, i))
pause(1/v.FrameRate)
end
Plz run this code will help you to play video in reverse direction
0 Comments
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!