Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (60)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (6854)

  • FFMPEG live webcam output on VLC, getting delay of 7-8 seconds output on VLC [on hold]

    6 juin 2016, par Smtiesh Tamboli

    I am new to FFMPEG, I am trying to render webcam output on VLC using FFMPEG.

    I used below command

    ffmpeg -re -f dshow -i video="Integrated Webcam" -c:v copy -bsf:v h264_mp4toannexb -vcodec libx264 -f mpegts udp ://127.0.0.1:9000

    On VLC, I am using Network Stream to play video

    udp ://@:9000

    While playing I am getting delay of 7 to 8 seconds on VLC.

    how to view live webcam output using FFMPEG on VLC without delay ?

    Thank You.

  • How to make a video which can play/loop infinite times using FFMPEG command in Android ?

    4 juin 2020, par Mit Shah

    Here are some details : I have a main video and I want a view (gif or video) on it which plays infinite times till video ends. Here is my current code snippet which executes successfully which plays my overlay video one time only.

    



    cmd = new String[]{"-y", "-i", String.valueOf(mVideoPath), "-i", tempVideoPath, "-filter_complex", overlay.toString(), "-codec:a", "copy", "-preset", "ultrafast", String.valueOf(file)};


    



    Where tempVideoPath is the path of my overlay video.

    


  • How to overlay two audio files Node JS FFmpeg

    27 avril 2023, par Markusha Boec

    My code works only once correctly and starts to work correctly only after I restart my program. The first time the code outputs the correct audio, which is superimposed one on top of the other, and the second time only one audio with a duration of 15 seconds. I'm trying to get two audio files to help Node.js with FFMPEG. Do you have any ideas how to fix it ? My code is shown below.

    


    

    

    async songMerge(bg_id, text) {
    const bgMusic = await this.airtable
      .table("BackgroundMusic")
      .select({ view: "View", filterByFormula: `ID = '${bg_id}'` })
      .firstPage();
    if (!bgMusic.length) throw new Error("is not found");

    const result = await fetch(
      `https://api.elevenlabs.io/v1/text-to-speech/VR6AewLTigWG4xSOukaG`,
      {
        method: "POST",
        headers: {
          accept: "audio/mpeg",
          "xi-api-key": "token",
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          text,
          voice_settings: {
            stability: 0,
            similarity_boost: 0,
          },
        }),
      }
    );

    const audioBuffer = await result.arrayBuffer();
    const filePath = path.join(__dirname, "../../../", "audio.mp3");

    await fs.writeFileSync(filePath, Buffer.from(audioBuffer));

    const test = await fetch(`${bgMusic[0].fields.AudioLink}`);
    const audioBufferr = await test.arrayBuffer();

    const filePathh = path.join(__dirname, "../../../", "test.mp3");
    await fs.writeFileSync(filePathh, Buffer.from(audioBufferr));

    await mergeAudio(filePathh, filePath);
  }

    


    


    



    And the merge Audio function :

    


    async function mergeAudio(bgMusic, path) {
  return await command
    .addInput(path)
    .addInput(bgMusic)
    .complexFilter([
      {
        filter: "amix",
        inputs: ["0:0", "1:0"],
      },
    ])
    .outputOptions("-y") // add this line to overwrite the output file
    .output(`./overlayed.mp3`)
    .setStartTime("00:00:00")
    .setDuration("15")
    .on("error", function (err) {
      console.log(err);
    })
    .on("end", function () {
      return "ok";
    })
    .run();
}