Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (63)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12418)

  • lavd/xcbgrab : do not try to create refcounted packets.

    23 octobre 2016, par Nicolas George
    lavd/xcbgrab : do not try to create refcounted packets.
    

    The framework will allocate a buffer and copy the data to it,
    that takes time. But it avoids constently creating and
    destroyng the shared memory segment, and that saves more time.

    On my setup,
    from 200 to 300 FPS at full screen (1920×1200),
    from 1400 to 3300 at smaller size (640×480),
    similar to legacy x11grab and confirmed by others.

    Plus, shared memory segments are a scarce resource,
    allocating potentially many is a bad idea.

    Note : if the application were to drop all references to the
    buffer before the next call to av_read_frame(), then passing
    the shared memory segment as a refcounted buffer would be
    even more efficient, but it is hard to guarantee, and it does
    not happen with the ffmpeg command-line tool. Using a small
    number of preallocated buffers and resorting to a copy when
    the pool is exhausted would be a solution to get the better
    of both worlds.

    • [DH] libavdevice/xcbgrab.c
  • How to use NSProcessInfo's operatingSystemVersion property in place of gestaltSystemVersionMinor and gestaltSystemVersionBugFix

    28 octobre 2016, par Michael Whiteacre

    Newbie here, but longtime frequenter of this essential resource.

    Using :
    MacBook Pro (Retina, 13-inch, Early 2015).
    Processor : 3.1 GHz Intel Core i7
    Memory : 16 GB 1867 MHz DDR3
    Running Yosemite 10.10.5

    I’m attempting to compile my own Perian- and FFmpeg-based FFusion.component (for Quicktime), for 10.11 using Xcode 7.2.1, and in this relatively simple project, as in others, am trying to move away from Gestalt. The original FFusion-RJVB.xcodeproj I’m employing is Xcode-3.2 compatible.

    I have yet to find a clear, definitive solution to what must appear a painfully simple problem to you all. Here is the Gestalt version :
    `

    #if TARGET_OS_MAC
    static int GetSystemMinorVersion()
    {
       static SInt32 minorVersion = -1;
       if (minorVersion == -1)
           Gestalt(gestaltSystemVersionMinor, &minorVersion);

       return minorVersion;
    }

    static int GetSystemMicroVersion()
    {
       static SInt32 microVersion = -1;
       if (microVersion == -1)
           Gestalt(gestaltSystemVersionBugFix, &microVersion);

       return microVersion;
    }
    #endif

    `
    I’ve tried what seems like endless variations of NSProcessInfo i.e.

    ([[NSProcessInfo processInfo] respondsToSelector:@selector(operatingSystemVersion)])

    but I’m afraid I’m not formatting it correctly to achieve my ends. It just hasn’t ’clicked’ in my head yet, so Im hoping someone can give me a push when I see the difference between the gestalt version, my stumbling attempts, and the correct way.

    Many thanks.

  • fftools/ffmpeg_mux_init : Free pts on error

    27 avril 2024, par Michael Niedermayer
    fftools/ffmpeg_mux_init : Free pts on error
    

    Fixes : CID1538863 Resource leak

    Sponsored-by : Sovereign Tech Fund
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] fftools/ffmpeg_mux_init.c