Recherche avancée

Médias (91)

Autres articles (38)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

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

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (4630)

  • avutil/tx_template : Move function pointers to const memory

    22 octobre 2022, par Andreas Rheinhardt
    avutil/tx_template : Move function pointers to const memory
    

    This can be achieved by moving the AVOnce out of the structure
    containing the function pointers ; the latter can then be made
    const.
    This also has the advantage of eliminating padding in the structure
    (sizeof(AVOnce) is four here) and allowing the AVOnces to be put
    into .bss (dependening upon the implementation).

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavutil/tx_template.c
  • ffmpeg - Access elements of AVCodecContext

    9 avril 2018, par Hamed

    I want to access some members of my AVCodecContext *av_ctx in my program. It is fine when I compile it in 32bit version, But when I change it to 64bit this elements act like they been shifted.

    For example, I want to get av_ctx->coded_width and av_ctx->coded_height (sometimes they are different from av_ctx->width and av_ctx->height) and store them in some variables. Now when I debug this program in 32bit version it’s Ok, but in 64bit version this values are wrong and when I check my structure I can see the next two elements (av_ctx->gop_size and av_ctx->pix_fmt) has the values that I want.

    I checked AVCodecContext declaration on avcodec.h and it (in comments above structure declaration) says :

    Please use AVOptions (av_opt* / av_set/get*()) to access these fields from user applications.

    I think this might be the right way to get these elements but I don’t know what is this AVOptions, I searched it but couldn’t find what is it exactly and how can I use it.

  • avformat/matroskaenc : Avoid allocation for Cues

    30 décembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Avoid allocation for Cues
    

    Up until now, the Matroska muxer would allocate a structure containing
    three members : The segment offset, a pointer to an array containing Cue
    (index) entries and a counter for said array. It is unnecessary to
    allocate it separately and it is unnecessary to contain the segment
    offset in said structure, as it duplicates another field contained in
    the MatroskaMuxContext. This commit implements the corresponding
    changes.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c