Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (68)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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

Sur d’autres sites (5369)

  • Convert mp3/audio source to RTSP or something that is live streamable

    20 mars 2019, par spezticle

    I’ve got an mp3 that’s continually being written to. I’m trying to get some HTML5 tag or something to play this file and it will, but it stops at the end of the file as it was loaded in the moment the webpage was pulled up. If I refresh the page, the new length is reflected but position is lost.

    This is streaming, but not live.

    I’m using ffmpeg to push an audio source from a local computer to a remote web server. That webserver receives the file with ffmpeg and writes it to the mp3. Is there no better way of doing this that isn’t absurdly complicated ?

  • Returning ffprobe metadata to another function using fluent-ffmpeg

    28 avril 2021, par noquierouser

    I'm trying to use fluent-ffmpeg's ffprobe to get the metadata of a file and add it to a list, but I want to separate the process of getting the metadata from the method related to checking the file, mostly because the addFileToList() function is quite long as is and the ffprobe routine is quite long as well.

    


    I've tried the following code, but it doesn't give the results I'm expecting :

    


    export default {
  // ...
  methods: {
    getVideoMetadata (file) {
      const ffmpeg = require('fluent-ffmpeg')
      ffmpeg.ffprobe(file.name, (err, metadata) => {
        if (!err) {
          console.log(metadata)  // this shows the metadata just fine
          return metadata
        }
      })
    },
    addFileToList (file) {
      // file checking routines
      console.log(this.getVideoMetadata(file))  // this returns null
      item.metadata = this.getVideoMetadata(file)
      // item saving routines
    }    
  }
}


    


    I've already tried to nest the getVideoMetadata() routines inside addFileToList(), and it works, but not as intended, because the actions are carried, but not the first time, only the second time. It seems to be an async issue, but I don't know how can I tackle this.

    


    What can I do ? Should I stick to my idea of decoupling getVideoMetadata() or should I nest it inside addFileToList() and wrestle with async/await ?

    


  • Issue #16

    15 décembre 2013, par Grandt
    Issue #16
    

    * Fixed : An issue, where PNG images exceeding the maximum specified
    sizes were broken during resizing.
    * Fixed : Issue #16, where ePub 3 multimedia needed to be added to the
    automatic chapter processing.
    * Fixed : Potential issue related to Issue #16 with loading large files
    from external sources, where these might result in memory errors. These
    will now be loaded into a temp file on the server, before being added to
    the book.