Skip to content

[Bug]: Portrait videos rotate on export #744

@ctiller15

Description

@ctiller15

Package Version

12.0.0-beta.6

Flutter Version

Flutter 3.38.7

Platforms

iOS

How to reproduce?

  • tested on iPhone 16 simulator, iOS 26.1

When trying to export a video in portrait, it gets rotated. At least one user has reported this issue so far. What causes this/is there a clear way to correct it?

Screen recording:
https://github.com/user-attachments/assets/5b8989cf-968c-4de5-a2eb-5b080fba5c29

Logs (optional)

flutter: media_kit: NativeReferenceHolder: Allocated 4353984512
flutter: VideoOutput.Resize
flutter: {rect: {left: 0.0, width: 0.0, top: 0.0, height: 0.0}, handle: 4380076160, id: 1}
flutter: NativeVideoController: Texture ID: 1
flutter: VideoOutput.Resize
flutter: {handle: 4380076160, id: 1, rect: {height: 1920.0, top: 0.0, left: 0.0, width: 1080.0}}

Example code (optional)

Demoed in the example application.

Device Model (optional)

iPhone 16, iOS 26.1 Also reported by a user on an iPhone 14 Pro Max, iOS 26.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions