Recherche avancée

Médias (91)

Autres articles (47)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (6046)

  • ffmpeg add overlay image to command with already drawtext

    29 octobre 2020, par fedep11

    I have two ffmpeg commands I would like to add an overlay image to both :

    


    ffmpeg -i "video.mp4" -filter_complex "drawtext=textfile=sub.txt:fontfile=SourceSansPro-Bold.ttf:fontcolor=white:fontsize=100: box=1: boxcolor=black@0.5: boxborderw=5: x=200:y=h-th-200:enable='between(t,1,9)',fade=t=in:start_time=1:d=1:alpha=1,fade=t=out:start_time=8:d=1:alpha=1[fg];[0][fg]overlay=format=auto,format=yuv420p" -an -vcodec libx264 -r 25 -crf 17 -aspect 16/9 out.mp4

ffmpeg -i "video.mp4" -filter_complex "color=black@0:100x100,format=yuva444p[c]; [c][0]scale2ref[ct][mv0];[ct]setsar=1,split=4[t1][t2][t3][t4];[t1]drawtext=textfile=1.txt:fontfile=SourceSansPro-Bold.ttf:fontsize=100:fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: x=200:y=h-th-200,fade=t=in:st=1:d=1:alpha=1,fade=t=out:st=7:d=1:alpha=1[txta1];[t2]drawtext=textfile=2.txt:fontfile=SourceSansPro-Bold.ttf:fontsize=100:fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: x=200:y=h-th-200,fade=t=in:st=9:d=1:alpha=1,fade=t=out:st=15:d=1:alpha=1[txta2];[t3]drawtext=textfile=3.txt:fontfile=SourceSansPro-Bold.ttf:fontsize=100:fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: x=200:y=h-th-200,fade=t=in:st=17:d=1:alpha=1,fade=t=out:st=24:d=1:alpha=1[txta3];[t4]drawtext=textfile=4.txt:fontfile=SourceSansPro-Bold.ttf:fontsize=100:fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: x=200:y=h-th-200,fade=t=in:st=26:d=1:alpha=1,fade=t=out:st=28:d=1:alpha=1[txta4];[mv0][txta1]overlay=x='0':y='0':shortest=1[mv1];[mv1][txta2]overlay=x='0':y='0':shortest=1[mv2];[mv2][txta3]overlay=x='0':y='0':shortest=1[mv3];[mv3][txta4]overlay=x='0':y='0':shortest=1" -an -vcodec libx264 -r 25 -crf 17 -aspect 16/9 out.mp4


    


  • ffmpeg drawtext overlay movie in one command

    22 juin 2012, par knishua

    is it possible to have movie overlay and drawtext in one ffmpeg command.

    i tried command but it gives error

    [drawtext @ 03B2BBC0] Key '"fontsize' not found.
    [drawtext @ 03B14F20] Error parsing options string: '"fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text=shotName:x=(w)/5:y=(h)/1"'Error initializing filter 'drawtext' with args '"fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text=shotName:x=(w)/5:y=(h)/1"'
    Error opening filters!

    command :

    ffmpeg -i D:/imagesequence/background.jpg  -vf "movie='D\:/imagesequence/dpx/thumbnail.jpg' [link1]; [in][link1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/3 [int];[int][link1]drawtext=\"fontsize=28:fontcolor=White:fontfile='/Windows/Fonts/arial.ttf':text='shotName':x=(w)/5:y=(h)/1\"[out]" D:/imagesequence/dpx/final_with_text_mod_04.jpg

  • How to justify text in drawtext in ffmpeg ?

    26 décembre 2019, par Milan Tejani

    I am adding text watermarks to the video using ffmpeg command and I’ve added three lines already using drawtext in ffmpeg command. So, it works perfectly and adds three lines at the bottom left corner of the video.

    In the first line there are 25 characters, the second line contains 7 characters, and the third line contains 3 characters. These three lines are located from the left to right.

    So, I want to justify 2nd and 3rd line’s texts to the center as per the first line width.

    What I get :

    Hello World Ffmpeg

    hello

    hel

    what I want :

    Hello World Ffmpeg

         hello

          hel

    here command i used :

    ffmpeg -i input.mp4 -vf "[in]drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='Hello World Ffmpeg':x=(w)/2:y=(h)/2, drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='hello':x=(w)/2:y=((h)/2)+25, drawtext=fontsize=20:fontcolor=White:fontfile='roboto.ttf':text='hel':x=(w)/2:y=((h)/2)+50[out]" -y test_out.mp4