Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (101)

  • Les sons

    15 mai 2013, par
  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

Sur d’autres sites (12128)

  • Extracting audio from video using fluent-ffmpeg

    12 mars, par Idi Favour

    Im trying to extract the audio from a video, an error is occuring
Error converting file : Error : ffmpeg exited with code 234 : Error opening output file ./src/videos/output-audio.mp3.
Error opening output files : Invalid argument

    


    I use this same directory for my video compression that runs before this one and it works.

    


    ffmpeg()
  .input(url)
  .audioChannels(0)
  .format("mp3")
  .output("./src/videos/output-audio.mp3")
  .on("error", (err) => console.error(`Error converting file: ${err}`))
  .on("end", async () => {
    console.log("audio transcripts");
   
    const stream = fs.createReadStream("./src/videos/output-audio.mp3");
    const transcription = await openai.audio.transcriptions.create({
      file: stream,
      model: "whisper-1",
      response_format: "verbose_json",
      timestamp_granularities: ["word"],
    });
    transcripts = transcription.text;
    console.log(transcription.text);
  })
  .run();


    


  • checkasm/arm : preserve the stack alignment checkasm_checked_call

    12 juillet 2016, par Janne Grunau
    checkasm/arm : preserve the stack alignment checkasm_checked_call
    

    The stack used by checkasm_checked_call_vfp was a multiple of 4 when the
    checked function is called. AAPCS requires a double word (8 byte)
    aligned stack public interfaces. Since both calls are public interfaces
    the stack is misaligned when the checked is called.

    Might fix the SIGBUS error in the armv7-linux-clang-3.7 fate config.

    • [DBH] tests/checkasm/arm/checkasm.S
  • Text backdrop by ass formatting

    14 septembre 2024, par Armen Sanoyan

    I want to add box behind a word using ass subtitles formatting. The box should have border radius. the ass file later will be used by ffmpeg.

    


    I have tried the BorderStyle=3 form stack ansers 1, 2 both of them do not provide a way to get rounded boxes. Also the BorderStyle=4 didn't work for me. In comments of last stack answer I found a possible reason that my libraries can be old, but anyway it doesn't seem that BorderStyle=4 will solve my problem of border radius. There is another way to achieve rounded box link to answer. I didn't figure it out how to install all the libs he explained there. Also the later answer seems to me over complicated. Is there an other way to make the borders of box rounded without suffering and pain ? I also tried drawing the box with Drawing commands like

    


    {\p1}m 0 0 s 100 0 100 100 0 100 c{\p0}


    


    But it still doesn't seem to be the best way to achieve rounded borders.