Recherche avancée

Médias (91)

Autres articles (107)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 ) (...)

Sur d’autres sites (14424)

  • ffmpeg scale logo size according to video size

    5 août 2017, par Teddybugs

    I have a ffmpeg command which is working fine to inject 2 image on the top left and bottom right of the video.

    ffmpeg -i ori.mp4 -y -i 1.png -i 2.png -filter_complex \
    "[0:v][1:v]overlay=20:20[bkg]; \
    [bkg][2:v]overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20" \
    -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out1.mp4

    this command working fine with video that has large size like 720x480, however when the input video size is 320x240 size, it will overlay half of the video size.

    1.png size is : 160x100

    2.png size is : 341x44

    any idea how to combine the scale2ref into above command ?

    been trying solution from this link so far no luck.

    update 1 : i found this command from here

    ffmpeg -i ori.mp4 -y -i 1.png \
    -filter_complex "[1:v][0:v]scale2ref=iw*0.25:-1[logo1][base]; \
    [base][logo1]overlay=20:20[v]" -map [v] -map 0:a \
    -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out2.mp4

    that command work fine to get one image to scale.

    update 2 :

    ffmpeg -i ori.mp4 -y -i 1.png -i 2.png \
    -filter_complex "[1:v][0:v]scale2ref=iw*0.25:-1[logo1][base];\
    [base][logo1]overlay=20:20[v];[2:v][0:v]scale2ref=iw*0.30:-1[logo2][base2];\
    [base2][logo2]overlay=(main_w-overlay_w)-20:(main_h-overlay_h)-20[v]" \
    -map [v] -map 0:a -codec:v libx264 -crf 18 -preset slow -pix_fmt yuv420p \
    -c:a aac -strict -2 out4.mp4

    tried above, nothing work. got error like this

    Filter overlay has an unconnected output

    any help would be great

  • flac : Move flac functions shared between libraries to flac common code

    10 juillet 2012, par Diego Biurrun

    flac : Move flac functions shared between libraries to flac common code

  • flac : Move flac functions shared between libraries to flac common code

    10 juillet 2012, par Diego Biurrun

    flac : Move flac functions shared between libraries to flac common code