---
title: "Discussion on \"Reframe 16:9 Video to 9:16 Shorts With ffmpeg and Stdlib Python: Rotation Metadata, Anamorphic Pixels and Even Crop Sizes\" | Hashnode"
description: "Discussion on \"Reframe 16:9 Video to 9:16 Shorts With ffmpeg and Stdlib Python: Rotation Metadata, Anamorphic Pixels and Even Crop Sizes\". Turning a landscape clip into a vertical 1080x1920 Short looks like a one-liner: ffmpeg -i in.mp4 -vf \"crop=ih*9/16:ih,scale=1080:1920\" out.mp4. On a clean 1920x1080 screen recording, it works. On foo"
url: "https://hashnode.com/posts/reframe-16-9-video-to-9-16-shorts-with-ffmpeg-and-stdlib-python-rotation-metadata-anamorphic-pixels-and-even-crop-sizes/6b063b2f72635e6d60681ceb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reframe 16:9 Video to 9:16 Shorts With ffmpeg and Stdlib Python: Rotation Metadata, Anamorphic Pixels and Even Crop Sizes](https://jadenvo259.hashnode.dev/reframe-16-9-video-to-9-16-shorts-with-ffmpeg-and-stdlib-python-rotation-metadata-anamorphic-pixels-and-even-crop-sizes?utm_source=hashnode&utm_medium=feed)

Turning a landscape clip into a vertical 1080x1920 Short looks like a one-liner: ffmpeg -i in.mp4 -vf "crop=ih\*9/16:ih,scale=1080:1920" out.mp4. On a clean 1920x1080 screen recording, it works. On foo

Nov 25 · 11 min read · jadenvo259.hashnode.dev  
Read the article

-   [#video](https://hashnode.com/tag/video)
-   [#cli](https://hashnode.com/tag/cli)
-   [#python](https://hashnode.com/tag/python)
-   [#ffmpeg](https://hashnode.com/tag/ffmpeg)

## Written by

[Jaden Vo](https://hashnode.com/@jadenvo259)

@jadenvo259

  
[View profile](https://hashnode.com/@jadenvo259)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
