How to deploy video on Xiaomi phone in the gallery: a step-by-step guide

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.

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.

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.

  1. Open the Gallery app (an icon with a floral logo).
  2. Find the right video and tap it to watch it.
  3. In the lower right corner, click on the icon. ✏️ Edit.
  4. In the bottom panel, select the Turn tool (circular arrow icon).
  5. Press the turn button until the video is in the right orientation. Each click turns the file 90.Β° clockwise.
  6. 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:

  1. Install Google Photos from the Play Market if it is not preinstalled.
  2. Open the app and find the video you want (it should sync automatically).
  3. Slip the video, then click Edit (the icon with a pencil).
  4. Select the Turn tool and rotate the video to the correct position.
  5. 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:

  1. Download InShot from Play Market (free version with watermarks).
  2. Open the application and select Video β†’ import the desired file.
  3. In the lower panel, tap on the icon Turn (round arrow).
  4. Rotate the video 90Β° or 180Β° with buttons or gestures.
  5. Click Ready β†’ select the resolution (1080p or 4K) and frame rate.
  6. Export the video without watermark (available in the free version when selecting the 9:16 format).
ParameterStandard galleryGoogle PhotoInShot
4K support❌ No.βœ… Yes.βœ… Yes.
Quality preservation⚠️ Perhaps compressionβœ… No loss.βœ… Customizable
File formatsMP4, 3GPMP4, MOV, MKVAll 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:

  1. Install VLC from the Play Market.
  2. Open the app and find the video through the built-in file manager.
  3. During the play, tap the screen. β†’ choose βš™οΈ Tools β†’ Effects and filters.
  4. Go to the Video Effects tab. β†’ Geometry.
  5. Turn on the Transform option and select Turn 90Β° or 180Β°.
  6. 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?
If the video is still not displayed correctly after editing in VLC, try this: 1. Convert the file to MP4 via File β†’ Convert to VLC. 2. Use the H.264 + MP3 (MP4). 3. Turn off hardware acceleration in the VLC settings (Settings β†’ Video β†’ Decoding β†’ Disable hardware acceleration).

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):

  1. Download ExifTool from the official website and install it on your computer.
  2. Connect Xiaomi to PC in file transfer mode (MTP).
  3. Copy the video onto the computer.
  4. Open the Command Prompt (Win + R β†’ enter cmd).
  5. 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.
  6. 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.

FAQ: Answers to Frequent Questions

Can I expand the video without losing quality?
Yes, if you use Google Photos or VLC to fix metadata. Xiaomi's standard gallery and InShot in the free version can use compression. To maintain original quality, choose Save Unchanged or export to 4K.
Why did the video become "stretched" after the twist?
This is because of the incorrect aspect ratio. When you rotate a 1920Γ—1080 (album orientation) video to a portrait, the player can stretch the image to 1080Γ—1920. To fix, crop the video in InShot with the option Save Proportions enabled.
How to turn a video shot on iPhone, on Xiaomi?
Videos from iPhones are often saved in.MOV format with metadata incompatible with MIUI. Use Google Photos or convert the file to MP4 via VLC. Alternatively, install the Apple Files app on Xiaomi and open the video through it (shown correctly).
Can I turn the video while shooting?
Yes, but only in manual mode. Open Xiaomi's camera, go to Pro Mode (or Video) β†’ βš™οΈ Settings β†’ Grid and level, and turn on the Horizon option. Now, when you shoot, the horizon line will be displayed on the screen, align the phone over it to avoid skewing.
Why did all the videos in the gallery turn after the MIUI update?
It's a famous firmware bug. MIUI 13 and MIUI 14, Related to changing metadata processing Solutions: Clear gallery cache (Settings) β†’ Annexes β†’ gallery β†’ Warehouse β†’ Cache clear.Roll back to the previous version of the gallery via APKMirror (e.g, com.miui.gallery_13.0.4). Use Google Photos as your main gallery.