Answers.Body: <p>Your command is doing fine, and ffprobe will show the resolution as <strong>960x1080</strong></p>
  <pre><code>  Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41
      encoder         : Lavf57.83.100
    Duration: 00:10:45.14, start: 0.000000, bitrate: 1969 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x1080 [SAR 1:1 DAR 8:9], 1838 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
      Metadata:
        handler_name    : VideoHandler
  </code></pre>
  <p>My suggestion is to go through some of the examples from <a href="https://ffmpeg.org/ffmpeg-filters.html#crop" rel="nofollow noreferrer">https://ffmpeg.org/ffmpeg-filters.html#crop</a> to see if you have any expected result.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-06T10:55:00.117Z
Answers.LastActivityDate: 2023-03-08T22:34:30.043Z
Answers.LastEditDate: 2023-03-08T22:34:30.043Z
Answers.UserDisplayName: xer-rex
Answers.Body: <p>Try this:</p>
  <pre><code>ffmpeg -i in.mp4 -vf &quot;crop=960:1080&quot; out.mp4
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-23T22:02:19.437Z
Answers.LastActivityDate: 2023-12-24T21:06:15.810Z
Answers.LastEditDate: 2023-12-24T21:06:15.810Z
Answers.UserDisplayName: user43254
Body: <p>I have an HD video (1920x1080). I am trying to crop the video from the center so the resolution is (960x1080) and looks like a portrait video. I have tried the following command with no luck:</p>
  <p><code>ffmpeg -i in.mp4 -filter:v &quot;crop=960:1080:480:0&quot; -c:a copy out.mp4</code></p>
  <p>This just outputs a video at the same size: 1920x1080</p>
  <p>Any suggestions would be appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-06T12:59:13.090Z
Comments.Text: Share full log.
Comments.UserDisplayName: Gyan
Tags: <ffmpeg><editing><full-hd>
Title: Crop HD (1920x1080) video ratio from the center in ffmpeg
UserDisplayName: londonfed
ThreadText: # Crop HD (1920x1080) video ratio from the center in ffmpeg
  
  (Asked by: username_0 on 2020-11-06)
  
  I have an HD video (1920x1080). I am trying to crop the video from the center so the resolution is (960x1080) and looks like a portrait video. I have tried the following command with no luck:
  
  `ffmpeg -i in.mp4 -filter:v "crop=960:1080:480:0" -c:a copy out.mp4`
  
  This just outputs a video at the same size: 1920x1080
  
  Any suggestions would be appreciated.
  
  **Tags:** ffmpeg, editing, full-hd
  
  > **Comments:**
  > **username_1**: Share full log.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2020-11-06. Score: 1
  
  Your command is doing fine, and ffprobe will show the resolution as **960x1080**
  
  ```
    Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41
      encoder         : Lavf57.83.100
    Duration: 00:10:45.14, start: 0.000000, bitrate: 1969 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x1080 [SAR 1:1 DAR 8:9], 1838 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
      Metadata:
        handler_name    : VideoHandler
  
  ```
  
  My suggestion is to go through some of the examples from <https://ffmpeg.org/ffmpeg-filters.html#crop> to see if you have any expected result.
  
  
  ---
  
  ### Answer by username_3 on 2023-12-23. Score: 0
  
  Try this:
  
  ```
  ffmpeg -i in.mp4 -vf "crop=960:1080" out.mp4
  
  ```
  
  
  ---
  
  