Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (50)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8761)

  • hwcontext_vulkan : fix incorrect A/0BGR mapping

    23 novembre 2020, par Lynne
    hwcontext_vulkan : fix incorrect A/0BGR mapping
    

    Vulkan formats with a PACK suffix define native endianess.
    Vulkan formats without a PACK suffix are in bytestream order.

    Pixel formats with a LE/BE suffix define endianess.
    Pixel formats without LE/BE suffix are in bytestream order.

    • [DH] libavutil/hwcontext_vulkan.c
  • Install ffmpeg on Heruko

    5 octobre 2020, par islalobo

    I have a little node.js app on heroku and I'm trying to use ffmpeg to convert some audio that has been recorded.

    


    To do that I need to install ffmpeg buildpack.

    


    When I add the build pack and deploy, I don't get any errors in the logs, but the application doesn't load and gives me a non-discript error.

    


    Build packs I've tried

    


    


    Code to convert audio

    


      try {
    let process = new ffmpeg(`./public/messages/${req.body.message}`);
    process.then((audio) => {
      audio.fnExtractSoundToMP3(`/messages/${req.body.message}.mp3`, (error, file) => {
        if (!error) console.log('Audio File: ', file);
        if (error) console.log(error);
      });
    }, (error) => {
      console.log('Error: ', error);
    });
  }
  catch(error) {
    console.log(error.code, error.msg);
  }


    


  • Filter useless white frames at the beginning and duplicated frames at the end of captured video

    21 septembre 2020, par gumkins

    I'm capturing HTML animation with use of Puppeteer and MediaRecorder API.

    


    Before starting the capturing I'm waiting for networkidle event (I tried networkidle0-2 but result is identical)

    


    await page.goto(url, { waitUntil: 'networkidle0' })


    


    For some reason, the animation starts to play 2-3 seconds after the capturing starts, and thus, white frames are captures.
Similar, at the end of the video there are identical frames because capturing duration is a bit longer than animation plays.

    


    Thus I want to detect and cut off those repeating white frames at the beginning and repeating non-white frames at the end of the video (mp4/webm).

    


    I tried some solutions, like described here, for instance

    


    ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4


    


    It does remove duplicates, but the problem is that it cuts off dups in the middle as well.

    


    Thus, if I have a 15 sec animation,it removes all dups at the beginning, all dups at the end and all dups in the middle, and what is left after it is just a several identical frames which are pack into less than 1 sec video.