FFMPEG (AVCONV) []

Outils pour utilisateurs

Outils du site


FFMPEG (AVCONV)

Ceci est une ancienne révision du document !


FFMPEG (AVCONV)

UHD (4k / 3840×2160) ➜ HD (1920×1080)

$ ffmpeg -i inVideo.mp4 -s 1920x1080 -c:v libx264 -crf 18 -acodec copy outVideo.mp4

SIMPLE RESCALING

 

KEEPING ASPECT RATIO

$ ffmpeg -i inVideo.mp4 -vf scale=320:-1 outVideo.mp4

CHOOSING SCALING METHOD

#
# You can specify which algorithm is used for resizing with the -sws_flags option. For example, to use bilinear instead of the default bicubic scaling:
$ ffmpeg -i inVideo.mp4 -vf scale=504:376 -sws_flags bilinear outVideo.mp4
#
# To set multiple flags you can combine them with a + sign. For example:
-sws_flags lanczos+full_chroma_inp
documentation/informatique/linux/ffmpeg/index.1614525519.txt.gz · Dernière modification : de f1sls