Answers.Body: <p>Use the scale filter.</p>
  <pre><code>ffmpeg -i in -vf scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1 -c:a copy out
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-30T18:56:50.330Z
Answers.LastActivityDate: 2020-10-30T18:56:50.330Z
Answers.UserDisplayName: Gyan
Answers.Body: <p>FFmpeg does it through the video filter - <a href="https://ffmpeg.org/ffmpeg-filters.html#transpose-1" rel="nofollow noreferrer">transpose</a>; clockwise or counter-clockwise option is available.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-30T14:24:05.467Z
Answers.LastActivityDate: 2020-10-30T14:24:05.467Z
Answers.UserDisplayName: xer-rex
Body: <p>How to convert horizontal 1920x1080 mp4 video to vertical 1080x1920 mp4 with actual content size of 1080x608</p>
  <p>I know ffmpeg can do it, but don't know how to do it.</p>
  <p><a href="https://i.sstatic.net/yYvwz.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yYvwz.jpg" alt="enter image description here" /></a></p>
  
Tags: <ffmpeg><mp4>
Title: Convert Horizontal 1920x1080 mp4 video to Vertical 1080x1920 mp4 with Actual content size of 1080x608
UserDisplayName: zastereo
ThreadText: # Convert Horizontal 1920x1080 mp4 video to Vertical 1080x1920 mp4 with Actual content size of 1080x608
  
  (Asked by: username_0 on 2020-10-30)
  
  How to convert horizontal 1920x1080 mp4 video to vertical 1080x1920 mp4 with actual content size of 1080x608
  
  I know ffmpeg can do it, but don't know how to do it.
  
  [![enter image description here](https://i.sstatic.net/yYvwz.jpg)](https://i.sstatic.net/yYvwz.jpg)
  
  **Tags:** ffmpeg, mp4
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-10-30. Score: 0 | Accepted answer
  
  Use the scale filter.
  
  ```
  ffmpeg -i in -vf scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1 -c:a copy out
  
  ```
  
  
  ---
  
  ### Answer by username_2 on 2020-10-30. Score: 0
  
  FFmpeg does it through the video filter - [transpose](https://ffmpeg.org/ffmpeg-filters.html#transpose-1); clockwise or counter-clockwise option is available.
  
  
  ---
  
  