title: How can i record a video using ffmpeg in a better quality?
body: <p>Now i'm using this line in the Command Prompt window:</p>
  
  <pre><code>ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p outspaceships.mp4
  </code></pre>
  
  <p>When uploading it to youtube i see the only quality is 360p.
  Is there any way to change this line to record in higher quality ? Maybe 720p/i or even 1080p/i ?</p>
  
  <p>Screenshot of the console window:</p>
  
  <p><a href="https://i.stack.imgur.com/FOa2Q.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FOa2Q.jpg" alt="Console window"></a></p>