Skip to content

@remotion/media-parser: Return rotation in counter-clockwise degrees #5532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 28, 2025

Conversation

JonnyBurger
Copy link
Member

@JonnyBurger JonnyBurger commented Jul 28, 2025

Breaking change from v4.0.328: The rotation is now in counter-clockwise degrees, where as before it was in clockwise degrees.
This is because the WebCodecs spec now supports rotation and since MediaParserVideoTrack can be passed to VideoDecoder.configure(), this change was necessary to make sure the rotation is always in the correct direction.

Copy link

vercel bot commented Jul 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 28, 2025 2:00pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
remotion ⬜️ Skipped (Inspect) Jul 28, 2025 2:00pm

@vercel vercel bot temporarily deployed to Preview – remotion July 28, 2025 13:59 Inactive
@JonnyBurger JonnyBurger merged commit f6a7818 into main Jul 28, 2025
13 checks passed
@JonnyBurger JonnyBurger deleted the rotation-of-webcodecs-videos branch July 28, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Videos not automatically rotated as expected during conversion, seen with iPhone videos and orientation metadata.
1 participant