Answers.Body: <p>Using ffmpeg,</p>
  
  <pre><code>ffmpeg -i input.mp4 -vf "scale=1920:1080:flags=lanczos,setsar=1" output.mp4
  </code></pre>
  
  <p>This will stretch the video to 1920x1080.</p>
  
  <hr>
  
  <pre><code>ffmpeg -i input.mp4 -vf "scale=-1:1080:flags=lanczos,setsar=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" output.mp4
  </code></pre>
  
  <p>This will keep the aspect ratio but place black bars on the left and right.</p>
  
  <hr>
  
  <p>The <code>flag</code> in the scale filter determines the scaling algorithm to use. <code>lanczos</code> is the best available, in general, for video.</p>
  
  <p>The <code>setsar</code> sets the pixel aspect ratio. Advisable to keep this square (<code>1</code>) unless you know what you're doing.</p>
  
  <p>In the 2nd command, the <code>-1</code> tells ffmpeg to preserve original proportion when scaling height to <code>1080</code>. The pad fills out the canvas to <code>1920x1080</code> and centers the scaled video within it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-13T19:36:20.443Z
Answers.Text: Can we add `blur background` of playing video or something like that instead `black bars`?
Answers.UserDisplayName: Hassaan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-14T03:54:47.907Z
Answers.Text: See https://stackoverflow.com/q/43577377/
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-29T08:13:56.883Z
Answers.LastActivityDate: 2016-05-29T08:13:56.883Z
Answers.UserDisplayName: Gyan
Body: <p>How can I convert a video from 1600*1200 to 1920*1080 ?
  I know that the aspect will be not correct, but I just like to do.</p>
  
  <p>With Handbrake I can't do it, because it will not allow me to go beyond the 1600 pixels in the width.</p>
  
  <p>Thanks for helping.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-29T07:09:12.257Z
Comments.Text: Are you ok with using a command-line tool?
Comments.UserDisplayName: Gyan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-29T07:30:42.233Z
Comments.Text: Yes , would be happy to know. I guess you gave me already helped me with the ffmpeg tool to make a video faster. Can I do it with ffmpeg ? Thanks for helping.
Comments.UserDisplayName: user1344545
Tags: <software-recommendation><conversion><aspect><scale>
Title: Converting a Video from 1600*1200 to 1920*1080
UserDisplayName: user1344545
ThreadText: # Converting a Video from 1600*1200 to 1920*1080
  
  (Asked by: username_0 on 2016-05-29)
  
  How can I convert a video from 1600\*1200 to 1920\*1080 ?
  I know that the aspect will be not correct, but I just like to do.
  
  With Handbrake I can't do it, because it will not allow me to go beyond the 1600 pixels in the width.
  
  Thanks for helping.
  
  **Tags:** software-recommendation, conversion, aspect, scale
  
  > **Comments:**
  > **username_1**: Are you ok with using a command-line tool?  
  > **username_0**: Yes , would be happy to know. I guess you gave me already helped me with the ffmpeg tool to make a video faster. Can I do it with ffmpeg ? Thanks for helping.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-29. Score: 3 | Accepted answer
  
  Using ffmpeg,
  
  ```
  ffmpeg -i input.mp4 -vf "scale=1920:1080:flags=lanczos,setsar=1" output.mp4
  
  ```
  
  This will stretch the video to 1920x1080.
  
  ---
  
  ```
  ffmpeg -i input.mp4 -vf "scale=-1:1080:flags=lanczos,setsar=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" output.mp4
  
  ```
  
  This will keep the aspect ratio but place black bars on the left and right.
  
  ---
  
  The `flag` in the scale filter determines the scaling algorithm to use. `lanczos` is the best available, in general, for video.
  
  The `setsar` sets the pixel aspect ratio. Advisable to keep this square (`1`) unless you know what you're doing.
  
  In the 2nd command, the `-1` tells ffmpeg to preserve original proportion when scaling height to `1080`. The pad fills out the canvas to `1920x1080` and centers the scaled video within it.
  
  > **Comments:**
  > **username_2**: Can we add `blur background` of playing video or something like that instead `black bars`?  
  > **username_1**: See https://stackoverflow.com/q/43577377/  
  
  ---
  
  