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 Automatic audio encoding to use CompressionLevel Automatic compression level to use ConformationMethod Automatic how to conform frames of different sizes FrameRate Automatic frame rate to use GeneratedAssetFormat Automatic the file format of the result GeneratedAssetLocation $GeneratedAssetLocation location of the generated asset OverwriteTarget Automatic whether to overwrite an existing file RasterSize Automatic raster size of video frames SampleRate Automatic sample rate to use SubtitleEncoding Automatic subtitle encoding to use TransitionDirection Automatic direction of the transition TransitionDuration Automatic duration of the transition TransitionEffect Automatic transition effect to use VideoEncoding Automatic video encoding to use VideoTransparency False whether 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:
-
None update 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 allScope (2)
Options (17)
CompressionLevel (1)
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:
FrameRate (1)
GeneratedAssetLocation (1)
By default, generated video files are stored in $WolframDocumentsDirectory:
RasterSize (1)
TransitionEffect (3)
Text
Wolfram Research (2020), VideoJoin, Wolfram Language function, https://reference.wolfram.com/language/ref/VideoJoin.html (updated 2024).
CMS
Wolfram Language. 2020. "VideoJoin." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. 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