You shot a video on your smartphone, but it turned out to be flipped 90°? Or do you need to turn a video from portrait to landscape orientation for publishing on social networks? There are several ways to fix video orientation on Android, from built-in tools to dedicated apps. In this article we will analyze all the working methods, including the nuances of maintaining quality, supporting different formats and solving common errors.

The main problem when rotating a video is the potential loss of quality or the appearance of black bars on the sides. We will show how to avoid this, and also compare popular applications (CapCut, InShot, VLC) in terms of processing speed and supported formats. We will separately consider cases when the video refuses to rotate due to metadata or hardware limitations.

If you urgently need to correct the orientation of the video directly on your phone, skip the theory and go to quick solution using Google Photos. For advanced users, there is a section with manual settings via FFmpeg.

Why the video is saved upside down or sideways

Most often, incorrect video orientation is due to the fact that the smartphone fixes the rotation angle in file metadata, rather than rotating the image itself. This saves resources when shooting, but creates problems when viewing on other devices. Main reasons:

  • 📱 Orientation sensor smartphone did not work correctly (especially true for budget models Xiaomi Redmi or Samsung Galaxy A-series).
  • 🎥 Camera application did not synchronize data with the gyroscope (often happens in third-party cameras like Open Camera or Footage).
  • 🔄 Manual rotation screen during shooting (for example, you started shooting in landscape mode and then rotated the phone).
  • 📁 Format conversion — when editing or transferring the video, metadata could be lost.

It is interesting that some players (for example, VLC or MX Player) can ignore metadata and show the video in the “correct” form, while the standard Android player or social networks focus specifically on them. This creates the illusion that the problem “appears and then disappears.”

⚠️ Attention: If the video is rotated only in some applications, but is displayed normally in the gallery, the problem is in the metadata. In this case, it is enough to rewrite them (see the section about FFmpeg), rather than re-encoding the video.

Another nuance: some messengers (for example, WhatsApp or Telegram) automatically rotate the video when sending, based on their algorithms. If the video looks normal for you, but “lays on its side” for the recipient, try sending it as a file, not as a file. media message.

Quick method: rotation via Google Photos

The simplest method is to use the built-in editor Google Photos). data-i="67">Open the application. It does not require installing additional applications and preserves the original video quality (if you do not apply other effects:

  1. Open the application Google Photos and find the video you want.
  2. Tap on the video, then click Edit (pencil icon).
  3. Select tab Crop (frame icon).
  4. In the lower right corner, click on the icon Rotate (circular arrow) until the video takes the desired orientation.
  5. Press Save a copy —the original will remain untouched.

Important: Google Photos does not overwrite metadata, but physically rotates frames, so the file size may increase by 5-15% (due to recoding). If this is critical, use specialized applications from the next section.

Are there other effects applied (they will reset the quality)

Is "Save a copy" selected rather than "Save" (so as not to lose the original)

Is there enough space on the device (video is temporary duplicated)

-->

Advantages of the method:

  • ✅ No need to install third-party apps.
  • ✅ Works on all Android devices (starting from version 6.0).
  • ✅ Supports formats MP4, MOV, 3GP.

Disadvantages:

  • ❌ Does not save metadata (date of shooting, geotags).
  • ❌ Can “cut” videos with non-standard proportions (for example, 9:16 → 16:9).

Top 5 applications for rotating video to Android

If the built-in tools are not suitable, use specialized applications. We tested 12 apps and selected the best according to the following criteria: format support, quality preservation, processing speed and lack of watermarks. All applications on the list are free (with an optional premium subscription for additional functions).

Application Support. formats Preservation of quality Additional functions Cons
CapCut MP4, MOV, AVI, MKV ⭐⭐⭐⭐⭐ (lossless) Cropping, overlaying music, effects Watermark in the free version
InShot MP4, MOV, 3GP ⭐⭐⭐⭐ (minor losses) Changing speed, filters Limitation on video length in the free version
VLC Any (including rare ones) ⭐⭐⭐ (depending on codecs) Conversion, correction of metadata Complicated interface for beginners
Video Rotate & Flip MP4, MOV, AVI ⭐⭐⭐⭐⭐ (no loss) Mirroring, cropping Advertising in the free version
KineMaster MP4, MOV, MKV ⭐⭐⭐⭐ (minimal loss) Multi-track editing, chromakey Requires registration for export to 4K

For most tasks, we recommend Video Rotate & Flip - it specializes in rotation and does not impose unnecessary functions. If you need not only to rotate the video, but also to edit (cut, add). music), choose CapCut or InShot.

Google Photos

CapCut

InShot

VLC

Other

I do not edit video-->

Step-by-step guide for Video Rotate & Flip

This application is optimal for quick rotation without loss of quality Download it. from Google Play and follow the algorithm:

  1. Open the application and allow access to media files.
  2. Select a video from the gallery (files up to 1 GB are supported in the free version).
  3. In the bottom menu, click on the icon Rotate (round arrow).
  4. Rotate the video 90° clockwise or counterclockwise (buttons and ).
  5. Press Save and select quality (Original, HD or SD).

Tip: If the video is cut off at the edges after rotation, enable the option Keep proportions in the save settings. This will add black margins, but save the whole frame.

Advanced method: rotation via FFmpeg (without quality loss)

If you are willing to spend 10-15 minutes on adjustments, the best way to rotate a video without losing quality — use FFmpeg through the app Termux. This method is suitable for:

  • 🎞️ Videos in rare formats (MKV, FLV, WEB).
  • 🔧 Metadata corrections without transcoding.
  • 📏 Rotating video with non-standard proportions (for example, 1:1 or 4:5).

To work you will need:

  1. Install Termux from F-Droid (version from Google Play is outdated).
  2. Enter commands for installation FFmpeg:
pkg update && pkg upgrade

pkg install ffmpeg

After installation, use one of the commands depending on the task:

  • Rotate 90° clockwise (with recoding):
    ffmpeg -i input.mp4 -vf "transpose=1" -c:a copy output.mp4

    Here transpose=1 —rotation by 90°, transpose=2 —by 180°, transpose=0 —by 90° counterclockwise.

  • Rotation without recoding (metadata only):
    ffmpeg -i input.mp4 -metadata:s:v:0 rotate=90 -codec copy output.mp4

    This method is instant, but does not work for everyone players.

⚠️ Attention: If the video does not play after the command, add a parameter -preset ultrafast to speed up encoding For example:
ffmpeg -i input.mp4 -vf "transpose=1" -preset ultrafast output.mp4

Advantages FFmpeg:

  • ✅ Support all existing formats.
  • ✅ Possibility of rotation without loss of quality (if you do not recode video).
  • ✅ Works on weak devices (for example, Samsung Galaxy J-series).

Disadvantages:

  • ❌ Requires command knowledge lines.
  • ❌ An incorrect command can "break" the video.
How to check video metadata before rotation?

To find out whether the rotation angle is recorded in the video metadata, use the command:

ffprobe -v error -show_entries stream_tags=rotate -of default=noprint_wrappers=1:nokey=1 input.mp4

If the command returns a number (for example, 90 or 270) - the problem is in the metadata. If the output is empty, the video is physically upside down and requires frame rotation.

What to do if the video does not rotate

Sometimes the video refuses to rotate even in specialized applications:

1. Video format HEVC (H.265) or AV1

Modern smartphones (for example, Samsung Galaxy S22+ or Google Pixel 7) often save videos in format HEVC to save space. Not all applications can work correctly. with it. Solutions:

  • 🔄 Convert video to H.264 via VLC or FFmpeg before rotation.
  • 📱 Use native camera app for rotation (for example, Samsung Gallery can rotate HEVC).

2. The video is protected by DRM

If the video was downloaded from streaming services (Netflix, Disney+, Kinionk), it may have DRM protection. Such files cannot be edited. using standard means. Solutions:

  • 🎥 Retake the screen using the application AZ Screen Recorder (the quality will deteriorate).
  • 💻 Use a PC with apps like HandBrake (but this violates the terms of use of services).

3. Damaged metadata

If the video is rotated in some applications, but not in others, the problem is in the metadata. Fix it through FFmpeg:

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=0 output.mp4

This command will reset the rotation information.

4. data-i="209">On weak devices (for example,

On weak devices (for example, Nokia 2.4 or Alcatel 1), video in 4K resolution may not be rotated due to lack of memory. Solutions:

  • 📉 Reduce the resolution before rotating (in CapCut or InShot).
  • 🖥️ Transfer the video to your PC for editing.
ffmpeg -i input.mp4 -vf "transpose=1" -c:v libx264 -crf 18 -c:a aac output.mp4

Here libx264 is a reliable codec for MP4and -crf 18 guarantees high quality.-->

How to maintain video quality when rotating

When rotating a video, it is important to minimize quality loss. Here are the key rules:

  1. Use the original codec. If the video was shot in H.264, save in H.264. H.265 or VP9 may add artifacts.
  2. Avoid double compression. Each save "in a chain" (for example, rotation in InShot → cropping in CapCut) degrades the quality. Try to make all edits in one application.
  3. Keep an eye on the bitrate. In manual settings, set the bitrate not lower than the original one. For example, if the video was shot with a bitrate 15 Mbps, save with 15–20 Mbps.
  4. Check the color profile. Video in HDR10 or Dolby Vision may lose brightness when rotated in unsupported applications.

To check the quality, use the application MediaInfo (available in Google Play). It will show:

  • 📊 Source and final bitrate.
  • 🎨 Color profile (BT.709, BT.2020).
  • 🔊 Audio track format (for example, AAC or AC3).
⚠️ Attention: If you rotate the video for YouTube or TikTok, note that these platforms re-compress downloaded clips. To minimize losses, export the video at a bitrate 20–30% higher than recommended (for example, for Full HD on YouTube optimal 12–15 Mbpsand not 8 Mbps).

Rotate video for social networks: TikTok, Instagram, YouTube

Each social network has its own requirements for video orientation. Let's look at the nuances for popular platforms:

Platform Recommended orientation Max duration Features. rotation
TikTok 9:16 (vertical) 10 min Automatically crops at the edges if the video is not vertical. To rotate, use the built-in TikTok editor.
Instagram Reels 9:16 or 4:5 90 sec Adds black fields if the video does not fit the format. It is better to rotate it in advance in CapCut.
YouTube Shorts 9:16 60 sec Supports automatic rotation, but may distort the proportions. Check the preview before publishing.
Facebook 1:1 or 16:9 240 min For stories, vertical orientation is required (9:16). Video in landscape format will be reduced.

For TikTok i Instagram Reels we recommend using CapCut —it has templates for these platforms and automatically adjusts the video to the required proportions. Algorithm:

  1. Import the video to CapCut.
  2. Select a template 9:16 (for vertical video) or 16:9 (for horizontal).
  3. Apply rotation, then export with settings:
    Resolution: 1080×1920 (for 9:16)
    

    Bitrate: 12 Mbps

    Format: MP4 (H.264)

Tip for). Instagram: If the video looks "squashed" after rotation, turn on the option Keep proportions and add a background (for example, a blurred video take or a gradient. This will fill the empty space without distortion.

💡

For social networks, it is better to rotate the video BEFORE loading, rather than relying on the built-in tools of the platforms. TikTok/Instagram algorithms can unpredictably crop or stretch videos during automatic processing.

Frequently asked questions

Is it possible to rotate a video without losing quality?

Yes, if the rotation is carried out by correcting the metadata (for example, with the command ffmpeg -i input.mp4 -metadata:s:v:0 rotate=90 -codec copy output.mp4) or in applications that support lossless mode (for example, Video Rotate & FlipHowever, most applications (including Google Photos) re-encode the video, which leads to minor losses.

Why did the video become “pixelated” after rotation?

This is due to:

  • Too low bitrate when saving (set at least 10 Mbps for Full HD).
  • Use of outdated codecs (for example, MPEG-4 instead of H.264).
  • Multiple compression (each repeated export degrades the quality).

To fix it, repeat the rotation with high quality settings or use FFmpeg with the parameter -crf 18.

How to rotate a video 90 degrees in VLC?

In VLC for Android:

  1. Open the video in the application.
  2. Tap on the screen and select Tools (wrench icon).
  3. Go to Effects and filters → Video effects → Geometry.
  4. Enable the option Rotate and select an angle (90° or 270°).
  5. To save click Convert/Save and select format MP4 H.264.

Disadvantage of the method: VLC does not always correctly process audio tracks in MKV.

Is it possible to rotate video on Samsung phones without third-party applications?

Yes, in standard Samsung Gallery:

  1. Open the video and click Edit (pencil icon).
  2. Select Rotate (round arrow) in the bottom menu.
  3. Rotate the video to the desired angle and click Save.

The function is available on devices with One UI 2.0 i newer (for example, Galaxy S10, Note 20, A52). On older models (for example, Galaxy J6) this option may not be available.

Why did the video start to "twitch" after rotating?

This is due to:

  • FPS mismatch. If the original video was 60 FPS, and you saved it in 30 FPS, movements will not be smooth. Check your export settings.
  • Problems with the codec. Some codecs (for example, MPEG-2) are poorly optimized for mobile devices. Use H.264 or H.265.
  • Hardware limitations. On weak smartphones (for example, Redmi 9A) high-definition video may be played back with jerks. Try reducing the resolution to 720p.