
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (37)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (4092)
-
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.


-
FFMPEG Compilation and Video Thumbnail Issues [on hold]
2 janvier 2016, par P. PaulI have compiled FFMPEg on a Linux, Centos machine according to the guide in here https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu , and the auto video thumbnail creation command in here https://trac.ffmpeg.org/wiki/Create%20a%20thumbnail%20image%20every%20X%20seconds%20of%20the%20video
The problems are...
1- When I use
ffmpeg
orffmpeg -version
command to check if ffmpeg has been installed I get the error message, "Command not found". But when I check for ffmpeg directory "~/ffmpeg_sources
" is found and the machine says, "is a directory".2- Also, I did a test and upload video to the site to see if the video’s thumbnail will be automatically generated, but it didn’t show any thumbnail.
Any help would be greatly appreciated.
Thanks in advance !
-
Diagonal Split using ffmpeg
8 juillet 2017, par JeffinI am trying to acheive the following effect using ffmpeg
I have tried multiple options , but failed so far,
I have referred the following questions , not happening for me
- FFmpeg : Add alpha channel to a video using a PNG mask
- FFMPEG Crop with side by side merge
- https://superuser.com/questions/916431/ffmpeg-filter-to-boxblur-and-greyscale-a-video-using-alpha-mask?rq=1
I have three videos but i have somewhat acheived the diagonal split for two videos using the following code , but still couldnt get the output for three videos or four
ffmpeg -i input0 -i input1 -filter_complex \
"[1:v][0:v]blend=all_expr=if(gt(X\,Y*(W/H))\,A\,B)" output