Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (46)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (11696)

  • gdigrab : Fix hwnd parameter issues

    18 décembre 2023, par Martin Storsjö
    gdigrab : Fix hwnd parameter issues
    

    Converting from an integer to HWND (which is a pointer) requires
    an explicit cast, otherwise Clang errors out like this :

    src/libavdevice/gdigrab.c:280:14 : error : incompatible integer to pointer conversion assigning to 'HWND' (aka 'struct HWND__ *') from 'long' [-Wint-conversion]
    280 | hwnd = strtol(name, &p, 0) ;
    | ^ 

    (With GCC and MSVC, this was a mere warning, but with recent Clang,
    this is an error.)

    After adding a cast, all compilers also warn something like this :

    src/libavdevice/gdigrab.c:280:16 : warning : cast to 'HWND' (aka 'struct HWND__ *') from smaller integer type 'long' [-Wint-to-pointer-cast]
    280 | hwnd = (HWND) strtol(name, &p, 0) ;
    | ^ 

    On Windows, long types are 32 bit, so to get a usable pointer, we
    need to use long long. And interpret it as unsigned long long
    while at it - i.e. using strtoull.

    Finally, right above it, the code triggered the following warning :

    src/libavdevice/gdigrab.c:278:15 : warning : mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement]
    278 | char *p ;
    | ^

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

    • [DH] libavdevice/gdigrab.c
  • Ways to create animations in python ?

    21 mai 2017, par Allison123

    What is the best way to create a small animation in python ?
    So far, I have tried : tkinter and FuncAnimation (from animation in matplotlib- this is what is used in A Student’s Guide to Python for Physical Modeling).

    The goal is to make a set of simple animations, but FuncAnimation is having me install apt-get so that I can get ffmpeg so I can run the animation. It seems like a lot of downloading, which I don’t prefer if there is a similarly powerful alternative.

    If possible, I was hoping to integrate these animations into Pygame at a later time. Will that be possible ?

    YES, this is a subjective question, but I am looking for guidance from experienced python animators. What are the objective strengths and weaknesses of different methods of animating in Python ?

  • Ways to create animations in python ?

    21 mai 2017, par Allison123

    What is the best way to create a small animation in python ?
    So far, I have tried : tkinter and FuncAnimation (from animation in matplotlib- this is what is used in A Student’s Guide to Python for Physical Modeling).

    The goal is to make a set of simple animations, but FuncAnimation is having me install apt-get so that I can get ffmpeg so I can run the animation. It seems like a lot of downloading, which I don’t prefer if there is a similarly powerful alternative.

    If possible, I was hoping to integrate these animations into Pygame at a later time. Will that be possible ?

    YES, this is a subjective question, but I am looking for guidance from experienced python animators. What are the objective strengths and weaknesses of different methods of animating in Python ?