
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
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" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (9024)
-
White space changes and adding thanks statement to header comment
23 août 2010, par brandonaaronm jquery.mousewheel.js White space changes and adding thanks statement to header comment
-
White space changes and adding thanks statement to header comment
23 août 2010, par Brandon Aaronm jquery.mousewheel.js White space changes and adding thanks statement to header comment
-
ffmpeg convert white background to transparent
7 janvier 2021, par tonyHello i took a picture of a framed sheet with my camera and i'm trying to convert the white background to transparent without using the colorkey filter. It is meant to be for a video using a number of frames overlayed to a static background but i started with only one png to see if it works.


So i started making 1 palette with only 2 colors with -f lavfi (black and white) and 1 palette to add the transparency


ffmpeg -i blackwhite.png -filter_complex "[0:v]split[a][b];[a]palettegen=max_colors=4[out1];\
 [b]palettegen=max_colors=4:reserve_transparent=on:\
 transparency_color=#FFFFFF[out2]" \
 -c:v png \
 -map [out1] paletteNormal.png \
 -map [out2] paletteTransparent.png 



then i mapped the png that i want to convert to the first palette to make uniform colors and then to the second to add the transparency and i overlayed the result to a background image that should be red


ffmpeg -i image.png -i paletteNormal.png -i paletteTransparent.png -i background.png \
 -filter_complex "[0:v][1:v]paletteuse=dither=bayer[a],\
 [a]split[a1][a2]; \
 [a1][2:v]paletteuse=alpha_threshold=128[c];[3:v][c]overlay[d]" \
 -map [a2] -c:v png out.png \
 -map [d] -c:v png out1.png



the png mapped to the first palette comes as it should be, pure black and white
the second comes with no transparency at all and covers the background
i tried different combinations like to make the second palette of 255colors..... nothing


what am i doing wrong ? i know it can be done
i went to this site and i made an alpha channel in 5 seconds with a lot of grief and rage.linkOfPain


p.s for a video from png frames what codec should i use ?