how to play movie backwards
4 ビュー (過去 30 日間)
古いコメントを表示
I know step function can play movie forward. Does anyone know how to play movie backwards?
0 件のコメント
回答 (2 件)
Image Analyst
2015 年 3 月 2 日
Use read() and just pass it the frame numbers in reverse order. Then display them with imshow().
0 件のコメント
Hayat Ullah Kakakhel
2019 年 4 月 24 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!