WOLFRAM

VideoCombine[{obj1,obj2,}]

creates a multi-track video by combining all audio, video and subtitle tracks in all obji.

Details and Options

Examples

open allclose all

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

Generate a video with no audio:

Out[1]=1

Combine the video with an audio object:

Out[2]=2

Check the properties of the final video:

Out[3]=3

Add some text as subtitles:

Out[2]=2

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

Combine an image and an audio track:

Out[2]=2
Out[7]=7

Combine two video tracks into a single video:

Out[1]=1
Out[2]=2

Combine two Video objects with video, audio and subtitle tracks:

Out[2]=2
Out[3]=3

If a video has multiple tracks, use the track selection options to select which tracks to combine:

Out[1]=1
Out[2]=2

Options  (5)Common values & functionality for each option

GeneratedAssetLocation  (2)

Assets are automatically generated in the "Video" folder within $WolframDocumentsDirectory:

Out[1]=1

Specify the location of the asset created by VideoGenerator:

Out[7]=7

Use a LocalObject as the asset for the resulting Video object:

Out[1]=1

OverwriteTarget  (1)

By default, if a file already exists it is not overwritten:

Use OverwriteTargetTrue to overwrite an existing file:

Out[4]=4

ShowSubtitles  (1)

By default, subtitle tracks are displayed:

Out[2]=2

Turn off the subtitle track display:

Out[3]=3

SubtitleStyle  (1)

Combine subtitles with a video using default style:

Out[3]=3
Out[4]=4

Specify the text style for the subtitle track:

Out[6]=6

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

Generate a video from a Manipulate and add audio to it:

Out[3]=3

Combine the generated video with an audio track:

Out[4]=4
Out[3]=3

Properties & Relations  (2)Properties of the function, and connections to other functions

By default, all tracks are included with their original durations:

Out[3]=3
Out[4]=4

Pad the audio track to the duration of the video track:

Check track durations of the final video:

Out[6]=6

The track order in the result is determined by the order of the input:

Out[2]=2
Out[3]=3
Wolfram Research (2020), VideoCombine, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoCombine.html (updated 2025).
Wolfram Research (2020), VideoCombine, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoCombine.html (updated 2025).

Text

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

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

CMS

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

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

APA

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

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

BibTeX

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

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

BibLaTeX

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

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