惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
P
Privacy International News Feed
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 叶小钗
F
Fortinet All Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 最新话题
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta
Attack and Defense Labs
Attack and Defense Labs
Recent Announcements
Recent Announcements
Recent Commits to openclaw:main
Recent Commits to openclaw:main
PCI Perspectives
PCI Perspectives
Cloudbric
Cloudbric
AI
AI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
J
Java Code Geeks
M
MIT News - Artificial intelligence
Cisco Talos Blog
Cisco Talos Blog
V2EX - 技术
V2EX - 技术
Webroot Blog
Webroot Blog
Microsoft Security Blog
Microsoft Security Blog
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
G
Google Developers Blog
W
WeLiveSecurity
罗磊的独立博客
P
Privacy & Cybersecurity Law Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
T
Tailwind CSS Blog
V
Visual Studio Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Secure Thoughts
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
F
Full Disclosure
Blog — PlanetScale
Blog — PlanetScale
The Last Watchdog
The Last Watchdog
P
Proofpoint News Feed

Remotion | Make videos programmatically Blog

Sponsoring Mediabunny Remotion Editor Starter Lambda renders are now faster You can now deploy the Remotion Studio Remotion 4.0 Remotion 3.3 We raised CHF 180k to simplify programmatic video! Remotion 3.2 Remotion 3.1 Remotion 3.0 Remotion 2.6 Remotion 2.5 Remotion 2.4 Remotion 2.3 Remotion 2.2 Remotion 2.1 Remotion 2.0 Announcing pricing for company licenses Remotion 1.5
Remotion Media Parser
Jonny Burger · 2025-05-20 · via Remotion | Make videos programmatically Blog

note

Update September 2025: We are phasing out Media Parser and are moving to Mediabunny!

We're taking video even more seriously with our own multimedia library, designed from the ground up for JavaScript and the web!

Remotion Media Parser Docs

In short, what does Remotion Media Parser achieve?

Better metadata retrieval

Get more information from more file formats, faster. An universal API that works on both the server and the client.

You can choose which metadata you want to retrieve, and Media Parser will choose the fastest way.

Get metadata from a video

const result = await parseMedia({ src: 'https://remotion.media/video.mp4', fields: { durationInSeconds: true, dimensions: true, fps: true, slowKeyframes: true, slowVideoBitrate: true, isHdr: true, videoCodec: true, rotation: true, numberOfAudioChannels: true, sampleRate: true, metadata: true, }, }); console.log(result.durationInSeconds);

(property) durationInSeconds: number | null

Video decoding and processing

Media Parser ties into the WebCodecs API – hardware-accelerated decoding, built right into the browser. Previously hard to use, now made accessible!

Video decoding

Decode video frames

const result = await parseMedia({ src: 'https://remotion.media/video.mp4', onVideoTrack: (track) => { const videoDecoder = new VideoDecoder({ output: console.log, error: console.error, }); return (sample) => { videoDecoder.decode(new EncodedVideoChunk(sample)); }; }, });

note

This is an oversimplified example - you might get performance problems running this code with longer videos because samples are being passed faster than they can be decoded.

Unlock new use cases

WebCodecs use cases

Developers need a better way to work with video on the web.

Media Parser is a foundational library that unlocks many upcoming improvements to Remotion and for the web in general. We will be implementing many of these ideas ourselves, but also invite you to build with Media Parser.

We built the fastest video converter on the web

Try out remotion.dev/convert, our web video converter powered by Remotion Media Parser and WebCodecs. Because it works offline and the conversion is hardware-accelerated, it is faster than any other web converter we could find!

note

Update, 20th October 2025: We are phasing out Media Parser and are moving to Mediabunny! remotion.dev/convert is now updated to use Mediabunny.

Converter