Recherche avancée

Médias (91)

Autres articles (76)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (9658)

  • VideoCapture not working in Python (Win 8.1 64 bit)

    3 mars 2014, par Horizon
    import cv2
    capture = cv2.VideoCapture("slow.avi")
    while not capture.isOpened():
     capture = cv2.VideoCapture("slow.avi")
     cv2.waitKey(1000)
     print "Wait for the header"

    I tried a lot of different video files(flv,wmv) but I couldn't open any video file.I followed http://stackoverflow.com/a/11703998 directions and copied files in OpenCV\sources\3rdparty\ffmpeg directory to C :\Python27\ directory but not working

  • libav much longer than avconv

    17 mars 2014, par fsulser

    I was using ffmpeg to generate some images from a video. Now I read that I shouldn't use ffmpeg longer and use avconv from libav instead.
    So I tried to do the same thing with avconv.

    The ffmpeg is looking like this :

    ffmpeg -ss 1000 -t 5 -i 'test.mp4' -s '120*90' -r 10 out%2d.bmp

    Same with avconv :

    avconv -ss 1000 -t 5 -i 'test.mp4' -s '120*90' -r 10 out%2d.bmp

    ffmpeg needs less than one second to finish. Avconv about 90 seconds for the same task.
    Is this usual or do I need to change some things to work with avconv ?

  • avconv much longer than ffmpeg

    18 mars 2014, par fsulser

    I was using ffmpeg to generate some images from a video. Now I read that I shouldn't use ffmpeg longer and use avconv from libav instead.
    So I tried to do the same thing with avconv.

    The ffmpeg is looking like this :

    ffmpeg -ss 1000 -t 5 -i 'test.mp4' -s '120*90' -r 10 out%2d.bmp

    Same with avconv :

    avconv -ss 1000 -t 5 -i 'test.mp4' -s '120*90' -r 10 out%2d.bmp

    ffmpeg needs less than one second to finish. Avconv about 90 seconds for the same task.
    Is this usual or do I need to change some things to work with avconv ?