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:
  • nn uniformly spaced frames
    {"Uniform",n}n uniformly spaced frames
    {"Random",n}n randomly chosen frames
    Allall 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^(th) track.

Examples

open allclose all

Basic Examples  (1)

Extract four frames from a video:

Scope  (3)

Extract frames from a local video object:

Explicitly ask for uniformly sampled frames from the video:

Extract a few random frames:

Extract frames from a remote video file:

Applications  (1)

Create a thumbnail grid from a video:

Properties & Relations  (2)

VideoFrameList partitions the video into equal partitions and extracts the middle frame of each partition:

Use VideoExtractFrames to extract frames at specific times:

Generate a Video object with multiple video tracks:

VideoFrameList extracts frames from the first video track:

Extract frames from the second video track by selecting the track in the Video object:

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

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_2024_videoframelist, author="Wolfram Research", title="{VideoFrameList}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/VideoFrameList.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_videoframelist, organization={Wolfram Research}, title={VideoFrameList}, year={2021}, url={https://reference.wolfram.com/language/ref/VideoFrameList.html}, note=[Accessed: 21-December-2024 ]}