ffmpegHow to upscale video to 1080p
ffmpeg -i in.mp4 -vf scale=-1:1080:flags=lanczos -c:v libx264 -crf 21 out.mp4ctrl + c| -i in.mp4input video file | -vfapply specific video filters | 
| scale=scale video | -1width will be automatically calculated based on aspect ratio | 
| 1080set scaling height to 1080 pixels (1080p resolution) | flags=lanczosuse  | 
| -c:v libx264use H.264 codec | -crf 21use good quality for encoding | 
| out.mp4resulting video file | |
More of Ffmpeg
- How to reduce background audio noise using arnndn (neural network models)
- How to reduce background audio noise using afftdn
- List all supported codecs
- How to list supported pixel formats
- How to convert AV1 to H.264
- Replace audio track in the video file
- How to add multi-line text to video using drawtext filter
- How to use filter_complex to apply filters to videos
- Create video from a single image (loop image in video)
- Scaling video with zscale filter example
See more codes...