Upload movie video with large size

Comments

1 comment

  • Avatar
    Jay Akhtar

    Hi Piter,

    Thanks for reaching out.

    For videos larger than 60 MB, you will need to use chunked uploading.

    In order to support the upload of large files, the Cloudinary SDKs include a method that offers a degree of tolerance for network issues. The upload_large method uploads a large file to the cloud in chunks and is required for any files that are larger than 100 MB. This is often relevant for video files, as they tend to have larger file sizes.

    For example, uploading a large video file named my_large_video.mp4:

    cloudinary.uploader.upload_large("my_large_video.mp4", 
      resource_type = "video")

    By default, the chunk size is set to 20 Megabytes but can be set to as low as 5 Megabytes by using the chunk_size parameter. For example, uploading a large video file named my_large_video.mp4 and setting chunk size to 6 Megabytes:

    cloudinary.uploader.upload_large("my_large_video.mp4", 
      resource_type = "video", 
      chunk_size = 6000000)

    Video Upload documentation: https://cloudinary.com/documentation/upload_images#asset_types

    Here is a KB article on upload limits: https://support.cloudinary.com/hc/en-us/articles/202520592-Do-you-have-a-file-size-limit

    Hope this helps.

    Best regards,
    Jay

     

    0
    Comment actions Permalink

Please sign in to leave a comment.