
Recherche avancée
Autres articles (68)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (13562)
-
Latest
24 mars 2013, par scottschillerm swf/soundmanager2.swf m swf/soundmanager2_debug.swf m swf/soundmanager2_flash9.swf m swf/soundmanager2_flash9_debug.swf m swf/soundmanager2_flash_xdomain.zip
Latest
-
ffmpeg How to add multiple drawtext to one input video
22 mai 2018, par RavenI need to add two texts to a video. First text appears in the bottom right for the first 6 seconds, and the second text at the center of the video for the last 3 seconds.
Below is my code :
ffmpeg -i input.mp4 -vf drawtext="text='Stack Overflow': fontcolor=white: borderw=2: fontfile=Arial Black: fontsize=w*0.04: x=(w-text_w)-(w*0.04): y=(h-text_h)-(w*0.04): enable='between(t,0,6)'", -vf drawtext="text='Stack Overflow': fontcolor=white: borderw=2: fontfile=Arial Black: fontsize=w*0.04: x=(w-text_w)/2: y=(h-text_h)/2: enable='between(t,7,10)'" -codec:a copy output2.mp4
I don’t get any error running the above code but in the output file, only the second drawtext is applied.
-
Adding a background to an in-video visual progress bar with FFMPEG ?
22 septembre 2023, par Alexei DomUsing the answer to Showing in-video visual progress bar with FFMPEG



I'm trying to give the progress bar itself a background, so for e.g. the bar will be white and the red progress bar over time will cover it.


My first decision was to apply a drawbox filter, so for my purposes the video is 1280 pixels wide and the duration is 6.027 seconds. I've tried


ffmpeg -i uuid_nordvpn.mp4 -vf "color=c=red:s=1280x30[bar];[0][bar]overlay=-w+(w/6.072733)*t:H-h:shortest=1, drawbox=x=0:y=720-30:width=1280:height=30:thickness=fill:color=white" out.mp4


But I got just the white drawbox filter that was drawn on top of the color filter.


The obvious solution was to swap the color and drawbox filter, but that returns an error
Too many inputs specified for the "color" filter
, which I guess means you can only use the color filter at the beginning.

I've also tried applying 2 color filters, the other color filter instead of filling up was going down, but you can't apply 2 color filters, again giving the reason
Too many inputs specified for the "color" filter.


I'm completely lost at this point, how would I give a background to this filter ?