How to create a video with different frame time?

3 visualizaciones (últimos 30 días)
Wendy Fernandez
Wendy Fernandez el 24 de Jun. de 2016
Respondida: Walter Roberson el 24 de Jun. de 2016
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!

Respuestas (1)

Walter Roberson
Walter Roberson el 24 de Jun. de 2016
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.)

Community Treasure Hunt

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

Start Hunting!

Translated by