フィルターのクリア

how to control movie play rate?

23 ビュー (過去 30 日間)
roudan
roudan 2018 年 5 月 4 日
回答済み: Van Thuan Hoang 2021 年 8 月 6 日

Hi

I am using videowriter and writevideo to generate a movie. The movie generated play too fast so I cannot see it. I am wondering if I can generate a movie which play slowly after opening it. If I reduce the frame rate, the movie does play slower on the matlab figure screen during the generation process. However, after generating the movie as avi file, I opened it and play it and it still play very fast.

Thank you so much for your help.

The code I am using like this:

v = VideoWriter(movie_filename); v.FrameRate=2; v.Quality = 95;

% Get frame as an image mov_iframe = getframe(hmovie_axes,rect); writeVideo(v,mov_iframe)

回答 (1 件)

Van Thuan Hoang
Van Thuan Hoang 2021 年 8 月 6 日
https://au.mathworks.com/matlabcentral/answers/437855-how-can-i-change-the-speed-of-the-video

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by