Do you have PHP support?

Follow

Comments

5 comments

  • Avatar
    Smashon Inc

    Hi

    I am uploading large image and video file. Image size up to 100 MB and video file size up to 500 MB but i am getting the following error in case of 400 MB video file uploading.

    413 Request Entity Too Large

    nginx

     

    I am using the CloudinaryUploader::upload() API.

     

    Regards

    Smashon Developer [Jeet Patel]

     

    0
    Comment actions Permalink
  • Avatar
    Smashon Inc

    I am using PHP Technology.

    0
    Comment actions Permalink
  • Avatar
    Itay Taragano

    In order to upload raw resources larger than 100 MB, you should use a different API call. As explained in the following:

    http://support.cloudinary.com/entries/26445481-Can-I-upload-large-raw-non-images-files-

    0
    Comment actions Permalink
  • Avatar
    Jason

    I am using Cloudinary by using library "https://github.com/jrm2k6/cloudder" but when I upload large video files greater than 100MB it shows "Entity too large: error, I am using apache server, my PHP code is

    Cloudder::uploadVideo($tmpFilePath,null, ['resource_type' => 'video','chunk_size' => 60000000000]);
    $response = Cloudder::getResult();

    Error image is attached below:
    0
    Comment actions Permalink
  • Avatar
    Raz Ziv

    Hey Jason,

    Please see my reply to you on the direct support ticket that you've opened :)

    In short, the library that you use isn't an official Cloudinary library. It wasn't created and isn't maintained by Cloudinary.
    However, looking at the code that you've shared, it looks like the `chunk_size` is set to 60GB. Try and reduce it to a reasonable size of between 5-20MB, which is required when uploading any file that is larger than 100MB.

    Best,
    Raz

    0
    Comment actions Permalink

Please sign in to leave a comment.