concatenate videos in nodejs
hi , i am uploading videos to cloudinary in chunks , i want to cocnatenated videos from cloudinary is it possible,
i am storing all data like url, assest_id, publi_id etc
Answers
-
Hey, thanks for getting in touch.
This is absolutely possible - I recommend having a read of this article in our documentation which includes examples in Node:
Please let us know how it goes :)
-Danny
0 -
hi @DannyFromCloudinary
thanks for your help ,i get a tranfromation link after concatenating , i want to ask if it possible to save the transformation video in cloudinay itself , instead of link?0 -
We're not able to directly save the result of a transformation as a new asset, however you could take the generated URL and use that as the source when uploading a new file, for instance, in the Media Library:
or in Node:
cloudinary.uploader.upload("https://res.cloudinary.com/demo/video/upload/c_fill,h_200,w_300/fl_splice,l_video:dog/c_fill,h_200,w_300/fl_layer_apply/kitten_fighting.mp4", { resource_type: "video" }) .then(result=>console.log(result)) .catch(error=>console.warn(error))
0