When publishing content through Post for Me, our system generally processes media to ensure it is optimized for the destination networks. However, when your application needs to handle very large video files, you may want to prioritize speed over automatic optimization.
Here is a breakdown of how to handle large files using the skip_processing flag.
The Skip Processing Flag
The skip_processing flag is a media-level parameter designed to bypass our internal compression engines.
How it works
When creating a post, you can pass the "skip_processing" flag along with your media payload. This instructs the API to take your video file exactly as it is and pass it directly to the social platforms without altering or compressing it in any way.
The Benefit:
By eliminating the transcoding and compression steps on our servers, you will significantly speed up the publishing process for larger files.
Risks and Platform Constraints
While bypassing processing increases speed, it places the responsibility of media formatting entirely on your application.
The Risk
Sending unaltered files may increase your post failure rate. If your raw media does not natively match the specific requirements (such as codec, bitrate, or aspect ratio) of the target platform, the platform will reject the upload.
Platform Limits
Be highly aware of specific network constraints. Certain platforms, such as Bluesky and X (Twitter), have strict duration limits. If you attempt to post large video files that exceed these duration caps, those specific post results will fail.