
Recherche avancée
Autres articles (25)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (5274)
-
FFmpeg Overlay Zoom + Static Blurred Background
17 mai 2021, par John MatleyI am trying to make a video from a single image which will take the image and (regardless of height/width) will stretch to fit the whole screen (1920x1080) and be blurred. Next I want to take the same image, keeping the aspect ratio, zoom out to 100% for the entire 10 second video.


The code I wrote does most of this fine, except it also zooms the blurred background. I just want a static blurred background with a floating zooming original image over the top.


Here's what I have so far :


ffmpeg -y -i image.jpg -filter_complex "[0]scale=-1:1080[in];[0]scale=1920:1080,boxblur=10:10,setsar=1[bg];[bg][in]overlay=(W-w)/2:(H-h)/2,scale=7680x4320,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0008))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=1920x1080:d=600[output]" -map "[output]" -t 10 -shortest -pix_fmt yuva420p -c:v h264_qsv -r 60 video.mp4



All I want is to keep the blurred background static at 100% whilst the main image zooms out to 100% over the 10 second duration..


Any help would be appreciated.


-
avfilter/vf_ciescope : Fix undefined behavior in rgb_to_xy() with black
5 juin 2021, par Michael Niedermayer -
avformat/matroskadec : Use rounded down duration in get_cue_desc() check
10 mars 2022, par Michael Niedermayeravformat/matroskadec : Use rounded down duration in get_cue_desc() check
Floating point is evil, it would be better if duration was not a double
Fixes : Infinite loop
Fixes : 45123/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6725052291219456Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>