
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (38)
-
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 (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (6845)
-
Trying to crop an image in ffmpeg using alphamerge but produces wrong alpha
12 septembre 2021, par Alex StylI am using alphamerge in order to crop an image within a circle.


What I have so far is :


ffmpeg -f lavfi -i "color=c=white:size=240x240" -i avatar.png -i mask.png -filter_complex \
 "[1][2]alphamerge[img]; \
 [0][img]overlay[out]" -c:v png -map "[out]" -pix_fmt rgba -t 5 -y out.mp4 2>&1



with avatar.png and mask.png respectively being :




This produces the following output (1 frame of the output video) :




which is unexpected, given the original input is much darker than this.


How can I crop the 'avatar.png' using the 'mask.png' so that the output is the avatar.png cropped in a circle and keeping the same alpha ?


PS : The important bit here is for me to be able to crop the original image and maintaining the correct colors/apha of the original image. If there is an other way of doing this (other than alphamerge) I am happy to hear it.


-
flac : Fix channel order for mono files.
28 juin 2014, par Erik de Castro Lopoflac : Fix channel order for mono files.
* The default channel mask for mono files was 0x0001 (front left) but it
makes more sense to use 0x0004 (front center) for such files.* Also FLAC will accept not only mono WAV files with 0x0001 mask, but also
with 0x0002 (requested at https://sourceforge.net/p/flac/bugs/390/)
and 0x0004 (e.g. SoX creates mono files with this mask).* The comment about channel support was updated.
* The error message
"Use —channel-map=none option to store channels in current order ; FLAC files
must also be decoded with —channel-map=none to restore correct order."
is misleading : FLAC never changes the order of channels.
Decoding with this options also sets the channel mask of the resulting WAV
file to 0. Without this option the mask is equal to the value of
WAVEFORMATEXTENSIBLE_CHANNEL_MASK tag.Patch-from : lvqcl <lvqcl.mail@gmail.com>
-
Strange error [adding watermark to flv video with ffmpeg on linux centos 6]
20 juillet 2012, par igorI have tried to do the job with following code :
ffmpeg -i /home/igordr/video.flv -vf "movie=/home/igordr/wm.jpg [watermark]; [in][watermark] overlay=main_w/2-overlay_w/2:main_h/2-overlay_h/2 [out]" /home/igordr/outputvideo.flv
Also tried :
ffmpeg -i /home/igordr/video.flv -b:a 300k -ar 22050 -t 10 -f flv -s 352x288 -vf "movie = /home/igordr/wm.png [watermark]; [in][watermark] overlay =0:0 [out]" /home/igordr/out.flv
I get errors :
Unrecognized option 'vf'
Unrecognized option 'b:a'Also, I am interested, how I can add just one big image, before video starts, without watermark, and does it possible ?
How can i check ffmpeg version, and install new one if it's old ?