Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (111)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (11184)

  • Evolution #3054 (En cours) : Intégrer les fichiers de langue fr_fem

    13 septembre 2013, par Suske -

    Pour les explications : http://thread.gmane.org/gmane.comp.web.spip.zone/33524

    Les fichies ont été postés sur spip-trad, je les mets en pièce jointe et m’auto attribue le ticket mais si quelqu’un passe par là : ne pas hésiter. Sinon ce sera fait dans les jours qui viennent et avant la prochaine version de toutes façons.

  • 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