VideoJoin
VideoJoin[video1,video2,…]
concatenates all videoi and returns a video object.
Details and Options
- VideoJoin is typically used to combine multiple video files in a sequence.
- Video objects videoi may have different properties, including frame size and frame rate. The properties are conformed before joining.
- Video objects may have different numbers of tracks. Corresponding tracks are joined together.
- By default, VideoJoin places the new video under the "Video" directory in $WolframDocumentsDirectory.
- The following options can be specified:
-
AudioEncoding Automaticaudio encoding to use CompressionLevel Automaticcompression level to use ConformationMethod Automatichow to conform frames of different sizes FrameRate Automaticframe rate to use GeneratedAssetFormatAutomaticthe file format of the result GeneratedAssetLocation $GeneratedAssetLocationlocation of the generated asset OverwriteTarget Automaticwhether to overwrite an existing file RasterSize Automaticraster size of video frames SampleRate Automaticsample rate to use SubtitleEncoding Automaticsubtitle encoding to use TransitionDirection Automaticdirection of the transition TransitionDuration Automaticduration of the transition TransitionEffect Automatictransition effect to use VideoEncoding Automaticvideo encoding to use VideoTransparencyFalsewhether the output video should have a transparency channel - By default, videos are joined without any transition effect.
- Using TransitionDurationdur, videos are overlapped by the specified duration dur during which the transition happens.
- Supported settings for TransitionEffect are:
-
Noneupdate instantly without a visual effect "Fade"fade from old content to new "Push"have new content push old content away "Wipe"fade from old content to new using a wiping effect
Examples
open allclose allBasic Examples (1)
Scope (2)
Join videos with similar properties:
Join videos with different properties:
Properties of the resulting video are chosen such that most input data can be stored in the output:
Options (17)
AudioEncoding (1)
Specify the audio encoding to use:
CompressionLevel (1)
Join videos using default compression:
The choice of encoders affects the amount by which a file can be compressed:
ConformationMethod (2)
By default, black padding is used when images are not stretched to fit the common image size:
By default, a common frame size is used and videos are made to fit in the frame:
Use "Fill" fitting to fill the whole canvas for all frames:
Use "Stretch" fitting to resize the frames:
Perform windowboxing when fitting frames:
Use the RasterSize option to specify the desired frame dimensions:
By default, a common frame size is used and videos are made to fit in the frame:
Specify a different fitting scheme:
FrameRate (1)
By default, the largest frame rate (rounded to the nearest integer value) is used:
Specify the frame rate to use:
GeneratedAssetLocation (1)
By default, generated video files are stored in $WolframDocumentsDirectory:
Specify the output file directory:
OverwriteTarget (1)
By default, existing files are not overwritten:
RasterSize (1)
By default, the largest raster size is used:
Specify the raster width to use, while preserving the aspect ratio:
Specify the raster width and height:
SampleRate (1)
By default, the largest sample rate is used:
Specify the sample rate to use:
SubtitleEncoding (1)
Specify the subtitle encoding to use:
TransitionDirection (2)
TransitionDuration (1)
Specify a transition duration for a smooth transition:
TransitionEffect (3)
By default, no transition effect is happening:
Specify a transition duration for a smooth transition:
Specify a transition duration for a smooth transition:
VideoEncoding (1)
Text
Wolfram Research (2020), VideoJoin, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoJoin.html (updated 2023).
CMS
Wolfram Language. 2020. "VideoJoin." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/VideoJoin.html.
APA
Wolfram Language. (2020). VideoJoin. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VideoJoin.html