Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (62)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (13158)

  • drawbox around text with dynamic height in ffmpeg

    9 mars 2018, par Anuj TBE

    I’m working on a ffmpeg script to draw text over image/video.

    The text will be wrapped inside a box with full width and dynamic height.

    I have tried two approach to achieve this.

    1. using drawbox

    ffmpeg \
    -loop 1 -i /path_to_file/file.jpg \
    -t 5 -vf
    "scale=320:320,\
    drawbox=y=0\
    :color=#00FF29\
    :width=iw\
    :height=72\
    :t=max,\
    drawtext=text=TBE\
    :fontcolor=#F71DFF\
    :fontsize=82:x=(w-text_w)/2\
    :y=text_h/2"
    /path_to_file/new_file.mp4 -y

    Which renders following three examples with different value of fontsize

    ffmpeg drawbox example

    2. using box of drawtext

    ffmpeg -i in3.png -t 5 -vf drawtext=" \
    text='Stack Overflow': fontcolor=white: fontsize=54: box=1: boxcolor=black@0.5: \
    boxborderw=10: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy output_new.mp4

    enter image description here

    Half of the requirement is being fullfiled by drawbox (full width box) and half using drawtext box (box height according to text).

    How can I achieve both (full box width with dynamic height according to height of text) in ffmpeg ?

  • Put text into AVFrame

    19 février 2024, par Michal

    I use the FFmpeg library and I have an object of AVFrame which uses the format AV_PIX_FMT_YUV420P. I'd like to put a text on such frame in a given location, font size etc.

    


    I cannot find a proper API in FFmpeg library to do it, there is a function drawtext, but it's a static function inside a .c file (not a header).

    


    How to do it with FFmpeg and if it's not possible, what other library I should use instead ?

    


  • warning : shared library text segment is not shareable

    24 mars 2017, par S. Le Galloudec

    I explain my problem :

    My project is an android application using C++ with NDK.

    I have to include the library ffmpeg into my project.

    I’ve built ffmpeg with this tuto : https://github.com/WritingMinds/ffmpeg-android (I’ve looked at the script, it looks like it’s built for a static link)

    My cmakelist.txt is working, no error. But when i run my program, i got this message :
    (i’ve cut it or it’s too long)

    [1/1] Linking CXX shared library ../../../../build/intermediates/cmake/debug/obj/x86/libgestionnaire.so

    /local/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld : warning : shared library text segment is not shareable

    /local/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld : error : treating warnings

    Best Regards