Recherche avancée

Médias (91)

Autres articles (78)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

Sur d’autres sites (9473)

  • pmpdec : check that there is at least one audio packet.

    28 novembre 2013, par Anton Khirnov
    pmpdec : check that there is at least one audio packet.
    

    The code cannot handle there being none, but that should not happen for
    valid files.

    Found-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    CC:libav-stable@libav.org

    • [DH] libavformat/pmpdec.c
  • midi to ogg - pipeline distortion

    25 décembre 2015, par Chris Walshaw

    I am trying to convert midi files to ogg or mp3. Eventually this will happen on a linux webserver but currently I am using a Windows 7 machine. I am using timidity to convert the midi to wav and then either sox or ffmpeg to convert the wav to ogg/mp3.

    When I use an intermediate file the process works fine (in the first line below timidity creates file.wav)

    timidity.exe file.mid -Ow
    sox.exe file.wav file.ogg

    However, when I try to pipe the timidity output into sox (as below), the resulting file ogg is horribly distorted

    timidity.exe file.mid -Ow -o - | sox.exe -t wav - file.ogg

    and I get a warning

    sox.exe WARN wav: Premature EOF on .wav input file

    I also get the same distortion problem when I replace sox with ffmpeg (and the appropriate command line options), or when I replace ogg with mp3 as the output format.

    So what am I doing wrong ?

    Thanks,

    Chris

  • How to manipulate large media files in Node.js in a non-blocking way

    26 août 2017, par Jacob Prud'homme

    I am currently creating a Node.js app that receives an audio/video stream, writes it progressively to the disk, then transcodes it with ffmpeg once the stream has ended and sends it somewhere else to be stored, deleting it locally.

    Besides the fact that I can transcode the stream before writing it to streamline the entire thing (this feature is planned), what is the best way to handle these operations on potentially large files ?

    I am aware of spawing child processes (the method I’m currently using), but I’m not sure how they actually function, even after much reading. I’m not even sure using "spawn" is exactly what I want here (is "fork" a better option ?).

    Essentially, I want to know how to transcode -> upload -> delete the file without blocking Node.js so that multiple users can do the same thing simultaneously. Also, I am thinking of putting all 3 operations in a single bash script so that they happen synchronously in sequential order, is this fine ?