User Tools

Site Tools


ffmpeg:video:resize:convert_to_4k_3840x2160

Differences

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

Link to this comparison view

ffmpeg:video:resize:convert_to_4k_3840x2160 [2025/01/29 22:25] – created peterffmpeg:video:resize:convert_to_4k_3840x2160 [2025/01/29 22:32] (current) peter
Line 4: Line 4:
 ffmpeg -i input.mp4 -vf "scale=3840:2160" -c:v libx264 -crf 23 -c:a copy output.mp4 ffmpeg -i input.mp4 -vf "scale=3840:2160" -c:v libx264 -crf 23 -c:a copy output.mp4
 </code> </code>
 +
 +----
 +
 +===== For enhanced quality =====
 +
 +<code bash>
 +ffmpeg -i input.mp4 -vf "scale=3840:2160:flags=lanczos" -c:v libx264 -crf 23 -c:a copy output.mp4
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  This uses the **Lanczos** scaling algorithm, which can provide better results for upscaling.
 +</WRAP>
 +
 +----
 +
 +
ffmpeg/video/resize/convert_to_4k_3840x2160.1738189527.txt.gz · Last modified: 2025/01/29 22:25 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki