Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (69)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

  • Finding File Matches & Variable Assignment using a .BAT Script

    6 octobre 2019, par A Person — ,

    I am trying to assign a file to a variable in a and then also assign another 2 files into anoter variable.

    However, I am having an issue.

    From research, I found how I can do the assigning but does anyone know how I can do the below.

    From a folder or text file, (either is fine), find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.

    The problem I am having is trying to find the matching 2 audio files to the video.

    The video file is named as :

    PAV_PRG_13683Highc450277201906251802090353.m2v

    Audio 1 is :

    PAV_PRG_13683High01c450211201906251802090376.wav

    Audio 2 is :

    PAV_PRG_13683High00c450211201906251802090368.wav

    The file name matches until it sees the word High. Everything after High is not needed, (it is just a random string), so trying to match is an issue.

    Is there a way to find the match by comparing everything before High.

    Also as I will be using the variable and putting them through to merge, is there way to do it so that when the ffmpeg command has completed, it moves to the next matching files and assigns them to the variable.

    The files are store in 2 folders, one folder has all the video files *.m2v and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios, (left right).

    is there any help on this subject, I have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.

  • 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