
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (105)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (11433)
-
avformat/movenc : handle EAC-3 extension bits for Atmos
3 juin, par nyanmisaka -
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 ?


-
-
hwcontext_vulkan : disable descriptor buffer extension on Intel
12 avril, par Lynne