0

I've uploaded some video in s3. Now I want to get the height and width of the video from s3.

I'm using node js server. But not getting any api to get the height and width of the uploaded video.

I got one api to get the metadata of the video, but it doesn't return then height and width.

Is there any available api to get this details?

Jatin Mehrotra
  • 9,286
  • 4
  • 28
  • 67
Indranil Mondal
  • 2,799
  • 3
  • 25
  • 40
  • Height and width are internal details of the video. S3 metadata is metadata about tbe storage of the object, plus anything custom you've added. I suggest that you add metadata with the height and width, potentially when uploading. Another possibility would be to use the byte range S3 API to retrieve this metadata without having to read tbe whole object, but this would rely on it it being stored at a predictable address inside the objects. – dpwr Dec 21 '20 at 06:11
  • I meant to say, "S3 byte range APi". – dpwr Dec 21 '20 at 06:21

0 Answers0