Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque 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 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7962)

  • avcodec/libjxlenc : prevent color encoding from being set twice

    13 avril, par Leo Izen
    avcodec/libjxlenc : prevent color encoding from being set twice
    

    We currently populate the color encoding bundle and then check to see
    if there's an ICC profile to attach, and set the color encoding bundle
    in either case. The ICC profile overrides the color encoding bundle, so
    we should not calculate enum-based color encoding if we have an ICC
    profile present. Fixes several unnecessary warnings from being emitted.

    Signed-off-by : Leo Izen <leo.izen@gmail.com>

    • [DH] libavcodec/libjxlenc.c
  • Ffmpeg color opacity

    19 janvier 2016, par Sandra

    I tried to rotate a video and keep the unused place due to the rotation transparent, to be able to overlay it later and to do that, I suppose that if the color was transparent is will be right ; and in the official page (https://www.ffmpeg.org/ffmpeg-filters.html#rotate) they said that you can give a color that ffmpeg would use in place of unused place due to the rotation of the video. So I tried, relatively to https://www.ffmpeg.org/ffmpeg-utils.html#Color to put a color with these commands

    ffmpeg -i video.mp4 -vf "rotate=PI/6:fillcolor=red@0.0" -acodec copy output.mp4

    and

    ffmpeg -i video.mp4 -vf "rotate=PI/6:fillcolor=red@0x00" -acodec copy output.mp4

    And it doesn’t work. The color remain opaque, and that whatever the value of the opacity (0.0 to 1.0)

    Any of you can know what is happened ?

  • Does FFmpeg video filter(eq filter) color correction work same as function sws_setColorspaceDetails ?

    25 octobre 2019, par Jahwan Oh

    I’m need to use color filter with two different implementation.
    first one is using the function below. with conversion

    double m_brightness = -0.18;
    double m_contrast = 1.45;
    double m_saturation = 1.2;
    SwsContext *swsctx = sws_getCachedContext(NULL, vStreams[1]->codec->width, vStreams[1]->codec->height, vStreams[1]->codec->pix_fmt, dst_width, dst_height, dst_pix_fmt, SWS_BICUBIC, NULL, NULL, NULL);
       int *inv_table, srcrange, *table, dstrange, b, c, s;
       sws_getColorspaceDetails(swsctx, &amp;inv_table, &amp;srcrange, &amp;table, &amp;dstrange, &amp;b, &amp;c, &amp;s);
       b = int((1 &lt;&lt; 16) * m_brightness);
       c = int(c * m_contrast);
       s = int(s * m_saturation);
       ret = sws_setColorspaceDetails(swsctx, table, srcrange, inv_table, dstrange, b, c, s);

    and the other one is using FFmpeg -vf eq color correction on command line.

    ffmpeg -i original.jpg -vf "eq=brightness=-0.18:contrast=1.45:saturation=1.2" -c:a copy original_filter.jpg

    the problem is that I need to have a same result(filtered) with this two tools. with just same brightness/contrast/saturation parameters, it showed different result, so I tried to convert these parameter between these two tools.

    I thought these two color correction work same reading the link below. I’ve tried to convert the swscale filter parameter to ffmpeg -vf eq filter parameter based on the link, but it seems it is not a conversion between them.
    but, it is more like a conversion of m_brightness <—> b.(in the code I’ve attached)
    https://github.com/google/sagetv/blob/71d122229105e164cd410fafed2a5e7483869913/third_party/mplayer/libmpcodecs/vf_scale.c#L393

    you can see the each results with different parameter.

    https://drive.google.com/drive/folders/181_LhkvpB4XbEf05_ecuLoy5nSSEcRiX?usp=sharing

    How can I convert the parameters so that it produce same filtered result ? or is it totally different algorithm ?