
Recherche avancée
Autres articles (34)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (11015)
-
FFMPEG : How do I set the transparency color of an animated GIF for overlaying on a video ?
8 novembre 2017, par Jonathan LegerI have a video clip that I’ve converted to an animated GIF with ffmpeg. I would like to overlay that animated GIF onto a video clip. The problem is I can’t figure out how to set the transparency color of the GIF. I want the solid black background of the GIF to be transparent.
ffmpeg -i video.mp4 output.gif
That’s what I’m doing to created the animated GIF. Again, looks great. I just need to add black (#000000) as the transparent color of the GIF.
Thanks !
-
FFMPEG creating video which have blinking opacity overlay
13 juillet 2020, par Nikhil SolankiI am creating video which has an overlay of black color which is continuously changing opacity from 0.0 to 1.0(which means blinking). So, I am setting color as input and set it with
blend=all_mode='overlay':all_opacity=0.5
full command :

ffmpeg -i combine2.mp4 -loop 1 -i image1.png -i song.mp3 -f lavfi -i "color=black:s=540x960" -t 20 -filter_complex "[0]split=2[color][alpha]; [color]crop=iw/2:ih:0:0[color]; 
[alpha]crop=iw/2:ih:iw/2:ih[alpha]; [color][alpha]alphamerge[v1];
[1]scale=540:960, setsar=1[v2];
[3]scale=540:960, format=yuv420p, loop=-1:size=2048, fade=t=out:st=1:d=1[b];
[v2][b]blend=all_mode='overlay':all_opacity=0.5[out];
[2]showfreqs=s=540x50:mode=line:ascale=log:colors=red:win_size=540[v3];
[out][v3] overlay=main_w-overlay_w:main_h-overlay_h-10, trim=0:20[v4];
[v4][v1] overlay=1" output_video2.mp4 -y



Using this command I am trying looping opacity but, its not work. Also
fade=t=out
is useless here ! So, what to do for blinking the layer black with opacity ?

-
Can I reduce two ffmpeg commands to one ?
23 mai 2022, par plztrial4meI want to find black at the bottom of the video and take that frame as an origianl full size image.


Currently, it is done with two commands.


1. ffmpeg -i input.mp4 -an -filter_complex "crop=y=in_h/2:h=in_h/2,blackdetect=d=0.03:pic_th=0.99" -f null null
// output
// [blackdetect @ 00000253dd5d4880] black_start:40.5405 black_end:40.5739 black_duration:0.0333667

2. ffmpeg -ss 40.5405 -i input.mp4 -vframes 1 -vsync vfr img.png



If black is found in multiple frames at 1st command, I repeat 2nd command many times.


Can I reduce two commands to one ?