compress video file size code example
Example 1: ffmpeg shrink video size
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
Example 2: compress video file size php
\Cloudinary\Uploader::upload("my_video.mp4", [ "resource_type" => "video", "quality" => "60"]);