Building an M3U8 Playlist API with AWS Lambda - Episode 182

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=ztmEEqwwhCI



Duration: 0:00
71 views
3


In this video, I dive into enhancing the Glowing-Telegram project by implementing a new API endpoint to generate M3U8 playlist files using AWS Lambda. Here's what we cover step-by-step:

First, I provide a brief recap of the previous session, revisiting FFmpeg configurations and the progress made on video transcoding workflows. We discuss the goals for this session, including retrieving video metadata from DynamoDB and dynamically generating HLS-compatible M3U8 playlist files.

Next, we brainstorm the architecture and weigh the pros and cons of different Lambda approaches, including reusing existing Lambdas, defining functions inline, or creating a Dockerized, standalone Lambda. I decide to create a dedicated Python-based Lambda for this task, leveraging Docker for deployment flexibility.

Throughout the session, I guide you through:
Transcoding video files to 480p HLS format for the preview editor.
Setting up a DynamoDB GSI (Global Secondary Index) for efficient querying of video metadata.
Writing an AWS Lambda handler in Python to integrate metadata and generate playlist files.
Configuring API Gateway routes for RESTful API access.
Key considerations for Lambda structure, including permissions, scalability, and resource allocation.

As always, there are plenty of tangents, bug fixes, and community interactions sprinkled in! We discuss how collaboration and continuous improvement are at the heart of coding projects like this.

🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs

If you’re interested in improving your video automation workflows or learning more about serverless architecture, this stream is for you. Be sure to leave your thoughts, questions, or suggestions in the comments below. Happy coding!




Other Videos By saebynVODs


2025-05-23Improving Video Editing Features: Fixing Gaps & Testing Logic in Code - Episode 192
2025-05-20Debugging Stream Ingestion and Dynamic Gap Processing | Glowing Telegram Project - Episode 191
2025-05-18Debugging Rollup Config for CSS Imports in React Components - Episode 190
2025-05-15Fine-Tuning Timeline Controls and Enhancing Video Editing Workflow - Episode 189
2025-05-13Building a Video Clip Selection Tool with React and Tailwind CSS - Episode 188
2025-05-11Implementing S3 File Downloads and Rust Trait Conversions | Chill Coding Session - Episode 187
2025-05-08Building Dynamic Video Projects with Rust & AWS - Stream to Episode Workflow - Episode 186
2025-05-06Converting Python Video Editing Scripts to Rust | Glowing Telegram Project - Episode 185
2025-05-04Integrating Video Editor Components with React Admin - Episode 184
2025-05-01Building a Media Playlist API with Python and AWS Lambda - Episode 183
2025-04-29Building an M3U8 Playlist API with AWS Lambda - Episode 182
2025-04-27FFmpeg Scripting & Overlays | Chill Sunday Morning Coding - Episode 181
2025-04-24Mastering FFmpeg Scripting: Troubleshooting Overlays & Audio Issues - Episode 180
2025-04-22FFmpeg Automation: Prototyping Video Editing with Python - Episode 179
2025-04-20Debugging Twitch API Integration for Glowing Telegram Project - Episode 178
2025-04-19Building OAuth Integration with Twitch: Access Token Management and API Updates - Episode 177
2025-04-17Improving Twitch Integration for Glowing-Telegram: Backend and Frontend Updates - Episode 176
2025-04-15Navigating CORS Errors and AWS API Gateway Challenges - Ep 175
2025-04-13Exploring AWS Step Functions & API Gateway Integration with CDK - Episode 174
2025-04-12Exploring AWS CDK and API Gateway Setup for Glowing-Telegram Project - Episode 173
2025-04-10Refactoring Rust Lambda Functions + Handling AWS Rate Limit Errors - Episode 172