Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (46)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (3427)

  • avfilter/vf_ocr : add white space to whitelist

    18 mars 2021, par Dominic Mayers
    avfilter/vf_ocr : add white space to whitelist
    

    Fixes #9151. The current version of libavfilter/vf_ocr.c does not have white
    space in the default whitelist. But it is recommanded to include white
    space. See https://github.com/tesseract-ocr/tesseract/issues/2923

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavfilter/vf_ocr.c
  • ffmpeg convert white color to alpha

    11 janvier 2021, par tony

    Hello i took a picture with my camera :a drawing of a square frame on a white paper ; i'm trying to convert the white to transparent and keep the black color frame.

    &#xA;

    So i started making 1 palette with only 2 colors to make the colors uniform and 1 palette to add the transparency

    &#xA;

    ffmpeg -f lavfi -i "color=color=white:100x100" -f lavfi -i "color=color=black:100x100" -filter_complex "[0][1]hstack" -frames:v 1 blackwhite.png`&#xA;ffmpeg -i blackwhite.png -filter_complex "[0]split[a][b];[a]palettegen[pal1];[b]palettegen=reserve_transparent=on:transparency_color=white[pal2]" -map [pal1] palette1.png -map [pal2] palette2.png&#xA;

    &#xA;

    then i mapped the image png of the frame to convert the white to transparent and overlayed the result to a red background

    &#xA;

    ffmpeg -i image.png -i palette1.png -i palette2.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&#xA;

    &#xA;

    the png mapped to the first palette (as a test) comes as it should be, pure black and white,the second comes with no transparency at all and covers the background&#xA;what am i doing wrong ?

    &#xA;

  • ffmpeg convert white background to transparent

    7 janvier 2021, par tony

    Hello 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.

    &#xA;

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

    &#xA;

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

    &#xA;

    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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;