
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
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 (65)
-
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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10441)
-
How to combine 2 images with ffmpeg ?
7 octobre 2018, par senopsI have 2 images which I’d like to place one on top of the other. I made this line :
ffmpeg -i "C:\image_1.jpg" -i "C:\image_2.jpg" -q:v 1 -filter_complex "[0:v]scale=800:-1[v0];[v0][1:v]vstack" C:\combined.jpg
and it works when they have the same resolution 800x800 and when the resolution of the first one is smaller than
image_2
.Is it possible to add some mathematics instead of 800 to make this line suitable for any type of resolutions when the first one is bigger or the second is bigger (width and height separately) ?
I want to find a maximal dimension and scale another image to it preserving aspect ratio. If the aspect ratio of 2 images is not the same fill the holes with plain white (255,255,255).
I suppose the mathematics should be like this :
w1, h1 - width and height of the 1st img
w2, h2 - width and height of the 2st img
w1', h1', w2', h2' - width and height of resulted images
if w1 max{w1, h1, w2, h2} -> if w2/h2>=1 -> w2'=w1; h2'=h2*w2'/w2
if w1 max{w1, h1, w2, h2} -> if w2/h2<1 -> h2'=w1; w2'=w2*h2'/h2
if h1 max{w1, h1, w2, h2} -> if w2/h2>=1 -> w2'=h1; h2'=h2*w2'/w2
if h1 max{w1, h1, w2, h2} -> if w2/h2<1 -> h2'=h1; w2'=w2*h2'/h2
if w2 max{w1, h1, w2, h2} -> if w1/h1>=1 -> w1'=w2; h1'=h1*w1'/w1
if w2 max{w1, h1, w2, h2} -> if w1/h1<1 -> h1'=w2; w1'=w1*h1'/h1
if h2 max{w1, h1, w2, h2} -> if w1/h1>=1 -> w1'=h2; h1'=h1*w1'/w1
if h2 max{w1, h1, w2, h2} -> if w1/h1<1 -> h1'=h2; w1'=w1*h1'/h1If the two images i1 and i2 are 800x800 and - 436x800 resp :
the combined image will be 800x1600.If the two images i1 and i2 are 300x400 and 200x500 resp :
max(300,400,200,500)=500 ; 300x400 -> (300*500/400=375)x500 ; 200x500 -> 200x500. Align the smallest one (200x500) to center, fill the gaps (2 gaps : (375-200)/2=88) with white (255,255,255). -
ogg : relax demuxer conformance checks
20 juin 2013, par Luca Barbato -
Merge commit ’8029af586fd5a5f2a0803001f9eff386e5545fe2’
7 février 2015, par Michael NiedermayerMerge commit ’8029af586fd5a5f2a0803001f9eff386e5545fe2’
* commit ’8029af586fd5a5f2a0803001f9eff386e5545fe2’ :
dxva2_hevc : properly fill the scaling list structureSee : b11994593ae4c3856db735800f24d38293838759
Merged-by : Michael Niedermayer <michaelni@gmx.at>