Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (82)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (13579)

  • Add Watermark ffmpeg full video ? [closed]

    10 février 2023, par Joe Cola

    how to set watermark for full video ? I usually set the watermark only in a certain position, but I want the full video

    


    please help with the command

    


    example watermark

    


    I tried the way but can't find the command, please help

    


  • How to add watermark to the video part of this huge ffmpeg command that adds intro and outro with crossfade ?

    3 juillet 2017, par Jeflopo

    I wrote a command that crossfade merge an intro, an outro, with a video :

    enter image description here

    ffmpeg -i intro.mp4 -i video.mp4 -i outro.mp4 -filter_complex "
    [0:v]trim=start=0:end=9,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[intro];
    [0:v]trim=start=9:end=10,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[firstfadeoutclip];
    [1:v]trim=start=0:end=1,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[firstfadeinclip];
    [1:v]trim=start=1:end=24,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[video];
    [1:v]trim=start=24:end=25,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[secondfadeoutclip];
    [2:v]trim=start=0:end=1,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[secondfadeinclip];
    [2:v]trim=start=1:end=10,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[outro];
    [firstfadeoutclip]format=pix_fmts=yuva420p, fade=t=out:st=0:d=1:alpha=1[firstfadeoutalpha];
    [firstfadeinclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[firstfadeinalpha];
    [secondfadeoutclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[secondfadeoutalpha];
    [secondfadeinclip]format=pix_fmts=yuva420p, fade=t=in:st=0:d=1:alpha=1[secondfadeinalpha];
    [firstfadeoutalpha]fifo[firstfadeoutfifo];
    [firstfadeinalpha]fifo[firstfadeinfifo];
    [secondfadeoutalpha]fifo[secondfadeoutfifo];
    [secondfadeinalpha]fifo[secondfadeoinfifo];
    [firstfadeoutfifo][firstfadeinfifo]overlay[firstcrossfade];
    [secondfadeoutfifo][secondfadeoinfifo]overlay[secondcrossfade];
    [intro][firstcrossfade][video][secondcrossfade][outro]concat=n=5[output];
    [0:a][1:a] acrossfade=d=1 [audio]"
    -vcodec libx264 -map "[output]" -map "[audio]" "output.mp4"

    This huge command works fine.

    But now what I want to do is to add a watermark to the video part :

    [1:v]trim=start=1:end=24,setpts=PTS-STARTPTS,scale=480x360,setsar=sar=16/9[video];

    And I want to do it by merging this command (watermark) into that one above :

    ffmpeg -i "1080p.mp4" -filter_complex "
    movie=logo-wm.png[watermark];
    [watermark][0:V]scale2ref=(1917*iw/1920)/3.5:(322*iw/1920)/3.5[wm][v];
    [v][logo]overlay=main_w-overlay_w-20:20" "output.mp4"

    The whole (1917*iw/1920)/3.5:(322*iw/1920)/3.5 scales the watermark proportionally using the scale2ref= filter. The 1917 is the width of my watermark image, and 322 is the height

    It is overlayed in the top right corner with main_w-overlay_w-20:20

    But I can’t make it work I tried to add it by copying the parameters to the filter of [1:v] input. And by adding another input for the watermark that if I’m right it would be [3:v] instead of using the movie= filter. But I can’t.

    I know that I could do it in two steps, but I would like to do it at once, in just one command.

    May anyone help me to merge them ? Thank you in advance !

  • Add image watermark to FFmpeg video, and display random position and random time period

    2 mars 2023, par lovelovelove

    Add image watermark to FFmpeg video, and display random position and random time period

    


    thank you

    


    random position and random time period
image watermark