Problem Statement
To resize a 1920x960 video to 1920x1080 without stretching and add black bars, you can use a video editing software or a command-line tool like FFmpeg.
Steps to Resize the Video
- Install FFmpeg: Follow the instructions for your operating system from the official FFmpeg website: https://www.ffmpeg.org/download.html
- Open a terminal/command prompt and navigate to the directory containing your video file.
- Run the following command to resize the video and add black bars:
- Press Enter and wait for the conversion to complete.
ffmpeg -i input.mp4 -vf "scale=1920:1080,setsar=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" output.mp4
The resulting video output.mp4 will be 1920x1080 with black bars added to maintain the aspect ratio.