represents video stored in the given file.
represents video stored in the given URL.
Details and Options
- Video[file] is a representation of a video file stored on the disk in formats such as MP4 or QuickTime. The file may consist of multiple video, audio and subtitle tracks.
- The Video object can be created from any of the following sources:
File["file"] or "file" file name, searched for on $Path URL["url"] or "url" HTTP, HTTPS or FTP URL CloudObject[…] a cloud object LocalObject[…] a local object
- The video file can be in any of the supported video formats including MP4, Matroska, QuickTime and Ogg.
- On most platforms, popular video codecs such as H264 and HEVC are supported. See $VideoDecoders for a complete list of containers and decoders.
- Video[anim] can be used to generate a Video object by exporting frames from the following expressions:
AnimatedImage[…] an animated image Manipulate[…] a Manipulate, Animate or ListAnimate object
- Video is treated as a raw object by functions like AtomQ and for purposes of pattern matching.
- The following options can be specified:
Appearance Automatic appearance of the generated player AudioOutputDevice $DefaultAudioOutputDevice audio output device to use for playback AudioTrackSelection Automatic audio tracks selection ImageSize Automatic display size of the video frames RasterSize Automatic dimensions of video frames SoundVolume 1 sound volume SubtitleTrackSelection Automatic subtitles tracks selection VideoTrackSelection Automatic video tracks selection
- Possible settings for Appearance are "Thumbnail", "Minimal" and "Basic".
- Information for Video may include the following properties:
"Duration" duration of the longest track "FrameRate" frame rate for each video track "RasterSize" image dimensions to use for video tracks "ResourcePath" path to the audio file "SampleRate" sampling rate for each audio track
Examplesopen allclose all
Basic Examples (1)
Create a Video object linking to a local file:
Properties & Relations (3)
Possible Issues (1)
Constructing a Video object from a URL may take a longer time:
Wolfram Research (2020), Video, Wolfram Language function, https://reference.wolfram.com/language/ref/Video.html (updated 13).
Wolfram Language. 2020. "Video." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 13. https://reference.wolfram.com/language/ref/Video.html.
Wolfram Language. (2020). Video. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Video.html