You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with only width as Size (to keep aspect ratio) the result gets distorted.
Reason is most likely due only checking the positive numbers of rotation here:
Some video-files have their metadata as -90 instead of 90. This PR handles correct aspect-ratio and rotation when taking snapshots.
The sample video provided in the PR is my own recording. A bit too big maybe? I couldn't find any command to set the metadata to `-90` on existing video. Would be happy to get it working on already existing test-data to reduce size.
Fixesrosenbjerg#509
Movies I record on Samsung Galaxy S23 in portrait mode have this metadata (only showing related data):
Note the rotation is
-90
.When I run
FFMpegCore/FFMpegCore/FFMpeg/FFMpeg.cs
Line 45 in 6c2311c
Reason is most likely due only checking the positive numbers of rotation here:
FFMpegCore/FFMpegCore/FFMpeg/SnapshotArgumentBuilder.cs
Line 67 in 6c2311c
The text was updated successfully, but these errors were encountered: