Answers.Body: <p>Add a scaler after the crop.</p>
  
  <pre><code>-vf "crop=720:528:120:6,scale=960:540,setsar=1"
  </code></pre>
  
  <p>The setsar is added to prevent players squashing the video during playback.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-06T19:59:35.260Z
Answers.Text: I think this can work for my scenario as well, however my MP4's resolution is 1280x720 and there's no black bar at the bottom as with Ma Dude's. I'm afraid I'm a beginner with FFMPG; could I impose upon you to ask for a translation to the entire command to use?
Answers.UserDisplayName: InteXX
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-07T06:41:02.353Z
Answers.Text: Ask a new Q showing your tried command and its full log.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-07T08:28:46.940Z
Answers.Text: OK, got it. Will do.
Answers.UserDisplayName: InteXX
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-31T08:32:18.943Z
Answers.LastActivityDate: 2018-08-31T08:32:18.943Z
Answers.UserDisplayName: Gyan
Body: <p>I have a video track that is a 4:3 video with pillarboxing/black bars on the side making it a 16:9 video. The resolution of the video is 960x540 (16:9).</p>
  
  <p>How would I remove the blackbars and then stretch it to 16:9 to be a proper 16:9 video?</p>
  
  <p>What I have:
  <a href="https://i.sstatic.net/2OEu6.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2OEu6.png" alt="enter image description here"></a></p>
  
  <p>What I want:
  <a href="https://i.sstatic.net/EVg7k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EVg7k.png" alt="enter image description here"></a></p>
  
  <p>I'm assuming I want to use a -vf "crop=720:528:120:6" to remove the black bars from the side and the small one at the bottom, but how would I then stretch that to 16:9?</p>
  
  <p>By the way, im hoping to end up with this video in the resolution: 960x540, meaning with the small 6 pixel removal of the small border under the video, im hoping to stretch that BACK to 540 from 534.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-06T20:00:06.507Z
Comments.Text: How were you able to determine the crop dimensions?
Comments.UserDisplayName: InteXX
Tags: <ffmpeg>
Title: ffmpeg - Stretch 4:3 video to 16:9
UserDisplayName: Ma Dude
ThreadText: # ffmpeg - Stretch 4:3 video to 16:9
  
  (Asked by: username_0 on 2018-08-31)
  
  I have a video track that is a 4:3 video with pillarboxing/black bars on the side making it a 16:9 video. The resolution of the video is 960x540 (16:9).
  
  How would I remove the blackbars and then stretch it to 16:9 to be a proper 16:9 video?
  
  What I have:
  [![enter image description here](https://i.sstatic.net/2OEu6.png)](https://i.sstatic.net/2OEu6.png)
  
  What I want:
  [![enter image description here](https://i.sstatic.net/EVg7k.png)](https://i.sstatic.net/EVg7k.png)
  
  I'm assuming I want to use a -vf "crop=720:528:120:6" to remove the black bars from the side and the small one at the bottom, but how would I then stretch that to 16:9?
  
  By the way, im hoping to end up with this video in the resolution: 960x540, meaning with the small 6 pixel removal of the small border under the video, im hoping to stretch that BACK to 540 from 534.
  
  **Tags:** ffmpeg
  
  > **Comments:**
  > **username_1**: How were you able to determine the crop dimensions?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-08-31. Score: 3
  
  Add a scaler after the crop.
  
  ```
  -vf "crop=720:528:120:6,scale=960:540,setsar=1"
  
  ```
  
  The setsar is added to prevent players squashing the video during playback.
  
  > **Comments:**
  > **username_1**: I think this can work for my scenario as well, however my MP4's resolution is 1280x720 and there's no black bar at the bottom as with Ma username_0's. I'm afraid I'm a beginner with FFMPG; could I impose upon you to ask for a translation to the entire command to use?  
  > **username_2**: Ask a new Q showing your tried command and its full log.  
  > **username_1**: OK, got it. Will do.  
  
  ---
  
  