Recherche avancée

Médias (91)

Autres articles (79)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (5958)

  • avutil/common : add av_rint64_clip

    1er novembre 2015, par Ganesh Ajjanagadde
    avutil/common : add av_rint64_clip
    

    The rationale for this function is reflected in the documentation for
    it, and is copied here :

    Clip a double value into the long long amin-amax range.
    This function is needed because conversion of floating point to integers when
    it does not fit in the integer’s representation does not necessarily saturate
    correctly (usually converted to a cvttsd2si on x86) which saturates numbers
    > INT64_MAX to INT64_MIN. The standard marks such conversions as undefined
    behavior, allowing this sort of mathematically bogus conversions. This provides
    a safe alternative that is slower obviously but assures safety and better
    mathematical behavior.
    API :
    @param a value to clip
    @param amin minimum value of the clip range
    @param amax maximum value of the clip range
    @return clipped value

    Note that a priori if one can guarantee from the calling side that the
    double is in range, it is safe to simply do an explicit/implicit cast,
    and that will be far faster. However, otherwise this function should be
    used.

    avutil minor version is bumped.

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavutil/common.h
    • [DH] libavutil/version.h
  • build : Allow generating dependencies as a side-effect of assembling

    13 octobre 2016, par Diego Biurrun
    build : Allow generating dependencies as a side-effect of assembling
    

    (Cherry-picked from libav commit 3c0efbd03349ae68d3a25a082222652a102e3fd4)

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] configure
    • [DH] ffbuild/common.mak
  • Best way to record a HTML Canvas/WebGL animation server-side into a video ?

    19 novembre 2022, par Abhinav

    I have a set of animations which I can make in Canvas (fabric.js) or WebGL (three.js). I need to record them automatically, server-side, through a script and output a video file.

    &#xA;&#xA;

    The animations include :

    &#xA;&#xA;

      &#xA;
    1. Pictures
    2. &#xA;

    3. Videos (with audio)
    4. &#xA;

    5. Other animations/effects
    6. &#xA;

    &#xA;&#xA;

    I have researched a lot during last few months on this.

    &#xA;&#xA;

    Results
    &#xA;1. Use PhantomJS + FFMPEG
    &#xA;Run HTML Canvas animations on headless browser(PhantomJS) and record with FFMPEG. Here the issue is PhantomJS supports neither WebGL nor Video element. http://phantomjs.org/supported-web-standards.html

    &#xA;2. Use Websockets to send data back to server using DataURL
    &#xA;Here again, we will need to run the animations on browser (which we can't because we have to do everything on server).

    &#xA;3. Use node-canvas
    &#xA;This is a library by TJ Holowaychuk which allows rendering HTML Canvas on Node.js. But it has its own limitations plus I haven't really explored this field much. &#xA;(If someone could shed more light on this library)

    &#xA;&#xA;

    If anyone has done it before or can guide me somewhere useful.
    &#xA;All we need to do is use some data to create animations and record it into a video, everything on server side.

    &#xA;