
Recherche avancée
Autres articles (4)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (2686)
-
ffmpeg : Crop webm file with circular .png mask [closed]
26 mars 2021, par Beneos BattlemapsI tried everything for hours and can get it working by myself. I want to create animated Pen&Paper tokens for virtuale tabletops. I have a .webm video file with 720x720 pixel showing an animation of a render file created out of a png sequence via


ffmpeg -framerate 24 -f image2 -i face.%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p face1.mp4


See here : https://webmshare.com/play/ZxZa0


Now i want to overlay this .webm with an circle image as frame :




and crop the black part so its transparent in the end result as well as keeping the transparent area in the center for the video itself.


So the endresult is from this :




to this :




Can you help me out with that ? If its easier i can split the steps, making first the alpha mask crop via png and adding the circle in it later.


Beste regards in advance
-Ben


-
Revision 8b175679be : Masking intra mode choice adaptively The commit changes to mask available intra
11 octobre 2013, par Yaowu XuChanged Paths :
Modify /vp9/encoder/vp9_onyx_if.c
Modify /vp9/encoder/vp9_onyx_int.h
Modify /vp9/encoder/vp9_rdopt.c
Masking intra mode choice adaptivelyThe commit changes to mask available intra prediction modes for test
based on prediction block size.With this patch, encoding time of CpuUsed 2 reduces from 10% to 20% for
HD clips with a compression drop of 0.2%Change-Id : I65f320f1237c0f5ae3a355bf7caf447f55625455
-
Image mask blur processing problem using ffmpeg
16 avril 2024, par andrew kimI want to apply blur using masking to two or more points in the image. I want to use a circular or other type of blur in ffmpeg rather than a box blur. I wrote the ffmpeg code, but an error continued. When there is only one blur, it works correctly, but when there are two or more blurs, an error occurs. No matter how much I search, I can't figure it out, so I'd like to ask for help.


The ffmpeg code I wrote is as follows.


ffmpeg -i input.mp4 -i mask.png -filter_complex "`
[1:v]scale=200:200,pad=1920:1080:(ow-iw)/1:(oh-ih)/1[pmask1]; `
[1:v]scale=200:200,pad=1920:1080:(ow-iw)/3:(oh-ih)/3[pmask2]; `
[0:v][pmask1]alphamerge,avgblur=10[alf];[0:v][alf]overlay[temp1]; `
[temp1][pmask2]alphamerge,avgblur=10[alf2];[temp1][alf2]overlay[v] `
"-map "[v]" -map 0:a -c:v libx264 -c:a copy -movflags +faststart maskedblur.mp4



The error is as follows.


[mov,mp4,m4a,3gp,3g2,mj2 @ 0000026ed1d4a500] Invalid stream specifier: temp1.
 Last message repeated 1 times
[fc#0 @ 0000026ed1cdc280] Stream specifier 'temp1' in filtergraph description
[1:v]scale=200:200,pad=1920:1080:(ow-iw)/1:(oh-ih)/1[pmask1];
[1:v]scale=200:200,pad=1920:1080:(ow-iw)/3:(oh-ih)/3[pmask2];
[0:v][pmask1]alphamerge,avgblur=10[alf];[0:v][alf]overlay[temp1];
[temp1][pmask2]alphamerge,avgblur=10[alf2];[temp1][alf2]overlay[v]
 matches no streams.
Error initializing complex filters: Invalid argument