VideoFrameList[video,n]
gives a list of n images extracted from video.
VideoFrameList[video,spec]
gives a list of frames extracted based on spec.
VideoFrameList
VideoFrameList[video,n]
gives a list of n images extracted from video.
VideoFrameList[video,spec]
gives a list of frames extracted based on spec.
Details
- VideoFrameList can be used for sampling video frames and can be used as video summarization or for inspection.
- Possible settings for frame specification spec include:
-
n n uniformly spaced frames {"Uniform",n} n uniformly spaced frames {"Random",n} n randomly chosen frames All all frames, if fits in memory - If video has multiple video tracks, only frames from the first track are returned. Use Video[video,VideoTrackSelectionn] to extract frames from the n
track.
Examples
open all close allBasic Examples (1)
Scope (3)
Extract frames from a local video object:
v = Video["ExampleData/Caminandes.mp4"];VideoFrameList[v, 3]Explicitly ask for uniformly sampled frames from the video:
v = Video["ExampleData/Caminandes.mp4"];VideoFrameList[v, {"Uniform", 3}]VideoFrameList[v, {"Random", 3}]Extract frames from a remote video file:
v = Video["http://exampledata.wolfram.com/agent327.mp4"];VideoFrameList[v, 6]Applications (1)
Properties & Relations (2)
VideoFrameList partitions the video into
equal partitions and extracts the middle frame of each partition:
v = Video["ExampleData/Caminandes.mp4", RasterSize -> 150];VideoFrameList[v, 3]Use VideoExtractFrames to extract frames at specific times:
times = Mean /@ Partition[Subdivide[QuantityMagnitude[Duration[v], "Seconds"], 3], 2, 1]VideoExtractFrames[v, times]Generate a Video object with multiple video tracks:
i = ResourceData["Sample Image: White Dog on a Beach"];
f[time_] := {Blur[i, 20 * time], ColorQuantize[i, Round[1 + 3 * time]]};
v = VideoGenerator[f];Information[v, "VideoTracks"]VideoFrameList extracts frames from the first video track:
VideoFrameList[v, 3]Extract frames from the second video track by selecting the track in the Video object:
VideoFrameList[Video[v, VideoTrackSelection -> 2], 3]Related Guides
Text
Wolfram Research (2020), VideoFrameList, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoFrameList.html (updated 2021).
CMS
Wolfram Language. 2020. "VideoFrameList." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/VideoFrameList.html.
APA
Wolfram Language. (2020). VideoFrameList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoFrameList.html
BibTeX
@misc{reference.wolfram_2026_videoframelist, author="Wolfram Research", title="{VideoFrameList}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/VideoFrameList.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_videoframelist, organization={Wolfram Research}, title={VideoFrameList}, year={2021}, url={https://reference.wolfram.com/language/ref/VideoFrameList.html}, note=[Accessed: 12-June-2026]}