Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (31)

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6276)

  • Python threading module on windows after session logout

    1er décembre 2013, par e271p314

    I wrote a code which starts to record screen capture from the second it identifies mouse movement until it identifies the mouse didn't move for a predefined time (10 seconds).
    In python, on windows, how to wait until mouse moves ?
    If, I'm logged in to the session the code works fine, i.e. it starts and stops on time and records the screen capture. But, if I logout, I expect the script to identify that the mouse doesn't move and stop recording. Instead, the code doesn't stop and when I login again (long after the 10 seconds passed), the screen capture (from the previous session) keeps running, yelling the rt buffer is full and it keeps running until I close the cmd console even I expect it to work for 10 seconds (at least when I'm logged in). Any idea what is the issue ? I feel like it is something between the threading module and the session logout but I could be completely wrong about this.

  • Create GIF from MP4 with PHP

    6 janvier 2016, par senty

    I first started with installing FFMpeg and ImageMagick on my local server (while ssh'd).

    I made some research, and thought that I can achieve Mp4->GIF with first, converting mp4 -> png and then, png -> gif.

    So I tried running
    ffmpeg -i input.mp4 -r 10 man/output%05d.png. It created PNGs from Mp4 successfully. Then I tried running this php on localserver..

    $ php convertDoc.php

    $animatedGif = new Imagick();

    $path = "./man/";

    $files = scandir($path);

    for($i=2;$i<6;$i++) {
       $image = new Imagick();
       var_dump($files);
       $image->readImage($path.$files[$i]);

       $animatedGif->addImage($image);
    }

    $animatedGif->writeImages('testOutput.gif', true);

    But I started getting error :

    PHP Fatal error : Uncaught exception ’ImagickException’ with message ’no decode delegate for this image format


    I checked convert -list configure. I have DELEGATES bzlib mpeg fontconfig freetype jbig jng jpeg lzma png ps tiff wmf x xml zlib

    Also I checked identify -list format. I have PNG* rw- Portable Network Graphics (libpng 1.2.50) AND GIF* rw+ CompuServe graphics interchange format


    What am I doing wrong ? Am I on the right way or completely out of track ?

    What is the most optimal way of generating GIFs from MP4 in PHP either using FFMpeg or Imagick, or both ?

  • ffmpeg4.4 missing in OpenCV3.4.13 + Android Studio4.2.1 ? No tutorial gives answer how to fix

    8 juin 2021, par Fab

    Finally opencv is working in my Android Studio project (solved with help of https://www.youtube.com/watch?v=-0Yx1UzozzQ). But theres is no Video I/O information visible so I guess i didnt connected ffmpeg correctly in my project and it isnt used at all !?

    


    My steps so far :

    


    


      

    • I dont get any error messages. I try to VideoCapture.open("somestring") and returned is just false.
    • 


    


    I know there are a lot of similar questions but I cant identify which one really addresses my issue.
Really appreciate your help. Thanks, Fabian