Recherche avancée

Médias (91)

Autres articles (77)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (6524)

  • Revision 101600 : Refactoring : une fonction notation_identifier_visiteur pour ...

    11 juin 2018, par cedric@… — Log

    Refactoring : une fonction notation_identifier_visiteur pour factoriser l’identification du visiteur. Au passage on delaisse la session au profit d’un simple cookie pour reconnaitre un visiteur qui a vote
    + verification au moment du vote (dans traiter()) qu’il n’a pas deja vote, auquel cas on ne modifie pas sa note si il n’a pas le droit, mais silencieusement, sans message d’erreur (puisque c’est un filou qui s’est debarasse de son cookie)
    + une fonction notation_retrouver_note() pour retrouver la note d’un objet/id_objet/visiteur donne

  • Revision 101593 : utiliser les fonctions standard objets de SPIP 3+ plutot que les ...

    11 juin 2018, par cedric@… — Log

    utiliser les fonctions standard objets de SPIP 3+ plutot que les inclusoons inc-notation-preferee-xx qui ne sont pas generiques. Corrige aussi le bug d’affichage quand l’objet n’existe plus en base (td qui manquait dans les tableaux).
    On laisse les squelettes modeles/inc-notation-preferee-xxx pour le moment, pour ne pas casser des appels existants, a supprimer dans un upgrade majeur

  • recording yuv data which is converted from a bitmap and images are changed constantly on this bitmap

    3 février 2016, par UserAx

    I am trying to record images which are changed at a set time interval. These are displayed on an imageview. (something like a movie maker)

    For this I am :

    1. Drawing these images on a bitmap, this method is repeated over a 50ms interval

      private void BitmapUpdate() {
            timer = new Timer();
      timer.scheduleAtFixedRate(new TimerTask() {
         public void run() {
             try {
                 new Task1().execute();
             } catch (Exception e) {
                 // TODO: handle exception
             }
         }
      }, 0, 50);
      }

      class Task1 extends AsyncTask {

      @Override
      protected void onPreExecute() {
         super.onPreExecute();
         clearBitmap();

      }

      @Override
      protected String doInBackground(Void... arg0) {

         onImageDisplayed();
         return null;
      }

      @Override
      protected void onPostExecute(String result) {
         super.onPostExecute(result);

      }
      }

      public void clearBitmap(){
      if (imageview != null){
      //All the 3 methods below give same error - can't call getpixels() on recycled bitmap
      imageview.setDrawingCacheEnabled(false);
      //OR
      imageview.destroyDrawingCache();
      //OR
      bitmap.recycle();

      }
        }



      public void onImageDisplayed(){

      if (imageview != null) {
         imageview.setDrawingCacheEnabled(true);
         imageview.buildDrawingCache();
         bitmap = imageview.getDrawingCache();
         System.out.println(bitmap.getByteCount() + " is bitmap size ");
         }
        }
    2. Using the bitmap data to convert it to yuv data
      By using getNV21 method :

    Convert bitmap array to YUV (YCbCr NV21)

    1. Finally this yuv data is passed FFmpeg recorder, through a method similar to onPreviewFrame, except that the data is from getNV21 method. This method is started by a button click.

    What I have achieved :

    1. If i dont use clearBitmap() ; i get only the first image recorded in the video, even on changing to next image only first image is present throughout the video.

    2. So After research on stack overflow many developers suggested clearing the previous imageCache for the next Image. But in my case if i use any of these methods, anywhere,

      imageview.setDrawingCacheEnabled(false);
      //OR
      imageview.destroyDrawingCache();
      //OR
      bitmap.recycle();

    I get the error ; mostly because the getNV21 method is running non stop, and always is expecting pixels flow from the Bitmap.

    1. If i try running the methods one after another, by stopping getpixels for a moment by a boolean, i only get a black screen.

    Kindly help...!

    THANKS.