Video

Video[file]

represents video stored in the given file.

Video[url]

represents video stored in the given URL.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Create a Video object linking to a local file:

Check that the created video is valid:

Plot a summary of the video:

Get general information about the video:

Scope  (6)

Create a Video object from a file:

Create a video from a URL:

Create a video from a CloudObject:

Create a video from a ResourceObject:

Create a video from a Manipulate:

Create a video from a Manipulate with some audio:

Options  (9)

Appearance  (3)

By default, the "Basic" appearance provides some controls for playback position, track selection and more:

Use the "Minimal" appearance that plays the video in the notebook:

Use the "Thumbnail" appearance to open the video in an external player:

AudioTrackSelection  (1)

By default, the video will contain all the audio tracks present in the file:

Select only two audio tracks:

ImageResolution  (1)

By default, 72dpi is assumed for videos:

Specify the resolution:

ImageSize  (1)

By default, an automatic display size is used:

Specify the display size:

RasterSize  (1)

By default, the video is at its full resolution:

Compare to the original frame dimensions:

Specify the pixel dimensions of each frame to be returned from the created video:

Video functions such as VideoExtractFrames respect the RasterSize setting:

SubtitleTrackSelection  (1)

By default, the video will contain all the subtitle tracks present in the file:

Select only one subtitle track:

VideoTrackSelection  (1)

Create a video file with multiple video tracks:

By default, the video will contain all the video tracks present in the file:

Select only one video track:

Applications  (2)

Create a collage of video frames to show a summary of a video:

Analyze a video to find transitions from one scene to another:

Plot the result, showing times with significant scene change:

Properties & Relations  (3)

A valid Video expression is considered a raw object for pattern-matching purposes:

This does not apply to invalid expressions:

The video content is not actually stored in the Video expression:

By default, Import uses the "Video" element, which makes a Video object from a video file:

Possible Issues  (1)

Constructing a Video object from a URL may take a longer time:

Download the file and create a video from the local file instead:

Wolfram Research (2020), Video, Wolfram Language function, https://reference.wolfram.com/language/ref/Video.html (updated 2024).

Text

Wolfram Research (2020), Video, Wolfram Language function, https://reference.wolfram.com/language/ref/Video.html (updated 2024).

CMS

Wolfram Language. 2020. "Video." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/Video.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_video, author="Wolfram Research", title="{Video}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/Video.html}", note=[Accessed: 06-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_video, organization={Wolfram Research}, title={Video}, year={2024}, url={https://reference.wolfram.com/language/ref/Video.html}, note=[Accessed: 06-October-2024 ]}