Recherche avancée

Médias (91)

Autres articles (97)

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

  • Ecrire une actualité

    21 juin 2013, par

    Pré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 2013

    Puis-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 (5385)

  • ffmpeg add logo and photo and subtitles

    3 janvier 2021, par fedep11

    Hello i need add logo and photo and subtitles to a video.

    


    I have this code

    


    ffmpeg -t 00:00:08 -i "video.mp4" -i photo.jpg -i logo.png -filter_complex "overlay=2700:1850,subtitles=sub.ass:force_style='WrapStyle=0" -an -vcodec libx264 -shortest -r 25 -crf 17 -aspect 16/9 output.mp4


    


    i don't know how to add other filter to scale 50% and center the photo

    


    this is the code to add scaled photo to a video

    


    ffmpeg -t 8 -i "video" -i "photo.jpg" -filter_complex "[1][0]scale2ref=w=oh*mdar:h=ih/2[logo][video];[video][logo]overlay=(W-w)/2:(H-h)/2:format=auto,format=yuv420p" -vcodec libx264 -shortest -r 25 -crf 17 -aspect 16/9 "output.mp4"


    


    i need to combine both. Thanks

    


  • 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