Skip to content

Instantly share code, notes, and snippets.

@unlux
Created August 6, 2025 04:55
Show Gist options
  • Select an option

  • Save unlux/962d343303ba8cec6d0db689642465a6 to your computer and use it in GitHub Desktop.

Select an option

Save unlux/962d343303ba8cec6d0db689642465a6 to your computer and use it in GitHub Desktop.
I developed a scalable, high-performance video transcoding pipeline using FFmpeg, designed to balance speed, cost, and reliability. When a user uploads a file to the input S3 bucket, an SQS event queues the job for processing by either ECS tasks for rapid, on-demand scaling or EC2 workers for consistent, cost-efficient performance. SQS handles reliable job ordering and retries, with safeguards to prevent duplicate processing. Upon completion, the transcoded video is delivered to the output S3 bucket with all original metadata preserved, ensuring seamless end-to-end handling from ingestion to delivery.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment