Answers.Body: <p>What's happening here is two things:</p>
  
  <p>1)your video is portrait but stored as a landscape matrix and ffmpeg is applying autorotate so that all players natively display it in what ffmpeg thinks is the correct orientation.</p>
  
  <p>2) the video has a PAL DV aspect ratio of ~1.09, so after the autorotation and aspect ratio correction, 568 x 320 is autorotated to 320 x 568 with 1.09 scaler being applied to both W and H.</p>
  
  <p>Try this, instead:</p>
  
  <pre><code>ffmpeg -i VID_1438833296.mp4 -noautorotate -vf setsar=1,crop=568:320:0:0 -metadata:s:v:0 rotate=0 -c:a copy out.mp4
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-09T10:10:33.360Z
Answers.LastActivityDate: 2016-02-09T10:10:33.360Z
Answers.UserDisplayName: Gyan
Body: <p>I am trying to crop a portrait video of 1280x720 to 568x320 so that the video will be displayed in landscape view (16:9). I am using the following command </p>
  
  <pre><code>ffmpeg -i VID_1438833296.mp4 -vf crop=568:320:0:0 -c:a copy out.mp4
  </code></pre>
  
  <p>The video gets cropped properly but when I view it in quick time or Android device it still displays in the portrait mode instead of landscape mode.</p>
  
  <p><strong>The quicktime inspector shows Format size as 568x320 (Landscape) but current size is 350x621 (Portrait):</strong></p>
  
  <p><a href="https://i.sstatic.net/W4WfA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/W4WfA.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-08-06T17:55:29.807Z
Comments.Text: Please include the complete console output from your command and [properly format](http://video.stackexchange.com/editing-help#code) the command and console output.
Comments.UserDisplayName: llogan
Tags: <video-editor><ffmpeg><quicktime>
Title: FFMpeg crop filter doesn't change orientation
UserDisplayName: Prabhu Swaminathan
ThreadText: # FFMpeg crop filter doesn't change orientation
  
  (Asked by: username_0 on 2015-08-06)
  
  I am trying to crop a portrait video of 1280x720 to 568x320 so that the video will be displayed in landscape view (16:9). I am using the following command
  
  ```
  ffmpeg -i VID_1438833296.mp4 -vf crop=568:320:0:0 -c:a copy out.mp4
  
  ```
  
  The video gets cropped properly but when I view it in quick time or Android device it still displays in the portrait mode instead of landscape mode.
  
  **The quicktime inspector shows Format size as 568x320 (Landscape) but current size is 350x621 (Portrait):**
  
  [![enter image description here](https://i.sstatic.net/W4WfA.png)](https://i.sstatic.net/W4WfA.png)
  
  **Tags:** video-editor, ffmpeg, quicktime
  
  > **Comments:**
  > **username_1**: Please include the complete console output from your command and [properly format](http://video.stackexchange.com/editing-help#code) the command and console output.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-02-09. Score: 1
  
  What's happening here is two things:
  
  1)your video is portrait but stored as a landscape matrix and ffmpeg is applying autorotate so that all players natively display it in what ffmpeg thinks is the correct orientation.
  
  2) the video has a PAL DV aspect ratio of ~1.09, so after the autorotation and aspect ratio correction, 568 x 320 is autorotated to 320 x 568 with 1.09 scaler being applied to both W and H.
  
  Try this, instead:
  
  ```
  ffmpeg -i VID_1438833296.mp4 -noautorotate -vf setsar=1,crop=568:320:0:0 -metadata:s:v:0 rotate=0 -c:a copy out.mp4
  
  ```
  
  
  ---
  
  