Media Status & Encoding

When a video or image is first uploaded to FrameSocket, the returned status code should be 100 (File Received). At that point, the encoding system will process the file accordingly, and you can track its encoding status by querying the media. The available status codes are as follows:

  • 000 : File not received.
  • 100 : File received.
  • 200 : Prepped for encoding.
  • 310 : Generating images.
  • 320 : Encoding 360p video.
  • 330 : Encoding 270p mobile video.
  • 340 : Encoding 480p video.
  • 350 : Encoding 720p video.
  • 360 : Encoding 1080p video.
  • 400 : Ready.
  • 500 : Inactive.
  • 600 : Encode failed.

As files become ready, they are immediately pushed into the cloud and out to the CDN delivery service. Therefore, if you have an exceptionally long video file, you can at least display the 360p video until the other, higher-quality, videos become available. Additionally, you may want to use the generated images as a placeholder for videos that are still encoding.

Have a question? We are currently: