
Recherche avancée
Autres articles (60)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9836)
-
How ffmpeg efficiently compare a png logo with video except png's transparent background pixels ?
17 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 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, and efficiently find frames with logo in the position of video ?


I'd appreciate your advice, thank you.


-
FFMPEG - chaining - Video, audio, ASS subtitle, then overlay logo ?
24 novembre 2020, par Flip BoothI have this to use a video, replace audio, and add subtitles :




ffmpeg -vsync 0 -hwaccel cuda -an -i "E :\video.mp4" -vn -i
"E :\audio.mp3" -vf "subtitles=E~:\sub.txt" -map 0:v -map 1:a -b:v
4M -maxrate 4M "E :\output.mp4" -y




I could not figure out how to add one more to the chain, such as adding a logo at the bottom right


What I've tried so far, after hours (still not working)




ffmpeg -vsync 0 -hwaccel cuda -an -i "E :\video.mp4" -vn -i
"E :\audio.mp3" -i "E :\logo.png" -vf "subtitles=E~:\sub.txt" -map
0:v -map 1:a -preset ultrafast -filter_complex
"[1]format=rgba,colorchannelmixer=aa=0.5[logo] ;[0][logo]overlay=(W-w)/2 :(H-h)/2:format=auto,format=yuv420p" "E :\output.mp4" -y




-
ffmpeg efficiently compare a png logo with video except png's transparent background pixels
17 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.