
Recherche avancée
Autres articles (23)
-
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 ) (...) -
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 (4435)
-
compare a png logo with video except png's transparent background pixels
24 décembre 2022, par Thm LeeI want to find frames with the logo image from video, and to concat theses frames without commercials for getting ad-free video.
I tried this first by using ffmpeg & jpg logo image.


ffmpeg -i input.mp4 -loop 1 -i logo.jpg -an -filter_complex crop=47:25:639:24,"blend=difference:shortest=1,blackframe=95:60" -f null -



And it works, but in the case by case, less accurate with blackframe setting number.
So, for getting more accuracy I tried png logo image with transeparent background.


ffmpeg -i input.mp4 -loop 1 -i logo.png -an -filter_complex crop=47:25:639:24,"blend=difference:shortest=1,blackframe=95:60" -f null -



But on the contrary of my idea, the results came out worse than jpg logo. It seems that the cause is why ffmpeg compare the png's transparent background part pixels too with video.


Is there a way to compare png logo with video except png logo's transparent part pixels ?


I'd appreciate your advice, thank you.


-
+new logo sprite
24 avril 2011, par Scott Schiller+ demo/_image/logo-sprite.png +new logo sprite
-
Batch overlay logo to directory of video files
30 mars 2016, par AHCI am using this command in windows 8 to overlay a logo (mywatermark.png , 400x200) to a video file :
ffmpeg -i E:\source\video01.mp4 -i E:\logo\mywatermark.png -filter_complex "[1:v]scale=100:50 [ovrl], [0:v][ovrl
]overlay=W-w-10:H-h-10[watermark]" -map "[watermark]" -map 0:a -codec:v libx264 -preset veryfast -crf 18 -codec:a copy E:\output\video01.mp4as you can see I am first rescaling my logo to 100:50 pixels, and then overlaying it to the bottom right corner.
This is working for me.My question is :
How can I repeat this to all of the videos in the same directory, adding the same logo to all ?
I want to save the output video files same as the original, of course in different folder. However, not to forget that my source video files are of different quality and resolution.
How can I add a parameter to the command line to proportionnally scale the logo in regard to the video file resolution ?I am afraid that if I don’t do this, the logo will be small in one file and bigger in another.
thanks a lot