Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (58)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (8513)

  • how to list filenames and durations of a bunch of mp3 files on a server using PHP [duplicate]

    7 avril 2015, par user1522247

    This question already has an answer here :

    I have a folder full of audio files, mostly mp3, but a mix including wma and wav, on a VPS. The folder updates every day.

    I am running a php based website using apache and MYSQL.

    Is there anyway I can extract or somehow display a list of the audio files along with file durations for each ?

    I ideally need a solution that would allow a relatively non technical person to extract the data on a daily basis. So I’m thinking of displaying the data via a php file ?

  • What ffmpeg command to use to convert a list of unsigned integers into an audio file ?

    21 mars 2019, par John

    I have a file that contains a list of about forty thousand integers that are space delimited, with each integer between the value of 0 and 255. It is this file here :

    https://github.com/johnlai2004/sound-project/blob/master/integers.txt

    If you connect a speaker to an ESP32 breakout board, then run this list of integers through the digital to analog converter at a frequency of 24kHz, you will hear the sentence, "That’s not the post that you missed."

    What I want to know is how do you use FFMPEG to convert this list of integers into a sound file that other computer can play to hear the same phrase ? I tried this command :

    ffmpeg -f u8 -ac 1 -ar 24000 -i integers.txt -y audio.wav

    But my audio.wav just sounds like white noise. I tried a few other values for -f and for -ar, but all I hear are different frequencies of white noise and maybe some extra buzzing.

    Is it possible to use ffmpeg to translate my list of integers into an audio file for other computers to play ? If so, what’s the correct ffmpeg command to do this ?

    OTHER NOTES

    If it helps, this is the sketch file that I upload to an ESP32 if I want to hear the audio :

    https://github.com/johnlai2004/sound-project/blob/master/play-audio.ino

    In short, the file looks like this :

    #define speakerPin 25                          //The pins to output audio on. (9,10 on UNO,Nano)
    #define bufferTotal 1347
    #define buffSize 32

    byte buffer[bufferTotal][buffSize];
    int buffItemN = 0;
    int bufferN = 0;

    hw_timer_t * timer = NULL;
    portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;

    void IRAM_ATTR onTimer() {
     portENTER_CRITICAL_ISR(&timerMux);


     byte v = buffer[bufferN][buffItemN];
     dacWrite(speakerPin,v);

     buffItemN++;

     if(buffItemN >= buffSize){                                      //If the buffer is empty, do the following
       buffItemN = 0;                                              //Reset the sample count
       bufferN++;
       if(bufferN >= bufferTotal)
         bufferN = 0;
     }

     portEXIT_CRITICAL_ISR(&timerMux);

    }

    void setup() {      

    /* buffer records */
    buffer[0][0]=88;  // I split the long list of integers and load it into a 2D array
    buffer[0][1]=88;
    buffer[0][2]=86;
    buffer[0][3]=85;
    //etc....
    buffer[1346][28]=94;
    buffer[1346][29]=92;
    buffer[1346][30]=92;
    buffer[1346][31]=95;


    /* end buffer records */

     timer = timerBegin(0, 80, true);
     timerAttachInterrupt(timer, &onTimer, true);
     timerAlarmWrite(timer, 41, true);
     timerAlarmEnable(timer);

    }

    void loop() {

    }

    The buffer... is the list of integers found in the integers.txt file.

  • avformat/matroskadec : use av_fast_realloc to reallocate ebml list arrays

    3 septembre 2019, par James Almer
    avformat/matroskadec : use av_fast_realloc to reallocate ebml list arrays
    

    Speeds up the process considerably.

    Fixes ticket #8109.

    Suggested-by : nevcairiel
    Suggested-by : cehoyos
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/matroskadec.c