Recherche avancée

Médias (91)

Autres articles (75)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • How to bring text to leftside and 30% from bottom up in output video using ffmpeg drawtext

    18 avril 2020, par Guna

    I got some code from stack overflow which generates text animation.

    



    In this code, the text is coming in the middle. I want the text on left side and 30 to 40% up from bottom.

    



    I tried changing x and y parameters but it wasn't successful.

    



    below is the code

    



    ffmpeg -i output_with_logo1.mp4 -vf "[in]drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको।': fontcolor=red: fontsize=60: x=(w-text_w)/2: y=if(lt(t\,3)\,(-h+((3*h-200)*t/6))\,(h-200)/2):enable='between(t,2.9,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=yellow: fontsize=60: x=if(lt(t\,4)\,(-w+((3*w-tw)*t/8))\,(w-tw)/2): y=(h-100)/2:enable='between(t,3.5,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=blue: fontsize=60: x=if(lt(t\,5)\,(2*w-((3*w+tw)*t/10))\,(w-tw)/2): y=h/2:enable='between(t,4.5,50)',


    



    drawtext=fontfile=Mangal.ttf: text='कॉपर कैन्यन, सिएरा माद्रे, मेक्सिको ।': fontcolor=black: fontsize=60: x=(w-text_w)/2: y=if(lt(t\,6)\,(2*h-((3*h-100)*t/12))\,(h+100)/2):enable='between(t,5.5,50)'[out]" out101.mp4


    


  • How to dynamically adjust white box padding size with text on top

    22 décembre 2020, par scob

    I'm currently using PIL and a Python FFmpeg wrapper to create a white box with text on top of it :

    


    enter image description here

    


    I know text wrapping can be done using subtitles (which I'm fine with), but how can I make the padding automatically adjust size depending on how much text there is, using only the FFmpeg command-line ? Is it possible ?

    


    Using a Python wrapper and PIL is kinda inefficient for me, and I'd like to know how to do it via the command line.

    


    Thanks

    


  • FFMMEP Trim video then add watermark with multiple text

    20 novembre 2016, par Iura Gaitur

    I want to trim a video then convert a video using FFMPEG and place a watermark with multiple texts on it. I have commands for trimming :

    ffmpeg -i 1.mp4 -ss 00:00:03 -t 00:00:08 -async 1 -c copy output1.mp4

    and for watermark with text placing

    ffmpeg -i 1.mp4 -i watermark_small.png -filter_complex "[0:v][1:v]overlay=10:10, drawtext=enable='between(t,0,12)':fontfile=font.ttf:text='Some text' : fontcolor=black: fontsize=18: box=1: boxcolor=yellow@0.5:boxborderw=5: x=(w-text_w)/1.15:y=30, drawtext=enable='between(t,14,22)':fontfile=font.ttf:text='Next text' : fontcolor=black: fontsize=18: box=1: boxcolor=yellow@0.5:boxborderw=5: x=(w-text_w)/1.15:y=30" -codec:v libx264 -preset ultrafast output1.mp4

    Can someone help me to combine them together ?