Город МОСКОВСКИЙ
00:01:19

How to resize / scale a video with FFMPEG | Absolute resizing #ffmpeg #TheFFMPEGGuy

Аватар
Алгоритмическое Оживление
Просмотры:
42
Дата загрузки:
02.12.2023 22:47
Длительность:
00:01:19
Категория:
Лайфстайл

Описание

Today, we show you how to resize / scale a video using ffmpeg. The method we are showing is about absolute resizing, i.e. we are setting the dimensions / figures ourselves.
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
EXAMPLES
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
❶ Resizing / scaling down from 1280 x 720 (HD) to 640 x 360:
→ ffmpeg -i input.mp4 -vf scale=640:360 output.mp4

❷ Resizing / scaling up from 1280 x 720 (HD) to 1920 x 1080 (Full HD):
→ ffmpeg -i input.mp4 -vf scale=1920:1080 output.mp4

Note that you will always introduce noise and lose details when scaling up
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
→ Check out also "How to resize / scale a video with FFMPEG | Relative resizing" at:
https://youtu.be/3L5kSrQtqYU

→ Catch up with the FFMPEG guy Channel
https://www.youtube.com/playlist?list=PLFJLws5_RlCuExg6UNOu3QCuP0uXZHT9o
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ
An FFMPEG question?
Ask the FFMPEG guy
ꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷꟷ

Рекомендуемые видео