
Recherche avancée
Autres articles (37)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 -
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
Sur d’autres sites (4483)
-
How to use if statement to add color overlay in FFMPEG
7 septembre 2020, par cHiWaffmpeg -i input.mp4 -y -t 10 -vf drawbox=x=0:y=0:w=200:h=200:color='if(1==1\,red\,green)':t=fill output.mp4



I tried to test how can I use if statement to add colored square overlay to a video, but got following error.


Cannot find color 'if(1==1,red,green)'
[AVFilterGraph @ 000002d24a659440] Error initializing filter 'drawbox' with args 'x=0:y=0:w=200:h=200:color=if(1==1,red,green):t=fill'
Error reinitializing filters !
Failed to inject frame into filter network : Invalid argument
Error while processing the decoded data for stream #0:0


-
Add final deprecation notice before archiving
15 février 2021, par JamesMGreeneAdd final deprecation notice before archiving
-
lavfi/drawtext : ignore final LF of textfile.
30 novembre 2020, par Nicolas Georgelavfi/drawtext : ignore final LF of textfile.
A standard text file ends with a final LF.
Without this change, it is interpreted as an empty final line,
and visible with the box option.
The current behavior can be achieved by actually having
an empty line at the end of the file.Fix trac ticket #7948.