Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (59)

  • 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

  • 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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (8498)

  • How to make a Magick.NET watermark ? [closed]

    26 janvier 2021, par sibbasa

    Has anyone worked with Magick.NET ? Do I need to transfer this code to C# Magick.NET ? I can't find examples and documentation of Magick.NET. :( Can someone help me ?

    


        logo=../../logo/Moto_Gymkhana_transparent.png
    Frames=15
    width=842
    height=595
    mkdir tmp
    for (( n=0; n<=90; n+=$(expr $(( 90/$Frames )))))
    do
    oWidth=$(printf %.$2f $(echo "$width*(c($n*4*a(1)/180))+1" | bc -l))
    shadowShift=$(printf %.$2f $(echo "15*(s($n*4*a(1)/180))+1" | bc -l))
    convert -size 850x600 xc:transparent -background none \( -alpha set -channel A -evaluate add -50% $logo -geometry $oWidth\ x$height\! \) -gravity center -composite -depth 8 ./tmp/$n.png
    convert tmp/$n.png \( +clone -background '#cccf' -shadow 100x8+$shadowShift-3 \) -background none  -compose Dst_Over -layers merge -gravity center -depth 8 tmp/logo$(expr $(( 1000+n ))).png
    convert tmp/$n.png \( +clone -background '#cccf' -shadow 100x8-$shadowShift-3 \) -background none -compose Src_Over -layers merge -gravity center -flop tmp/logo$(expr $(( 1800-n ))).png
    convert tmp/$n.png \( +clone -background '#cccf' -shadow 100x8+$shadowShift-3 \) -background none  -compose Src_Over -layers merge -gravity center -flop tmp/logo$(expr $(( 2000+n ))).png
    convert tmp/$n.png \( +clone -background '#cccf' -shadow 100x8-$shadowShift-3 \) -background none -compose Dst_Over -layers merge -gravity center tmp/logo$(expr $(( 2800-n ))).png
    done
    ffmpeg -pattern_type glob -i 'tmp/logo*.png' -pix_fmt argb -vcodec qtrle -r 30 rotatingLogo.mov
    ffmpeg -loop 1 -pattern_type glob -i 'tmp/logo1000.png' -pix_fmt argb -vcodec qtrle -r 30 -t 3 stillLogo.mov
    rm list.txt
    for (( i=0; i<20; i+=1 ))
    do
    echo file 'stillLogo.mov' >> list.txt
    echo file 'rotatingLogo.mov' >> list.txt
    done
    ffmpeg -f concat -i list.txt -c copy logoWithRotation.mov


    


  • Aligning multiple words vertically with drawtext & ffmpeg

    26 mai 2023, par CRAIG

    I am needing to vertically align several drawtext chained commands that are of various font sizes off of a center point, but in a way where similar fonts/sizes will appear to be correctly aligned off of their baselines.

    


    The $centerline is a vertical top positioned line that theoretically is the vertical center that each text would sit upon regardless of total text height/font size so even differing fonts of differing sizes will look good together.

    


    But the max_glyph_a is to ensure that the same fonts with the same font size will sit on the same baseline. I would think this would do it, but no, it's off vertically.

    


     $y = '(' . $centerline . '+(text_h/2)-max_glyph_a)';


    


    I can't wrap my noggin around this. Any ideas ?

    


  • How to add a watermark using FFmpeg ? [duplicate]

    19 février 2018, par eRROR.AuX

    This question already has an answer here :

    How to add watermark to this code :

    $shel = shell_exec(“$ffmpeg_b -y -i $video_file_full_path -vcodec
     libx264 -preset {$pt->config->convert_speed} -s 640×360 -crf 24
     $video_output_full_path_360 2>&1”);