VideoDelete
VideoDelete[video,t]
deletes the first t seconds of video.
VideoDelete[video,-t]
deletes the last t seconds of video.
VideoDelete[video,{t1,t2}]
deletes from time t1 to time t2, returning the remaining video as a single Video object.
VideoDelete[video,{{t11,t12},…}]
deletes multiple time intervals.
Details and Options
- VideoDelete can be used to remove parts of a video.
- The time t can be any of the following:
-
t time given in seconds Quantity[t,"unit"] time given in "unit" compatible with seconds Quantity[t,"Samples"] time given as number of samples - The following options can be specified:
-
AudioEncoding Automatic audio encoding to use CompressionLevel Automatic compression level to use GeneratedAssetFormat Automatic the file format of the result GeneratedAssetLocation $GeneratedAssetLocation location of the generated asset OverwriteTarget Automatic whether to overwrite an existing file SubtitleEncoding Automatic subtitle encoding to use VideoEncoding Automatic video encoding to use VideoTransparency False whether the output video should have a transparency channel
Examples
open allclose allScope (5)
Options (2)
Properties & Relations (3)
If the requested time is beyond the duration of the video, only the available data is returned:
Properties of the original video object are typically preserved:
Remove a section of a video using VideoDelete:
Remove a complementary section of a video using VideoTrim:
Text
Wolfram Research (2020), VideoDelete, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoDelete.html (updated 2021).
CMS
Wolfram Language. 2020. "VideoDelete." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/VideoDelete.html.
APA
Wolfram Language. (2020). VideoDelete. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoDelete.html