title: How to crop and scale correctly with FFMPEG?
body: <p>I'm trying to remove the TOP AND BOTTOM black bars of a video.</p>
  
  <p>Image sample from video
  <a href="https://i.imgur.com/XEulNRC.jpg" rel="nofollow noreferrer"><img src="https://i.imgur.com/XEulNRC.jpg" alt="image"></a></p>
  
  <p>What i'm trying to achieve</p>
  
  <p><a href="https://i.imgur.com/QO03ceV.jpg" rel="nofollow noreferrer"><img src="https://i.imgur.com/QO03ceV.jpg" alt="image"></a></p>
  
  <p>The video itself is 1280x720 16:9, but the portion that's image information <em>is</em> at 4:3 since it's been captured from a VHS. I want to somehow stretch it until the top bars disappear without deforming the image. I don't care about the left and right bars.</p>
  
  <p>I tried using <code>crop</code> and <code>scale</code> with no luck.</p>
  
  <p>By using this code the top and bottom black bars disappeared on VLC when on <em>normal screen</em> but when going Full Screen the bars appeared again. </p>
  
  <pre><code>ffmpeg -i test.avi -filter:v "crop=1280:670" output_video.mp4
  </code></pre>
  
  <p>I thought it had something to do with the Scale of the video but honestly every <code>scale</code> code I tried to use deformed the image a lot.</p>
  
  <p>I hope someone can help me, fairly new to FFMPEG but really enjoying it this far.</p>