Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (25)

Sur d’autres sites (6289)

  • I want to add text or logo on video by Node.js Express but don't know how and don't find on google after search

    20 octobre 2022, par dafaza

    I want to add text or logo on video by Node.js Express but don't know how and don't find on google after search just this but don't work

    


    var ffmpeg = require('fluent-ffmpeg');
var axios = require('axios');

// make sure you set the correct path to your video file

var proc = ffmpeg('./input.mp4')
    .videoFilters({
  filter: 'drawtext',
  options: {
    fontfile:'font.ttf',
    text: 'THIS IS TEXT',
    fontsize: 20,
    fontcolor: 'white',
    x: '(main_w/2-text_w/2)',
    y: 50,
    shadowcolor: 'black',
    shadowx: 2,
    shadowy: 2
  }
})
    .input('https://verse.mp3quran.net/arabic/shaik_abu_baker_alshatri/64/001002.mp3')
    .on('end', function () {
        console.log('file has been converted succesfully');
    })
    .on('error', function (err) {
        console.log('an error happened: ' + err.message);
    })
    // save to file
    .save('./out.mp4');


    


  • Anomalie #2128 (Fermé) : Logo automatique d’un site

    18 juin 2011, par cedric -
  • Evolution #2815 : Filtre ou syntaxe pour obtenir le chemin d’un logo

    10 août 2012, par Maïeul Rouquette

    zut, j’ai pas compris pourquoi il me l’a ouvert dans Textwheel, et je vois pas comment déplacer.