Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (34)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (6210)

  • How to enable and run zoompan only after nth frame

    24 novembre 2016, par RSMEENA

    I have to use zoompan on every input image , for different-different duration.
    I don’t know how to enable every zoompan between right frame,
    enable='between(n,x,y)' not working. here my code =>

    [0:v] zoompan=enable:z='if(lte(zoom,1.0),1+0.0009*5*30,max(1.001,zoom-0.0009))':d=205:s=800x800,
       drawtext=enable:fontfile=Oswald-Regular.ttf:text=%{n}:fontcolor=white:fontsize=38:y=H-100-(38)*1:x=w/2-tw/2 [over_0],  

    [1:v] zoompan=enable:z='if(lte(zoom,1.0),1+0.0009*5*30,max(1.001,zoom-0.0009))':d=205:s=800x800 ,
       drawtext=enable:fontfile=Oswald-Regular.ttf:text=%{n}:fontcolor=white:fontsize=38:y=H-100-(th+5)*1:x=w/2-tw/2 [over_1]

    —and some overlay code — " output

  • JSMpeg not able to get stream from RTSP

    20 octobre 2023, par Q.Rey

    i'm trying to get a RTSP stream inside a webpage, but with no success actually.

    



    For this I followed exactly the tutorial of JSMpeg : https://github.com/phoboslab/jsmpeg

    



    With a custom FFMPEG command :

    



    ffmpeg -i "rtsp://myurl/media.smp" \
 -vcodec h264 -f mpegts -codec:v mpeg1video -s 1290x980 -b:v 8000k \
 -r 25 -max_muxing_queue_size 9999 http://localhost:8081/supersecret


    



    My websocket well receive my connection on it.

    



    But my canvas is still a white square :
enter image description here

    



    The weird thing is when I change the websocket url with a false one, in my code, the canvas turn to black.

    



    So I guess that it turn WHITE when it receive something.

    



    Thansk for help

    


  • ImageMagick to crop image based on based on rectangular border color

    3 septembre 2021, par Alvie Mahmud

    I have some images that I would like to crop but hopefully via command line rather than doing each one manually.

    


    I would like to crop the image (I've cropped top half, desaturated other colours and split frames with ffmpeg) based on where there is a border of a certain color (#31393C in this case). For example, I would like this image :
enter image description here
to be cropped like this :
    
enter image description here

    


    I have tried some commands but they aren't working for me unfortunately.

    


    convert image.jpg -bordercolor "#31393C" -border 2x2 -fuzz 10% -trim output.jpg


    


    I have also tried to make the parts that aren't #31393C to be filled with white and then cropping which may potentially work as a solution as I want to improve the ability to use OCR :

    


    convert image.jpg -fill white -fuzz 11% +opaque "#31393c" result.jpg
convert result.jpg -bordercolor white -border 10x10 -fuzz 10% -trim output.jpg


    


    which works somewhat but not perfectly :
enter image description here