is an option for Export and other functions that specifies the video encoding to use when creating a video file.


  • VideoEncoding can be set to any available encoder listed in $VideoEncoders.
  • For some encoders, the following suboptions can be provided:
  • "EncodingSpeed"encoding speed, a value between 0 (slowest) and 1 (fastest)
    "EncodingTune"tunings to be applied when encoding
  • Most H264 and H265 encoders can take the "EncodingSpeed" suboption.
  • The "EncodingTune" settings are encoder dependent and are used to optimize encoding for specific content types such as grainy images, still images, etc. Some available encoding tunes are:
  • "Animation"optimized for animations and cartoons
    "Film"optimized for high-quality movies with less deblocking
    "StillImage"optimized for encoding still images
    "FastDecode"optimized for fast decoding
    "ZeroLatency"optimized for low-latency streaming


open allclose all

Basic Examples  (1)

By default, the audio codec used to generate a file is automatically chosen:

Check for available audio codecs supported for a format:

Specify a different codec:

Scope  (4)

Specify a video encoding for video generation:

In general, the video encoding is automatically chosen depending on the input data to minimize use of resources:

Using a specific encoder will force all video tracks to be re-encoded:

Specify the encoding speed:

Use the fastest available encoding speed:

Use a specific tuning when encoding the video:

Wolfram Research (2020), VideoEncoding, Wolfram Language function, (updated 2022).


Wolfram Research (2020), VideoEncoding, Wolfram Language function, (updated 2022).


Wolfram Language. 2020. "VideoEncoding." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022.


Wolfram Language. (2020). VideoEncoding. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_videoencoding, author="Wolfram Research", title="{VideoEncoding}", year="2022", howpublished="\url{}", note=[Accessed: 19-July-2024 ]}


@online{reference.wolfram_2024_videoencoding, organization={Wolfram Research}, title={VideoEncoding}, year={2022}, url={}, note=[Accessed: 19-July-2024 ]}