Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (44)

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

  • Google Lato Font Display discrepancies between platforms/software [closed]

    5 juin 2024, par CRAIG

    Using Google's Lato font with 400 weight, is giving me some inconsistent results between Photoshop/Web on MacOS and Linux Imagemagick & Linux ffmpeg.

    


    I have printed out some text on my linux server using the font using both imagemagick (v6.9.10-68) and ffmpeg's (v6.0) drawtext feature and in both cases, I get some extra space between the T and the e. (Image below)

    


    At first I was only testing ffmpeg and thought it was related to drawtext, but now that imagemagick is doing the same, I am thinking it may be somehow related to how the server is managing the font ?

    


    I did download the exact same font to test on my Mac and installed it, but I still get the original photoshop results I was getting before. So I don't think it is inherently the font unless I missed a step. I did completely uninstall the font and then install the downloaded one to be sure.

    


    However, the same word, font, font-size combo used in Photoshop and on the web does not produce the same space between the T and the e.

    


    Here is an image I put together showing the results :

    


    enter image description here

    


    For reference, here is the imagemagick command :

    


    convert -size 900x900 xc:black -font /fonts/Lato:400.ttf -pointsize 261.6 -fill white -gravity center -annotate +0+0 'Text' testoutput.png

    


    And the ffmpeg command :

    


    /usr/local/bin/ffmpeg -f  lavfi  -i  color=c=black@0.0:s=953x953:r=30:d=5,format=rgba  -filter_complex  "drawtext=expansion=none:enable='between(t,0,5)':fontfile='/fonts/Lato\:400.ttf':fontcolor=0xffffffff:fontsize=294:text='Text':x=(w-text_w)/2+0:y=476.5-(max_glyph_a)+(294/2.8)"  -copyts  -threads  1  -c:v  png  -pix_fmt  rgba  -movflags  faststart  -r  30  -t  8  -y  testoutput.mov

    


  • avcodec/mips : Improve hevc uni-w copy mc msa functions

    21 septembre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc uni-w copy mc msa functions
    

    Load the specific destination bytes instead of MSA load and pack.
    Pack the data to half word before clipping.
    Use immediate unsigned saturation for clip to max saving one vector register.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_mc_uniw_msa.c
    • [DH] libavutil/mips/generic_macros_msa.h
  • sending variables to subprocess call with spaces - python 2.7

    24 novembre 2015, par Tandy Freeman

    I want to add ffmpeg options to a variable and later use it in a subprocess call. If the variable contains one word, all is well, but if it contains more than one, I get errors. I am working on a larger script and I will need to have extra options such as this for certain codecs. How can I get this working ?

    The following works perfectly for me :

    import subprocess
    import sys

    video_codec = 'libx264'
    output = sys.argv[1] + '.mkv'
    subprocess.call(['ffmpeg',
               '-i',sys.argv[1],
               '-c:v',video_codec,
               '-c:a','copy',        
               output])    

    Once I introduce new options/spaces to video_options as such :

    video_codec = "'libx264', '-pix_fmt', 'yuv420p'"

    I get an ffmpeg error :

    Unknown encoder ''libx264', '-pix_fmt', 'yuv420p''

    If I remove the double quotes and just use
    video_codec = ’libx264’, ’-pix_fmt’, ’yuv420p’

    I get a python error :

    Traceback (most recent call last):
     File "testo.py", line 10, in <module>
       output])<br />
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
       return Popen(*popenargs, **kwargs).wait()
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
       errread, errwrite)
     File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
       raise child_exception
    TypeError: execv() arg 2 must contain only strings
    </module>