
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (70)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (5243)
-
lavu/opt : switch AV_OPT flags to shift-based formatting
21 septembre 2015, par Rodger Combs -
avcodec/tiff : remove byte based bpp special case
20 octobre 2013, par Michael Niedermayer -
How to rescale image based on long side with ffmpeg ?
10 février 2024, par mj2I want to rescale an image based on the long side of the image.


If I have a landscape format image e.g. 4000x3000px then this is the right command :


ffmpeg -i input.jpg -vf scale=1500:-1 scaled.jpg


If I have an upright format image e.g. 3000x4000px then this is the right command :


ffmpeg -i input.jpg -vf scale=-1:1500 scaled.jpg


Can I do this in one command ? Another option is to check the format manually with ffmpeg but I don't know how.