
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (106)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (15007)
-
A Beginner’s Guide to Omnichannel Analytics
14 avril 2024, par Erin -
Revision 33365 : ajout d’un modèle pour afficher les tags d’un auteur (necessite le plugin ...
28 novembre 2009, par brunobergot@… — Logajout d’un modèle pour afficher les tags d’un auteur (necessite le plugin nuage)
-
How to implement spring animation (mass, tension, friction) in FFmpeg zoompan filter instead of linear interpolation ?
29 mai, par Mykyta ManuilenkoI'm trying to create a zoom-in and zoom-out animation using FFmpeg's zoompan filter, but I want to replace the linear interpolation with a spring animation that uses physics parameters (mass, tension, friction).


My input parameters :


"zoompan": {
 "focusRect": {
 "x": 1086.36,
 "y": 641.87,
 "width": 613,
 "height": 345
 }, 
 "easing": {
 "mass": 1,
 "tension": 120,
 "friction": 20
 }
}



Current working linear animation :


ffmpeg -framerate 25 -loop 1 -i input.png \
 -filter_complex "\
 [0:v]scale=6010:3380,setsar=1,split=3[zoomin_input][hold_input][zoomout_input]; \
 [zoomin_input]zoompan= \
 z='iw/(iw/zoom + (ow - iw)/duration)': \
 x='x + (3400 - 0)/duration': \
 y='y + (2009 - 0)/duration': \
 d=25:fps=25:s=1920x1080, \
 trim=duration=1,setpts=PTS-STARTPTS[zoomin]; \
 [hold_input]crop=1920:1080:3400:2009,trim=duration=4,setpts=PTS-STARTPTS[hold]; \
 [zoomout_input]zoompan=\
 zoom='if(eq(on,0),iw/ow,iw/(iw/zoom + (iw-ow)/duration))':\
 x='if(eq(on,0),3400,x + (0-3400)/duration)':\
 y='if(eq(on,0),2009,y + (0-2009)/duration)':\
 d=25:fps=25:s=1920x1080, \
 trim=duration=1,setpts=PTS-STARTPTS[zoomout];
 [zoomin][hold][zoomout]concat=n=3:v=1:a=0[outv]" \
 -map "[outv]" \
 -crf 23 \
 -preset medium \
 -c:v libx264 \
 -pix_fmt yuv420p \
 output.mp4



Notes :


- 

-
It creates a perfectly straight zoom path to the specific point on the screen (similar to pinch-zooming on a smartphone - straight zooming to the center of the focus rectangle)


-
To improve the quality of the output, I upscale it beforehand








What I want to achieve :


Instead of linear interpolation, I want to implement a spring function with these physics parameters :


- 

- mass : 1
- tension : 120
- friction : 20








Note that these params can be changed.


Also, I want to preserve a perfectly straight zoom path to the specific point on the screen (similar to pinch-zooming on a smartphone).


Question :


How can I properly implement a spring animation function in FFmpeg's zoompan filter ?


-