Skip to content

Instantly share code, notes, and snippets.

@octavn
Created September 22, 2017 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save octavn/ef15eef4077a62a7015ed0d8f659cf18 to your computer and use it in GitHub Desktop.
Save octavn/ef15eef4077a62a7015ed0d8f659cf18 to your computer and use it in GitHub Desktop.
Cloudinary Response Array When Using The PHP SDK to Upload a Video From The Server
Array
(
[public_id] => guzzznjykmedi4gh3gb4
[version] => 1506089251
[signature] => 2716945855beecd67fa338ebc31e96f5a92ac60b
[width] => 1280
[height] => 720
[format] => mp4
[resource_type] => video
[created_at] => 2017-09-22T14:07:31Z
[tags] => Array
(
)
[pages] => 0
[bytes] => 30923950
[type] => upload
[etag] => d22dadc8b9577a10055f20d8d2213d96
[url] => http://res.cloudinary.com/addpipe-com/video/upload/v1506089251/guzzznjykmedi4gh3gb4.mp4
[secure_url] => https://res.cloudinary.com/addpipe-com/video/upload/v1506089251/guzzznjykmedi4gh3gb4.mp4
[audio] => Array
(
[codec] => aac
[bit_rate] => 134577
[frequency] => 48000
[channels] => 2
[channel_layout] => stereo
)
[video] => Array
(
[pix_format] => yuv420p
[codec] => h264
[level] => 31
[profile] => Constrained Baseline
[bit_rate] => 7728989
[dar] => 0:1
)
[is_audio] =>
[frame_rate] => 29.97002997
[bit_rate] => 7867188
[duration] => 31.4314
[rotation] => 0
[original_filename] => duck
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment