Recherche avancée

Médias (91)

Autres articles (73)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (10051)

  • Python get wav frames from mp3 file for wave.open -> readframes()

    25 janvier 2017, par spam junk

    I have programmed a little lightshow which reads from .wav files :

    data = wavfile.readframes(chunk)

    but i would like to read mp3 files.

    So i have found various python apis like pymedia (cant quite get it to work) and pyffmpeg (never been worked on since 2015 as the github readme says )
    and i have found this post :

    Python : mp3 to alsaaudio through ffmpeg pipe and wave.open(f,’r’)

    im new to python and im only using it because my lights are controlled in python and im studying
    computer science since last year , so im still learning

    so all in all if someone could reassemble the code from the post for me that would be nice .

    im sorry,
    i would comment on the post but i dont have enough reputation

  • Cannot open videos in Opencv

    12 mai 2013, par Mahesh

    I am trying to open .avi file in opencv. When I run the code I do not get any error but the video does not play. I searched around and I guess it requires ffmpeg to be installed. So I installed it using
    sudo apt-get install libavformat-dev libavcodec-dev libavfilter-dev libswscale-dev
    It still does not work. Maybe the compiler needs to know where to find ffmpeg. I am using gcc compiler.
    Thanks.

    @Paul R : I have just copied the code from the Learning Opencv textbook, so wasn't including it. The code :

    #include
    #include
    int main( int argc, char** argv ) {
    cvNamedWindow( "Example2", CV_WINDOW_AUTOSIZE );
    CvCapture* capture = cvCreateFileCapture( argv[1] );
    IplImage* frame;
    while(1) {
       printf("Inside");
       frame = cvQueryFrame( capture );
       if( !frame ) break;
       cvShowImage( "Example2", frame );
       char c = cvWaitKey(33);
       if( c == 27 ) break;
    }
    cvReleaseCapture( &capture );
    cvDestroyWindow( "Example2" );

    }

    @praks411 :

    printf("%s",argv[1]);
    CvCapture* capture = cvCreateFileCapture( argv[1] );
    if(!capture)
    {  
           printf("failed\n");
       return -1;
    }

    It prints the argument correctly and the capture fails.

  • avconv : report the error for codec open failure

    20 juin 2013, par Luca Barbato
    avconv : report the error for codec open failure
    

    External codec may have corner case reason to fail at init, better
    report them instead having the user wonder.

    • [DH] avconv.c