
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (66)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
Sur d’autres sites (13749)
-
How to overlay a logo on a video every 60 seconds using ffmpeg ?
17 juin 2024, par Wolf WolfI am trying to overlay a logo on a video every 60 seconds for a duration of 5 seconds using ffmpeg. Here's the command I am using :


ffmpeg -i input.mp4 -i logo.png -filter_complex "[0:v]setpts=PTS-STARTPTS[v0];[1:v]loop=-1:size=1:start=0,setpts=N/(FRAME_RATE*TB)[logo];[v0][logo]overlay=enable='mod(t,60)<5':x=W-w-10:y=H-h-10[out]" -map "[out]" -map 0:a -c:a copy output.mp4



However, I am encountering the following error :




[overlay @ 000002199e0b3f00] [Eval @ 000000f94f9feff0] Invalid chars '<5' at the end of expression 'mod(t,60)<5'

[overlay @ 000002199e0b3f00] Error when evaluating the expression 'mod(t,60)<5' for enable

[AVFilterGraph @ 000002199e098b00] Error initializing filters

Failed to set value '[0:v]setpts=PTS-STARTPTS[v0];[1:v]loop=-1:size=1:start=0,setpts=N/(FRAME_RATE*TB)[logo];[v0][logo]overlay=enable='mod(t,60)<5':x=W-w-10:y=H-h-10[out]' for option 'filter_complex': Invalid argument

Error parsing global options: Invalid argument

I am using ffmpeg version X.XX on [your OS here, e.g., Windows 10].




I want the logo to appear every 60 seconds for 5 seconds at the bottom-right corner of the video.


The input video and logo files are valid and can be processed with simpler ffmpeg commands.


How can I correctly format the ffmpeg command to overlay the logo every 60 seconds without encountering the invalid argument error ?


-
lavfi/life : switch to AV_OPT_TYPE_COLOR
13 mai 2013, par Paul B Mahol -
Methods : Fix dateITA method, avoiding summertime errors
14 janvier 2014, par jzaeffererMethods : Fix dateITA method, avoiding summertime errors
Using arbitrary hour or new Date() will use hour 00:00:00, which cause errors
on summertime changes.Closes gh-773