Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (54)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

  • HTML5 audio and video support

    13 avril 2011, par

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

Sur d’autres sites (9355)

  • lavc/dxvenc : improve compatibility with Resolume products

    30 mai, par Emma Worley
    lavc/dxvenc : improve compatibility with Resolume products
    

    Improves compatibility with Resolume products by adding an additional
    hashtable for DXT color+LUT combinations, and padding the DXT texture
    dimensions to the next largest multiple of 16. Produces identical
    packets to Resolume Alley in manual tests.

    Signed-off-by : Emma Worley <emma@emma.gg>

    • [DH] libavcodec/dxvenc.c
    • [DH] tests/ref/fate/dxv3enc-dxt1
  • arm : vp9itxfm16 : Make the larger core transforms standalone functions

    24 février 2017, par Martin Storsjö
    arm : vp9itxfm16 : Make the larger core transforms standalone functions
    

    This work is sponsored by, and copyright, Google.

    This reduces the code size of libavcodec/arm/vp9itxfm_16bpp_neon.o from
    17500 to 14516 bytes.

    This gives a small slowdown of a couple tens of cycles, up to around
    150 cycles for the full case of the largest transform, but makes
    it more feasible to add more optimized versions of these transforms.

    Before : Cortex A7 A8 A9 A53
    vp9_inv_dct_dct_16x16_sub4_add_10_neon : 4237.4 3561.5 3971.8 2525.3
    vp9_inv_dct_dct_16x16_sub16_add_10_neon : 6371.9 5452.0 5779.3 3910.5
    vp9_inv_dct_dct_32x32_sub4_add_10_neon : 22068.8 17867.5 19555.2 13871.6
    vp9_inv_dct_dct_32x32_sub32_add_10_neon : 37268.9 38684.2 32314.2 23969.0

    After :
    vp9_inv_dct_dct_16x16_sub4_add_10_neon : 4375.1 3571.9 4283.8 2567.2
    vp9_inv_dct_dct_16x16_sub16_add_10_neon : 6415.6 5578.9 5844.6 3948.3
    vp9_inv_dct_dct_32x32_sub4_add_10_neon : 22653.7 18079.7 19603.7 13905.3
    vp9_inv_dct_dct_32x32_sub32_add_10_neon : 37593.2 38862.2 32235.8 24070.9

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/arm/vp9itxfm_16bpp_neon.S
  • Anomalie #4598 (Fermé) : PHP 8 : Resource vs GdImage object problem.

    4 novembre 2020

    GD ne retourne plus une "resource", mais une instance de GdImage.

    Ça fait planter une partie des filtres images dans SPIP.
    Notamment s’il y a des tests avec is_resource()

    Exemple :

    Warning : Trying to access array offset on value of type bool in [...]ecrire/inc/filtres_images_lib_mini.php on line 1607 à 1610
    

    Qui provient de grosso modo :
    [(#CHEMINun_fichier.png|image_applatirico)]

    Docs

    - https://php.watch/versions/8.0/gdimage
    - La correction chez WP : https://core.trac.wordpress.org/ticket/50833

    Avec la solution proposée :

    Note that in PHP 7.2 and older, instanceOf operator requires an object. If you need to make your code function across PHP versions older than 7.3 through PHP 8.0, you will need an additional is_object() check :

    - if (is_resource($image))
    + if (is_resource($image) || (is_object($image) && $image instanceOf \GdImage))