Transform complex FFmpeg operations into clean, chainable pipelines with real-time progress tracking and TypeScript-native developer experience.
1import { MediaX } from 'mediax-sdk'; 2 3const mx = new MediaX(); 4const pipeline = new mx.pipeline() 5 .convert("output.mkv", "matroska") 6 .compress("output_compressed.mkv", "800k") 7 .extractAudio("audio.aac", "aac") 8 .thumbnail("thumb.png", "00:00:05") 9 .run("sample.mp4")10 .on("progress", (percent, jobIndex, total, eta) =>11 console.log(`Pipeline: ${percent.toFixed(1)}% (Job ${jobIndex}/${total}) ETA: ${eta?.toFixed(1)}s`)12 )13 .on("done", () => console.log("Pipeline completed successfully"))
A Node.js/TypeScript wrapper for FFmpeg operations with declarative pipeline architecture, real-time progress tracking, and type-safe API design for media processing workflows.
Native TypeScript implementation with comprehensive type definitions, generic constraints, and full IntelliSense integration.
Real-time progress events with FFmpeg parsing, frame-based progress calculation, and customizable progress handlers.
Declarative job orchestration with method chaining, error propagation, and concurrent execution support.
Primary SDK components and their responsibilities
Real-time tracking and event system
FFmpeg process handling and optimization
Follow these steps to integrate MediaX into your project and start processing media files with TypeScript-native, event-driven workflows.
12345678910
Get started with MediaX in seconds with zero configuration
Explore the full docs to master MediaX's capabilities and advanced features.
Visit DocsMediaX is my journey as a student developer learning to build tools that matter. While I strive for quality, there are undoubtedly bugs to fix, optimizations to make, and features to add.
Your contributions don't just improve MediaX—they help create better tools for the entire developer community working with media processing.
Every contribution, no matter how small, makes a difference in building better tools for developers worldwide.
Help identify issues and edge cases
Improve performance and add features
Make MediaX easier to understand
Suggest new ideas and improvements
Whether you're fixing a typo or adding a major feature, every contribution helps build better tools for the developer community.
Your feedback drives MediaX forward. Share your experience and suggestions.