VideoTimeStretch

VideoTimeStretch[video,spec]

applies time stretching to video using the specified spec.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Slow down a video by a factor of 2:

Speed up by a factor of 2:

Slow down just a portion of a video:

Applications  (1)

Reverse a video and join it with the original video:

Properties & Relations  (3)

Apart from duration, the video track properties of the input video are not changed by default:

VideoTimeStretch only operates on the video tracks:

Stretch with a uniform ratio:

Stretch the audio track using AudioTimeStretch:

Combine the video and audio tracks:

Use VideoFrameMap to create a file from all original frames at a different frame rate:

This effectively only changes time stamps of all frames:

Compare with the result of VideoTimeStretch:

Possible Issues  (2)

Time intervals should not overlap:

The stretch factor should not be zero:

If a function is provided, it should never evaluate to zero:

Wolfram Research (2021), VideoTimeStretch, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoTimeStretch.html (updated 2022).

Text

Wolfram Research (2021), VideoTimeStretch, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoTimeStretch.html (updated 2022).

CMS

Wolfram Language. 2021. "VideoTimeStretch." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/VideoTimeStretch.html.

APA

Wolfram Language. (2021). VideoTimeStretch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoTimeStretch.html

BibTeX

@misc{reference.wolfram_2023_videotimestretch, author="Wolfram Research", title="{VideoTimeStretch}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/VideoTimeStretch.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_videotimestretch, organization={Wolfram Research}, title={VideoTimeStretch}, year={2022}, url={https://reference.wolfram.com/language/ref/VideoTimeStretch.html}, note=[Accessed: 19-April-2024 ]}