
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (70)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (8181)
-
Is it possible to add an outline/border/edge to a person in a chroma-key video ? [closed]
19 juillet, par Mouaad Abdelghafour AITALII hope you're doing well. Is it possible to use FFmpeg to add an outline to a chroma-keyed video, like in the images below ? My goal is to blend a background video with a foreground video, where the foreground has a white outline.






Here’s my current code that blends the background and foreground videos by removing the chroma key and replacing it with the background. I want to keep this functionality but add a white outline effect around the foreground video.


Thank you so much in advance for your help.


public static String overlayVideo(String backgroundCroppedPath,
 String foregroundVideoPath,
 String overlayedVideoPath,
 double fgDurationSec,
 OutputAudioSource audioSource) {

 // Format duration to 2 decimal places
 String duration = String.format(Locale.US, "%.2f", fgDurationSec);

 String bgInput = "-stream_loop -1 -i \"" + backgroundCroppedPath + "\"";
 String fgInput = "-i \"" + foregroundVideoPath + "\"";

 String filterComplex =
 "[0:v]trim=duration=" + duration + ",setpts=PTS-STARTPTS[bg];" +
 "[1:v]colorkey=0x01fe01:0.3:0.2,setpts=PTS-STARTPTS[fg];" +
 "[bg][fg]overlay=format=auto[outv]";

 String audioMap = (audioSource == OutputAudioSource.FOREGROUND)
 ? "-map [outv] -map 1:a?"
 : "-map [outv] -map 0:a?";


 return "-y " + bgInput + " " + fgInput +
 " -filter_complex \"" + filterComplex + "\" " +
 audioMap + " " +
 "-t " + duration + " " +
 "-c:v libx264 -crf 18 -preset ultrafast -pix_fmt yuv420p " +
 "\"" + overlayedVideoPath + "\"";}



-
How can i add a dynamic timestamp showcasing the timeleft of a mp4 to a mp4 video using python (FFMPEG) ? [closed]
11 août 2022, par GloomyShepherdI prefer to avoid subproccesing if possible and utilize the ffmpeg-python module.


-
avcodec/cbrt_tablegen : speed up dynamic table creation
25 novembre 2015, par Ganesh Ajjanagaddeavcodec/cbrt_tablegen : speed up dynamic table creation
On systems having cbrt, there is no reason to use the slow pow function.
Sample benchmark (x86-64, Haswell, GNU/Linux) :
new :
5124920 decicycles in cbrt_tableinit, 1 runs, 0 skipsold :
12321680 decicycles in cbrt_tableinit, 1 runs, 0 skipsReviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>