VideoTranscode

VideoTranscode[video,"format"]

converts video to the specified format.

VideoTranscode[video,service]

converts video to the specification recommended by the specified service.

VideoTranscode[{v1,v2,},]

converts all vi videos to have conforming properties with respect to the given specification.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Transcode an MP4 video to Ogg:

Scope  (4)

Convert a Video object to any of the supported file formats:

Convert a video to a format suitable for YouTube:

All of the services only accept videos with a single audio and video track:

Transcode and conform a list of videos:

Options  (12)

AudioEncoding  (2)

By default, if the second argument is a format, the original audio encoding is preserved when possible:

Specify the audio encoding to use:

BitRate  (1)

Transcode video using a default bit rate:

Specify the approximate video bit rate; the audio bit rate is computed automatically:

Specify audio and video bit rates:

Display the average bit rate:

Display the bit rate used for the video track:

Display the bit rate used for the audio track:

CompressionLevel  (1)

Transcode video using default compression:

Use maximum compression:

The choice of encoders affects the amount by which a file can be compressed:

When the bit rate is specified, the value of the CompressionLevel option is not used:

FrameRate  (1)

By default, VideoTranscode preserves the frame rate (rounds to the nearest integer value):

Specify the frame rate to use:

GeneratedAssetLocation  (1)

By default, generated video files are stored in $WolframDocumentsDirectory:

Specify output file directory:

Specify the output file path:

OverwriteTarget  (1)

By default, existing files are not overwritten:

Overwrite existing file:

RasterSize  (1)

By default, VideoTranscode preserves the raster size:

Specify the raster width to use while preserving the aspect ratio:

Specify the raster width and height:

SampleRate  (1)

By default, VideoTranscode preserves the sample rate:

Specify the sample rate to use:

SubtitleEncoding  (1)

Specify the subtitle encoding to use:

VideoEncoding  (2)

By default, if the second argument is a format, the original video encoding is preserved when possible:

Specify the video encoding to use:

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

Text

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

CMS

Wolfram Language. 2020. "VideoTranscode." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/VideoTranscode.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_videotranscode, organization={Wolfram Research}, title={VideoTranscode}, year={2023}, url={https://reference.wolfram.com/language/ref/VideoTranscode.html}, note=[Accessed: 19-April-2024 ]}