
Recherche avancée
Autres articles (69)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (6513)
-
How to apply zoompan filter on GIF using FFMPEG
21 juin 2021, par Pradeep KumarI am creating a video using images with audio length using FFMPEG. In which i have following inputs a background image, a overlay gif, text overlay png file and a watermark png image. I want to add a zoom in out animation effect on
overlay.gif
file. The animation effect is working fine But the GIF is not working as expected, it is showing as an image. This is working fine with the jpeg/png file. How can i achieve this so GIF is working as expected ?

I am using below command.

This command also change the shape of the GIF.

ffmpeg -loop,1,-i,background.jpg,-ignore_loop,0,-i,overlayfirst.gif,-loop,1,-i,textOverlay.png,-i,watermark.png,-i,audio.mp3,-filter_complex,[1]scale=493:493,zoompan=z='if(lte(mod(on,60),10),zoom+0.0020,zoom-0.0020)':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':d=200:s=493x493,geq=lum='p(X,Y)':a='st(1,pow(min(W/2,H/2),2))+st(3,pow(X-(W/2),2)+pow(Y-(H/2),2));if(lte(ld(3),ld(1)),255,0)',rotate=0.06*PI*t:c=black@0.0:ow='hypot(iw,ih)':oh=ow[b];[2]scale=375:375,rotate=0.06*PI*t:c=black@0.0:ow='hypot(iw,ih)':oh=ow[pic2];[3]scale=100:50[watermark];[0:v][b]overlay=(W-w)/2:(H-h)/2[over1],[over1][pic2]overlay=(W-w)/2:(H-h)/2[pic3],[pic3][watermark]overlay=(W-120):(H-60),scale=830:830,format=yuv420p,-ss,00:00:00,-to,00:00:07,-c:v,mpeg4,-b:a,3M,-c:a,aac,-b:a,192k,-q:v,1,-shortest,output.mp4



I also checked this link


Please help me. Thanks in advance

-
Generate a .JSON file in After Effects or Premiere ?
9 avril 2021, par RyanI am working on a video template app where users can pick a video template and add their images as background layer and render a .mp4 video.


Each template which I upload to the server is a Zip file which consists of 4 elements
1 : Background Video
2 : Source Images
3 : Output Video
4 : .JSON file


I am a motion designer and not good with code, however when I check the .JSON file, I can tell that its holding some sort of animation data, I can see the text pointing towards the source images and the background video and a bunch of other text data which I think is basically animating the source images.


Now being a motion designer, I can make some really nice animation overlays and simply replace it with the BACKGROUND VIDEO element and yes it works. And I can make as many animation templates I want using this one .JSON file.


However (This is where the limitation starts), even though I can have really exciting overlay animations, the base source images are just 3 images fading in and out, and this data is coming from the .JSON file.


What would be really nice, is if I could some how create/generate my own .JSON files, this way I can have the source images animate however I like (Position, Scale, Rotate) but I have no clue how this .JSON can be generated.


This link has the main files which make up one template. You can check the .JSON file and how it works with other elements.
One Template Files


-
Passing ffmpeg command containing % through Python subprocess
20 février 2021, par GregHI'm trying to build a GUI with Tkinter where a set of images is converted, via press of a button, to an .mp4 video.


When I run the following from the command line, all is well :


> "ffmpeg -r 5 -i ptimage%03d -crf 20 animation.mp4"



However, in Python, the following gives me an error that I think is related to passing the
%
in the argument :

commandString = "ffmpeg -r 5 -i ptimage%03d -crf 20 animation.mp4"
args = shlex.split(commandString)
p = subprocess.run(args)



The error I get is
ptimage%03d: No such file or directory
. I'm 99% sure I'm running the command from the right directory ; when I run the same command replacingptimage%03d
withptimage000.jpg
, a specific image the list, I get a (really short) video successfully.

I've tried escaping the
%
with\%
, but that doesn't help.

Any ideas ?