VideoRecord

VideoRecord[source]

creates a VideoStream object and records from source.

VideoRecord[vstream]

starts recording a VideoStream object vstream that is connected to an imaging device, a screen or a notebook.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Record a video from a camera:

Retrieve the recorded video:

Scope  (5)

Record a video from a screen:

Retrieve the recorded video:

Record a video from a part of the first screen:

Retrieve the recorded video:

Record a video from a notebook:

Retrieve the recorded video:

Record a video from a livestream:

Retrieve the recorded video:

Record a video from an existing VideoStream:

Start the recording:

Retrieve the recorded video:

Options  (20)

AudioEncoding  (2)

Specify the audio encoder to be used in the recording:

Retrieve the result and inspect the audio encoding:

When recording an existing stream, using the AudioEncoding option will permanently change its "AudioEncoding" property:

AudioInputDevice  (3)

Specify the audio input device to be used in the recording:

Plot the audio track of the result:

Use AudioInputDeviceNone to avoid recording an audio track:

Plot the audio track of the result:

When recording an existing stream, using the AudioInputDevice option will permanently change its "AudioInputDevice" property:

CompressionLevel  (1)

Specify the compression level to be used in the recording:

Measure the size of the resulting files:

FrameRate  (2)

Specify the frame rate to be used in the recording:

Retrieve the result and inspect the frame rate:

When recording an existing stream, using the FrameRate option will permanently change its "FrameRate" property:

GeneratedAssetFormat  (1)

Specify the format to be used in the recording:

Check the format of the resulting file:

GeneratedAssetLocation  (2)

Specify the asset location to be used in the recording:

Retrieve the resulting file name:

When recording an existing stream, using the GeneratedAssetLocation option will permanently change its "GeneratedAssetLocation" property:

MaxDuration  (2)

Specify the duration of the recording:

Retrieve the resulting duration:

If recording an existing stream, using the MaxDuration option will permanently change its "MaxDuration" property:

OverwriteTarget  (1)

By default, if a file with the specified name already exists, the recording fails:

Use the OverwriteTarget to overwrite the existing file:

RasterSize  (2)

Specify the raster size of the recording:

Retrieve the resulting raster size:

When recording an existing stream, using the RasterSize option will permanently change its "OriginalRasterSize" property:

SampleRate  (2)

Specify the sample rate of the recording:

Retrieve the resulting raster size:

When recording an existing stream, using the SampleRate option will permanently change its "SampleRate" property:

VideoEncoding  (2)

Specify the video encoder to be used in the recording:

Retrieve the result and inspect the audio encoding:

When recording an existing stream, using the VideoEncoding option will permanently change its "VideoEncoding" property:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_videorecord, organization={Wolfram Research}, title={VideoRecord}, year={2021}, url={https://reference.wolfram.com/language/ref/VideoRecord.html}, note=[Accessed: 24-April-2024 ]}