How to create a video with different frame time?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi! I'm trying to create a video from several images (saved in a cell array) with the following characteristic:
1)Each frame needs to have a different presentation time (in milliseconds NOT seconds)
So, I'm not sure how I can get different presentation times per frame neither which command allows me to display my frames in milliseconds. Any suggestion will be greatly appreciated!
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 6 月 24 日
The only video format that I can think of at the moment that supports that is Animated GIF.
The typical way to handle it for other video formats is to repeat the frame as many times as needed so that framerate times repetitions is the desired presentation time. These duplicate frames would typically be encoded very efficiently by near-empty P frames, except as required by standards that mandate that full I frames occur at intervals (which could be the case for multicast video, for example, since the sender cannot be sure that all of the destinations received the initial I frame.)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!