Recherche avancée

Médias (91)

Autres articles (54)

  • ANNEXE : Les extensions, plugins SPIP des canaux

    11 février 2010, par

    Un plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
    Les extensions que MediaSPIP nécessite pour fonctionner
    Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
    Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6858)

  • Writing linear float range to openEXR turns out non linear

    3 avril 2022, par Chryfi

    I am writing the linearized depth buffer of a game to openEXR using FFmpeg. Unfortunately, FFmpeg does not adhere to the openEXR file specification fully (like allowing unsigned integer for one channel) so I am writing one float channel to openEXR, which is put into the green channel with this command -f rawvideo -pix_fmt grayf32be -s %WIDTH%x%HEIGHT% -r %FPS% -i - -vf %DEFVF% -preset ultrafast -tune zerolatency -qp 6 -compression zip1 -pix_fmt gbrpf32le %NAME%_depth_%d.exr.

    


    The float range is from 0F to 1F and it is linear. I can confirm that the calculation and linearization is correct by testing 16 bit integer (per pixel component) PNG in Blender compositor. The 16 bit integer data is written like this short s = (short) (linearzieDepth(depth) * (Math.pow(2,16) - 1)) whereas for float the linearized value is directly written to OpenEXR without multiplying with a value.

    


    However, when viewing the openEXR file it doesn't have the same "gradient" as the 16 bit png... when viewing them side by side, it appears as if the values near 0 are not linear, and they are not as dark as they should be like in the 16 bit png.
(And yes, I set the image node to linear), and comparing it with 3d tracking data from the game I cant reproduce the depth and cant mask things using the depth buffer where as with the png I can.

    


    How is it possible for a linear float range to turn out so different to a linear integer range in an image ?

    


  • (ffmpeg) : Failed to read frame size : Could not seek to 1026

    24 mai 2021, par UserUNP

    I was trying to convert Midi files to Mp3 files using timidity and ffmpeg
using this command

    


    python -m timidity play.mid -Ow -o - | ffmpeg -i - -acodec libmp3lame -ab 64k play.mp3


    


    so I can use it in my Discord bot, but whenever I execute the command, it always returns this error that I couldn't understand

    


    [mp3 @ 0x56226d7e0440] Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 0x56226d7e0440] Failed to read frame size: Could not seek to 1026.
play.mp3: Invalid argument


    


    If you have any idea to what this means or how can I fix it then please give me an Answer, thanks !

    


  • vulkan_shaderc : fix error reporting for certain errors

    23 juillet 2024, par Lynne
    vulkan_shaderc : fix error reporting for certain errors
    

    The issue is that shaderc_result_get_num_errors may sometime
    return 0 even when shaderc_result_get_compilation_status returns
    a non-zero error code.
    Since we use the result from the former, override the status
    if it returned 0.

    • [DH] libavfilter/vulkan_shaderc.c