WOLFRAM

SowVideo[frame]

specifies that frame should be collected by the nearest enclosing ReapVideo.

SowVideo[frame,n]

repeats frame n times when reaped.

Details

  • SowVideo can be used to specify interesting video frames to be "reaped" from an iterative expression evaluation.
  • SowVideo[frame,] returns frame, which can be a single image or graphics, or a list of them.
  • In SowVideo[frame,n], n can be given as a scalar specifying the number of frames or a time Quantity object.
  • In SowVideo[frame,n], if frame is a list, it gets resampled to n frames.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Evaluate a sequence of expressions, "reaping" into a video the ones that have been "sown":

Out[21]=21

Sow video frames into a video using Table:

Out[1]=1

Scope  (4)Survey of the scope of standard use cases

Sow an image once:

Out[1]=1

Sow an image 5 times:

Out[2]=2

Sow an image for 1 second:

Out[3]=3

Sow some Graphics objects:

Out[1]=1

Sow some colors and generate constant frames of that color:

Out[1]=1

Sow a mix of different objects:

Out[1]=1

Applications  (2)Sample problems that can be solved with this function

Perform a nested pruning until no more pruning is done, then reap all frames into a video:

Out[2]=2

Sow frames of the video where at least one face is detected:

Out[2]=2
Wolfram Research (2024), SowVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/SowVideo.html.
Wolfram Research (2024), SowVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/SowVideo.html.

Text

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

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

CMS

Wolfram Language. 2024. "SowVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SowVideo.html.

Wolfram Language. 2024. "SowVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SowVideo.html.

APA

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

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

BibTeX

@misc{reference.wolfram_2025_sowvideo, author="Wolfram Research", title="{SowVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SowVideo.html}", note=[Accessed: 16-April-2025 ]}

@misc{reference.wolfram_2025_sowvideo, author="Wolfram Research", title="{SowVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/SowVideo.html}", note=[Accessed: 16-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_sowvideo, organization={Wolfram Research}, title={SowVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/SowVideo.html}, note=[Accessed: 16-April-2025 ]}

@online{reference.wolfram_2025_sowvideo, organization={Wolfram Research}, title={SowVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/SowVideo.html}, note=[Accessed: 16-April-2025 ]}