
Recherche avancée
Autres articles (51)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (5433)
-
Batch overlay logo to directory of video files with scale watermark in percentage of video resolution
28 septembre 2017, par Aariyan mindhelp me how to add auto scale watermark in percentage of video resolution code in this ?
for %%I in ("C:\Users\demo\*.mp4") do ffmpeg.exe -i "%%I" -filter_complex "movie=180n.png[watermark];[watermark][0]scale2ref=350*iw/2140:42*iw/2140[wm][v];[wm]setsar=1[logo];[v][logo] overlay=10:10:enable=not(between'(t,30,210)')[watermark]" -map "[watermark]" -map 0:a -codec:v libx264 -codec:a copy "C:\Users\files\%%~nI.mp4"
pause -
`ffmpeg` `delogo` filter leaving traces at the logo locations
26 mars 2023, par nlblack323I'm using
ffmpeg
delogo
filter to remove these logos

using :


ffmpeg -i vid.mp4 -vf "delogo=x=27:y=158:w=344:h=93, delogo=x=44:y=839:w=531:h=77" out.mp4



but this results in large noticeable marks at both logo locations. Besides, the replaced parts are terribly blurry and barely close to the actual colors. Is there a way to prevent or improve these results ?


-
ffmpeg fade in animation and logo overlay in a single step
24 octobre 2018, par Amin BaigI have the following commands to create a fade in effect with a series of images and then place a water mark png using the lut filter on the generated video :
//Creating the fade in video :
ffmpeg -t 5 -i 1.jpg -t 5 -i 2.jpg -t 5 -i 3.jpg -t 5 -i 4.jpg -i 5.jpg -filter_complex "[0:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,fade=t=out:st=4:d=1[v0];[1:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v1];[2:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v2];[3:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v3];[4:v]zoompan=z='min(zoom+0.0015,1.5)':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v4];[v0][v1][v2][v3][v4]concat=n=5:v=1:a=0,format=yuva444p[v]" -map "[v]" -s "480x600" -t 40 series_out_fade_v2_5images.mp4
After the video is created I use the following command to place a water mark logo over it :
//Water mark
ffmpeg -y -i series_out_fade_v2_5images.mp4 -i optimaken_logo.png -filter_complex "[1]lut=a=val*0.5[a];[0][a]overlay=0:0" -c:v libx264 -an v4_output.mp4
my questions are :
- How can I achieve both in a single command
- How do I scale overlay proportionally so that the height of the water mark is always 65 pixels and the width is scaled
proportionally - Explicitly tell where to place the logo to the top right corner with a padding of 10 pixels for both x and y
- How do I scale overlay proportionally so that the height of the water mark is always 65 pixels and the width is scaled
- How can I achieve both in a single command