
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (47)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4075)
-
All : Format HTML as per jQuery style guide
6 mai 2014, par nschonniAll : Format HTML as per jQuery style guide
Fixes #1101
Closes #1104 -
lavf : Add an option for avoiding negative timestamps
26 septembre 2012, par Michael Niedermayerlavf : Add an option for avoiding negative timestamps
This is the same logic as is invoked on AVFMT_TS_NEGATIVE,
but which can be enabled manually, or can be enabled
in muxers which only need it in certain conditions.Also allow using the same mechanism to force streams to start
at 0.Signed-off-by : Martin Storsjö <martin@martin.st>
-
FFmpeg - add an animated gif (cropped by mask) to the video
11 mars 2021, par zeromoduleI have 3 inputs :


- 

- Video file : https://file.io/6jtUlnZ7TGmT
- Animated GIF with transparent background https://i.imgur.com/Vo3KHZm.gif
- Mask file (BW) the same resolution as the video https://i.imgur.com/YJXUUrZ.png








I want to put the image on the video, but throw out all GIF pixels that are transparent in the mask (replace them with transparent ones).









My current command, without masking (it works fine) :


ffmpeg -i input.mp4 -ignore_loop 0 -i animation.gif \
-filter_complex "[1]scale=700x700[scaled_gif];\
[0][scaled_gif]overlay=50:30:shortest=1" \
-codec:a copy output.mp4



UPDATE #1


I managed to get closer to my goal with this command :


ffmpeg -y -i input.mp4 -loop 1 -i mask.png \ 
-filter_complex "[1:v]alphaextract[mask]; \
movie=animation.gif,scale=1920x1080[scaled_gif]; \
[scaled_gif][mask]alphamerge[masked]; \
[0:v][masked]overlay=0:0" \
-c:a copy output_masked.mp4



but it has 2 problems :


- 

- GIF loses it's transparency. Transparent pixels become white.
- GIF plays only once (i.e. no loop)






Output : https://file.re/2021/03/11/outputmasked/