Rotating iPhone Videos with FFmpeg on Linux
iPhone videos often play rotated 90 degrees when opened in non-Apple software on Linux because the rotation data is stored as metadata rather than baked into the video stream itself. FFmpeg handles this reliably by re-encoding with the transpose filter, which physically rotates the frame data. Understanding the Transpose Filter FFmpeg’s transpose filter supports four…
