<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>

CC BY-SA 4.0
2020-11-06T10:55:00.117Z
2023-03-08T22:34:30.043Z
2023-03-08T22:34:30.043Z
xer-rex
<p>Try this:</p>
<pre><code>ffmpeg -i in.mp4 -vf &quot;crop=960:1080&quot; out.mp4
</code></pre>

CC BY-SA 4.0
2023-12-23T22:02:19.437Z
2023-12-24T21:06:15.810Z
2023-12-24T21:06:15.810Z
user43254
<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>

CC BY-SA 4.0
2020-11-06T12:59:13.090Z
Share full log.
Gyan
<ffmpeg><editing><full-hd>
Crop HD (1920x1080) video ratio from the center in ffmpeg
londonfed
# 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


---

