Last updated: Sep-12-2024
On this page:
Overview
This video tutorial teaches you how to splice two videos together using the Cloudinary Node.js SDK.
Video tutorial
View the code
You can find the code from this tutorial in GitHub.Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
Introduction
0:00 | To stitch two videos together, you can use Cloudinary's video transformation capabilities. |
Install and configure the Node.js SDK
0:20 | First, install and configure the Cloudinary Node.js SDK in your Node.js app. |
Create the URL to concatenate the videos
0:27 | Start with both of your videos uploaded to Cloudinary. Then you can specify their public IDs in the code that creates the URL for the spliced videos. For example, to splice the samples/elephants video with the samples/sea-turtle video: |
See the full code example in GitHub.
Check the resulting URL
1:51 | Open the resulting URL in a browser to see the sea-turtle video following straight on from the elephants video. |
Keep learning
Related topics
- Learn about different ways to trim and concatenate your videos.
- Discover more about transforming videos and select the video filter in the Transformation URL API reference to see all video transformations.
- Find out more about the capabilities of the Cloudinary Node.js SDK.
- Watch more Dev Hints videos on the Cloudinary YouTube channel.
If you like this, you might also like...
Upload Videos in Node.js
Upload videos to Cloudinary using the Node.js SDKVideo Transformations
Build an e-commerce video showcasing products, in Node.jsTrim Videos in Node.js
Trim videos using the Node.js SDK
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
✖️