Upload Video more than 100 MB
Hello,
I am using cloudinary paid (PLUS) account and I am trying to upload video more than 100 MB and use the following code
await cloudinary.v2.uploader.upload_large(
"video.mp4",
{
folder: "Media",
resource_type:"auto",
chunk_size:6000000,
},
function (error, result) {
console.log(error, result);
}
);
but i am getting
"message": "Unsupported video format or file"
this error
0
-
Hi Talal,
A few recommendations to verify is to try uploading the video.mp4 using the parameter resource_type:"video" and to provide the file as "somepath\somedir\video.mp4". Also, you may need to check the validity of the video content using tools such as ffprobe (e.g. ffprobe video.mp4) and ensure there are no errors.
If the above recommendation does not resolve the issue, kindly help to raise a support ticket (here: https://support.cloudinary.com/hc/en-us/requests/new) and provide the video.mp4 file that you are using, for further investigation.
Best regards,
Eric
0
Post is closed for comments.
Comments
1 comment