
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 (39)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (8420)
-
ffmpeg video aspect ratio for new Instagram API
3 juillet 2019, par reinierkorsFor the new Instagram API videos that are uploaded need to be :
- Between 4:5 and 16:9 (aspect ratio range)
- Between 0.8 and 1.78 (numeric aspect ratio range)
So, for example, an aspect ratio written as 4:5 has a value of 4/5 = 0.8.
Any aspect ratio within is fine. How could I make it so that ffmpeg checks if it’s between those ratios and if not, rescales it (using some kind of padding).
I’ve tried :
ffmpeg -i video.mp4 -c copy -bsf:v h264_metadata=sample_aspect_ratio=0.8 video2.mp4
This does not seem to be doing anything.
ffmpeg -i video.mp4 -vf "scale=w=640:h=640:force_original_aspect_ratio=decrease,pad=w=640:h=640:x=(iw-ow)/2:y=(ih-oh/2):color=white" video2.mp4
This only scales to 640x640 and adds white padding.
Any ideas ? Thanks !
-
can ffmpeg detect monochromatic parts of a video and conditionally set filter parameters accordingly
15 juillet 2021, par SilentfuryI have input videos that switch back and forth between coloured and monochrome/grey parts (frames that only contain luma information). Is there a way in ffmpeg to detect whether the current frame is coloured or monochrome and is it possible to use this information to change the parameters of a filter ?


As an example I want to apply the mpdecimate filter and I want it to use a "hi" parameter of 50 (per pixel) for coloured frames and 20 for monochrome frames.


So in pseudo code I want something something like


-vf mpdecimate=hi=if(coloured,64*50,64*20)


but obviously the "coloured" condition doesnt work that way.


Is that somehow achievable ?


PS :
Concernig the detection of monochrome frames I have identified two filters that have a related functionality but I am unable to use the information in another filter :


- 

- "geq" can get a good idea of frame colors using cbsum(x,y) and/or crsum(x,y)
- "signalstats" can use the property "SATMAX" to tell about the color level of a frame






Is there any way to use the resulting number of any of the two above filters in another filter ?


-
10.32.0
25 septembre 2021, par blueimp10.32.0