User Tools

Site Tools


ffmpeg:video:resize:convert_to_1080p_1920x1080

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:video:resize:convert_to_1080p_1920x1080 [2025/01/29 22:32] peterffmpeg:video:resize:convert_to_1080p_1920x1080 [2025/01/29 22:36] (current) peter
Line 15: Line 15:
 <WRAP info> <WRAP info>
 **NOTE:**  This uses the **Lanczos** scaling algorithm, which can provide better results for upscaling. **NOTE:**  This uses the **Lanczos** scaling algorithm, which can provide better results for upscaling.
 +
 +Lanczos resampling involves a sinc filter as well.
 +
 +  * It is more computationally expensive but usually described as very high quality and can be used for up- and down-sampling.
 +
 </WRAP> </WRAP>
  
 ---- ----
  
 +===== Using GPU =====
  
 +<code bash>
 +ffmpeg -vaapi_device /dev/dri/renderD128 -i "input.mkv" -vf 'hwupload,scale_vaapi=w=1920:h=1080:format=nv12' -map 0:v -metadata:s:v:0 language=eng -c:v hevc_vaapi -map 0:a -metadata:s:a:0 language=eng -map 0:s? -metadata:s:s:0 language=eng -rc_mode CQP -global_quality 25 -c:a copy -c:s copy -profile:v main -v verbose output.mkv
 +</code>
 +
 +----
ffmpeg/video/resize/convert_to_1080p_1920x1080.1738189924.txt.gz · Last modified: 2025/01/29 22:32 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki