
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (50)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7706)
-
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 ?