title: height not divisible ffmpeg
body: <p>Problem is when i try scale video and keep aspect ratio</p>
  
  <pre><code>ffmpeg -i in.mp4 -vf scale=240:-1 out.mp4
  </code></pre>
  
  <p>I was try also -s 240x135 but always same error..</p>
  
  <pre><code>height not divisible by 2 (240x135)
  </code></pre>
  
  <p>But if i try 240x180 it's working, problem is because i need to keep aspect ratio because i need <code>scale=240:-1</code></p>
  
  <p>Error what i have</p>
  
  <pre><code>height not divisible by 2 (240x135)
  
  Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  </code></pre>