Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (58)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12620)

  • ffmpeg efficiently compare a png logo with video except png's transparent background pixels

    17 décembre 2022, par Thm Lee

    I 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.

    


  • FFMPEG - chaining - Video, audio, ASS subtitle, then overlay logo ?

    24 novembre 2020, par Flip Booth

    I 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

    


    


  • How ffmpeg efficiently compare a png logo with video except png's transparent background pixels ?

    17 décembre 2022, par Thm Lee

    I 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.