Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (85)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (10442)

  • Real fft error - ffmpeg

    22 juin 2016, par Steva

    I am trying to use ffmpegs fft utility for audio samples called real fft(rdft).

    But I have SIGSEGV error. Code is very simple.

    static void fft(float* data){
       RDFTContext * ctx = av_rdft_init(Globals::WindowSizePower, DFT_R2C)
       av_rdft_calc(ctx, data);
       av_rdft_end(ctx);
       av_free(ctx);
     }

    Defined constants are

    static const int WindowSize = 1024;
    static const int WindowSizePower = 10;

    Can someone tell me what I am doing wrong ? I tried to find example on internet where this ffmpeg utility is used but I didnt find any.

    EDIT :

    This is function which call this function

    void fftInit(float* correction){
           m_fft_data = new float[Globals::WindowSize]();
           memcpy(m_fft_data, correction, sizeof(float)*Globals::WindowSize);
           for(int i = 0; i < Globals::WindowSize; ++i){
               m_fft_data[i] *= m_data[i];
           }

           FFMPEGFFT::fft(m_fft_data);
       }

    Input data is properly allocated. I tested extracted data before coming to this part.

  • Real time ffmpeg output from terminal in php

    8 novembre 2014, par user2978381

    I am using this code to get real time update from windows terminal. It doesn’t output anything in the browser but process the command and in the background and completes the conversion.

       set_time_limit(0);
       $ffmpegCommand  = 'C:\\ffmpeg\\bin\\ffmpeg';

       $handle = popen($ffmpegCommand." -i upload/1415292048.mp4 -ar 22050 -ab 32 -f flv -s 640x320 -vcodec libx264  -vsync 1  -bt 50k converted/video001.flv", "r");

       if (ob_get_level() == 0)
           ob_start();

       while(!feof($handle)) {

           $buffer = fread($handle, 4096);
           $buffer = trim(htmlspecialchars($buffer));
           echo "<pre>";

           echo $buffer ;
           echo str_pad('', 4096);
           echo "</pre>";

           ob_flush();
           flush();
           sleep(1);
       }

       pclose($handle);
       ob_end_flush();

    But when the same code I am using for youtube_dl it updates in the real time.

       header('Content-Encoding: none;');

       set_time_limit(0);

       $handle = popen("python -m youtube_dl -F http://vimeo.com/30261818", "r");

       if (ob_get_level() == 0)
           ob_start();

       while(!feof($handle)) {

           $buffer = fread($handle, 4096);
           $buffer = trim(htmlspecialchars($buffer));
           echo "<pre>";

           echo $buffer ;
           echo str_pad('', 4096);
           echo "</pre>";

           ob_flush();
           flush();
           sleep(1);
       }

       pclose($handle);
       ob_end_flush();

    So if I want to show output of ffmpeg in the browser what should I do ?

  • Revision fcdabb105f : Disable speed 6 for datarate test. One of the tests for real-time mode is faili

    21 mars 2014, par Marco Paniconi

    Changed Paths :
     Modify /test/datarate_test.cc



    Disable speed 6 for datarate test.

    One of the tests for real-time mode is failing at speed 6.
    Introduced recently, will enable again when fixed.

    Change-Id : I8f42de6a3eca226c9aa5c5e1fab98d629993c087