Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (109)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (12625)

  • Using FFMPEG to create animated GIF from series of images and insert text for each image

    11 janvier 2021, par mwcmwc

    I am generating an animated gif from a series of png's labeled img_00.png, img_01.png, etc. I want to insert text to the top right corner of the animated gif for each frame that is generated from the png to display some specific information. For example say I have 3 pngs, img_00, img_01, and img_02...what I want from the gif is :

    


    For frame generated from img_00, display "This is from img_00".
For frame generated from img_01, display "This is from img_01".
For frame generated from img_02, display "This is the last image generated from img_02 !".

    


    So far I have been messing around with drawtext option (assuming framerate=1) :

    


    ffmpeg -f image2 -framerate 1 -i img_%02d.png -filter_complex "drawtext=enable='between(t,0,1)':text='word1':fontsize=24:fontcolor=white:x=w-tw:y=0,drawtext=enable='between(t,1,2)':text='word2':fontsize=24:fontcolor=white:x=w-tw:y=0" out.gif


    


    But I am getting "word1" and "word2" overlapped on top of each other. Is there a better way of doing this or someway to fix drawtext so the overlap doesn't happen ?

    


  • Two Pass encoding FFMpeg C/C++

    21 mai 2018, par Carmine Spizuoco

    From different days I’m trying to implement the two pass encoding h264 in ffmpeg without success. I understand that in the first pass I need to create a text file with the statistics that are in stats_out. This step is realized internally from ffmpeg, so I need set the first pass and have the data in stats_out and after I need go to pass 2.

    For now I’m trying to activate the pass 1 in different way adding the flag in the codecContext :

    CodecCtx->flags |= AV_CODEC_FLAG_PASS1;

    and/or set the option before the creation of context :

    av_opt_set(CodecCtx, "pass", "1", 0);

    but in any way i have the same result, stats_out is always (null).

    Also in the investigation i discovery this FF_API_STATS_BIT that seems to be deprecated :

    if FF_API_STAT_BITS

    /* statistics, used for 2-pass encoding */
    attribute_deprecated
    int mv_bits;
    attribute_deprecated
    int header_bits;
    attribute_deprecated
    int i_tex_bits;
    attribute_deprecated
    int p_tex_bits;
    attribute_deprecated
    int i_count;
    attribute_deprecated
    int p_count;
    attribute_deprecated
    int skip_count;
    attribute_deprecated
    int misc_bits;

    /** @deprecated this field is unused */
    attribute_deprecated
    int frame_bits;

    endif

    So there is i little bit of ambiguity on how to realize this process and the relative posts are too old and not very usefull.

    There is anyone that had experience on it ?

  • Revision 44299 : On ajoute un attribut "class" sur les paramètres d’un élément de menu ...

    8 février 2011, par kent1@… — Log

    On ajoute un attribut "class" sur les paramètres d’un élément de menu permettant par exemple d’ajouter multilang qui permet d’avoir "multilang" fonctionnel sur une entrée de menu et ainsi pouvoir le traduire facilement
    essai sur texte_libre
    On incrémente à nouveau la version