Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (98)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (11391)

  • Algorithm to draw waveform from audio

    27 février 2016, par yayuj

    I’m trying to draw a waveform from a raw audio file. I demuxed/decoded an audio file using FFmpeg and I have those informations : samples buffer, the size of the samples buffer, the duration of the audio file (in seconds), sample rate (44100, 48000, etc), sample size, sample format (uint8, int16, int32, float, double), and the raw audio data itself.

    Digging on the Internet I found this algorithm (more here) :

    White Noise :

    White Noise

    The Algorithm

    All you need to do is randomize every sample from –amplitude to
    amplitude. We don’t care about the number of channels in most cases so
    we just fill every sample with a new random number.

    Random rnd = new Random();
    short randomValue = 0;

    for (int i = 0; i &lt; numSamples; i++)
    {
       randomValue = Convert.ToInt16(rnd.Next(-amplitude, amplitude));
       data.shortArray[i] = randomValue;
    }

    It’s really good but I don’t want to draw that way, but this way :

    audacity

    Is there any algorithm or idea of how I can be drawing using the informations that I have ?

  • Wrong video duration reported after concatenating video files in BASH script

    13 novembre 2012, par Benjen

    I am trying to merge three video files (each 16 seconds long) into one file using ffmpeg. Since they are in mpeg format I am simply trying to concatenate them into one file using cat command. The problem is that when I run the resulting file (video.mpg) it is reported as being 16 seconds long (same as the first concatenated video). Interestingly when I play the file in VLC, I can watch the whole 48 sec of video, even though the video progress bar also only reports up to 16 secs.

    It almost seems like the file "properties" (e.g. duration, etc) are not updated after the additional two videos are added using the cat command.

    Would appreciate any suggestions on how I might solve this.

    The following is the relevant section of the BASH script I have created :

    mkfifo intermediate1.mpg
    mkfifo intermediate2.mpg
    mkfifo intermediate3.mpg
    ffmpeg -i "./tmp/final01.mp4" -qscale 1 -y intermediate1.mpg &lt; /dev/null &amp;
    ffmpeg -i "./tmp/final02.mp4" -qscale 1 -y intermediate2.mpg &lt; /dev/null &amp;
    ffmpeg -i "./tmp/final03.mp4" -qscale 1 -y intermediate3.mpg &lt; /dev/null &amp;

    echo "[audioforge] Stitching files "
    cat intermediate1.mpg >> ./tmp/video.mpg
    cat intermediate2.mpg >> ./tmp/video.mpg
    cat intermediate3.mpg >> ./tmp/video.mpg

    # Convert back to mp4 format.
    ffmpeg -i "./tmp/video.mpg" -qscale 1 -y "./tmp/video.mp4"
  • Can somebody compare the decoding speed of popular audio formats ? [on hold]

    23 novembre 2017, par puppon -su

    People usually quote compression ratio, but I’m interested in how well they perform on old computers and mobile phones. I’m interested in cpu usage, battery usage, and if they require/benefit from SIMD.

    I’m not sure if it still matters by now, everyone seems to buy new hardware every few years.