You shot a video on a Xiaomi Redmi Note 12 or POCO X5 Pro, but when viewed in a gallery, it is displayed sideways or upside down? This problem is familiar to many users of Xiaomi smartphones, especially after upgrading to MIUI 14 or when transferring files from other devices. Unlike photos, videos often store metadata about orientation incorrectly, which makes the standard gallery unable to automatically adjust the angle of view.
In this article, weβll break down 5 working ways to deploy video directly to the Xiaomi Gallery, from built-in tools to third-party apps. Youβll learn how to fix orientation without losing quality, why videos can be displayed incorrectly even after a turn, and what MIUI settings affect metadata processing. All instructions are tested on Xiaomi 13 Ultra, Redmi 10C and POCO F4 models with the latest firmware versions.
Why Xiaomi Gallery Videos Are Shown Sideways or Upside Down
The problem with Xiaomiβs misdirection of video is related to how the device handles EXIF metadata, the service information recorded in a file while shooting.
- π± Gyroscope error: If the smartphone was turned while shooting, but the orientation sensor worked incorrectly (for example, due to magnetic interference or a software failure), the metadata will be recorded with an error.
- π File portability: Videos copied from iPhone, GoPro, or other devices may have incompatible metadata for the player MIUI.
- π οΈ Update MIUI: After installing a new firmware version (for example, with MIUI 13 on MIUI 14) a standard gallery can reset the video processing settings.
- π₯ Shooting Mode: Videos captured in manual mode (Pro Mode) or using third-party cameras (e.g. GCam) often ignore automatic orientation correction.
It's important to understand that the problem isn't always with the file itself. Sometimes the video is displayed correctly in Google Photos or on your computer, but flipped in the standard Xiaomi gallery, which indicates a bug in the com.miui.gallery player that can be solved by resetting settings or updating the app.
β οΈ Warning: If the video is shot in portrait orientation but played in landscape (or vice versa), do not rush to rotate it. It may be enough to turn the option Autoturn the screen in the notification curtain. AMOLED-screens where the position sensor can be blocked.
Method 1: Rotate video through the standard Xiaomi gallery
The easiest method is to use the built-in gallery editor. It is available on all Xiaomi smartphones with MIUI 12 and later, including Redmi, POCO and flagship series.
- Open the Gallery app (an icon with a floral logo).
- Find the right video and tap it to watch it.
- In the lower right corner, click on the icon. βοΈ Edit.
- In the bottom panel, select the Turn tool (circular arrow icon).
- Press the turn button until the video is in the right orientation. Each click turns the file 90.Β° clockwise.
- Click Save in the top right corner. The system will suggest replacing the original or saving a copy β select the option you want.
If the Turn button is inactive or not, then the video has protected metadata (e.g., shot in 4K HDR).
Turn off the power saving mode (may interrupt the saving)
Check the space available (needs a minimum of 200 MB for temporary files)
Close the background applications (especially messengers)
Connect charging if the battery level is below 20%
-->
Limitations of the method:
- β It doesn't work for video format.MOV (typical for iPhone).
- β Can reduce quality while saving a copy (compression) MIUI).
- β Not available for files larger than 2 GB.
Method 2: Correcting Orientation with Google Photos
Google Photos is often better at metadata processing than the standard Xiaomi gallery, which is suitable for videos that are properly displayed in Google Photos but inverted in com.miui.gallery.
Instructions:
- Install Google Photos from the Play Market if it is not preinstalled.
- Open the app and find the video you want (it should sync automatically).
- Slip the video, then click Edit (the icon with a pencil).
- Select the Turn tool and rotate the video to the correct position.
- Click Save copy β the original will remain intact.
Advantages of the method:
- β Works with formats.MOV,.MP4,.MKV.
- β Maintains original quality (without transcoding).
- β Syncs changes across all devices through the cloud.
β οΈ Note: If the video after turning in Google Photos still doesnβt show correctly in the Xiaomi gallery, clear the cache of the com.miui.gallery app in the settings (Settings) β Annexes β Application management β gallery β Warehouse β Clear the cache).
Xiaomi Standard Gallery
Google Photo
Other (specify in the comments)
I don't use the gallery.-->
Method 3: Rotate video via InShot (for complex cases)
If the built-in tools didnβt help, use the third-party InShot app β it supports video rotation with preservation of quality and additional features (trimming, filters, stabilization) β Suitable for 4K, 60 FPS and non-standard formats.
Step-by-step:
- Download InShot from Play Market (free version with watermarks).
- Open the application and select Video β import the desired file.
- In the lower panel, tap on the icon Turn (round arrow).
- Rotate the video 90Β° or 180Β° with buttons or gestures.
- Click Ready β select the resolution (1080p or 4K) and frame rate.
- Export the video without watermark (available in the free version when selecting the 9:16 format).
| Parameter | Standard gallery | Google Photo | InShot |
|---|---|---|---|
| 4K support | β No. | β Yes. | β Yes. |
| Quality preservation | β οΈ Perhaps compression | β No loss. | β Customizable |
| File formats | MP4, 3GP | MP4, MOV, MKV | All popular. |
| Additional functions | β No. | β No. | β Cutting, filters, text |
InShot is the only app on this list that correctly processes video with non-standard metadata (for example, shot on DJI Osmo Pocket or action cameras). If the video after a turn still plays with artifacts, try converting it to MP4 via VLC for Android.
Method 4: Correcting metadata via VLC (for power users)
The VLC app for Android not only allows you to play video, but also edit orientation metadata without recoding the file, a technique that is suitable for videos that are not physically inverted but are displayed incorrectly due to an error in the metadata.
How to fix it:
- Install VLC from the Play Market.
- Open the app and find the video through the built-in file manager.
- During the play, tap the screen. β choose βοΈ Tools β Effects and filters.
- Go to the Video Effects tab. β Geometry.
- Turn on the Transform option and select Turn 90Β° or 180Β°.
- Save the changes (the application will create a new file with the corrected metadata).
This method does not change the video itself, but only corrects the information about its orientation, and the advantage is that there is no loss of quality, but VLC does not always work correctly with files taken in HEVC (H.265).
What if the VLC doesnβt save the changes?
Method 5: Manually edit metadata (for advanced users)
If the video isnβt physically upside-down, but Xiaomiβs gallery ignores its orientation, the problem lies in the EXIF metadata, which can be manually corrected using the ExifTool app or online services.
Instructions for ExifTool (PC required):
- Download ExifTool from the official website and install it on your computer.
- Connect Xiaomi to PC in file transfer mode (MTP).
- Copy the video onto the computer.
- Open the Command Prompt (Win + R β enter cmd).
- Go to the ExifTool folder and video, then execute the command: exiftool -Rotation=90 -n "your_video.mp4" Replace. 90 corner-on (180, 270), your_video.mp4 β filename.
- Transfer the corrected file back to the phone.
For users without access to a PC, Exif Viewer (exif-viewer.com) is a good option. Download a video, find the Rotation field, and manually change the value, but this method does not work with all formats.
β οΈ Note: Manual editing of metadata may result in loss of shooting or geolocation date information.
Frequent Mistakes and How to Avoid Them
When you turn a video on Xiaomi, users often face typical problems. Here's how to prevent them:
- π Interrupting the process: If a processing error notification appears when saving the video in the gallery, check the free space on the device. MIUI Requires a minimum of 500MB for temporary files.
- π Proportional distortion: When you rotate a video in portrait orientation, it may cut off at the edges. To avoid this, turn on the Save Proportions option (available in InShot) before saving).
- π Missing sound: If there is no audio track after turning, the video has been saved in a format without audio support (e.g., audio,.3GP). Convert it into MP4 through VLC.
- π Cyclical turn: In some versions MIUI The video, after turning and saving, is displayed again in the wrong orientation.This is due to the gallery cache - clean it as described in Method 2.
If neither of these methods worked, check the video on another device (like a PC or iPad). If it displays correctly, the problem is with the Xiaomi player, try resetting the gallery settings to factory settings (Settings β Apps β Gallery β Additional β Reset settings).
π‘
Before you turn a video, always check its orientation on another device. If the video is upside down everywhere, the problem is in the file. Unless there's a problem with the player or metadata on Xiaomi.