Recherche avancée

Médias (91)

Autres articles (58)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (6710)

  • Adding to NPM, merged white-space cleanup & language translation.

    26 février 2015, par jackmoore
    Adding to NPM, merged white-space cleanup & language translation.
  • The transparent pixels in my Bitmap shown as white

    7 mai 2016, par Hassan Ibrahem

    I’m using c code to get frame from a gif file and it’s working fine using ffmpeg library av_read_frame, then I convert the returned image from this format BGRA to ARGB format using this method libyuv::ABGRToARGB.

    In the java part I receive the bitmap and when I put it in the ImageView the transparent pixels drawn white.

    Bitmap bitmap= Bitmap.createBitmap(150, 150, Bitmap.Config.ARGB_8888);
    getGifFrame(gifFile,bitmap); //native method which get image frame from gif file.
    imageTest.setImageBitmap(backgroundBitmap);//this bitmap in debug mode I can see that it has transparent pixels, but in drawn it appears white!

    even when I loop on the returned bitmap pixels and check for each pixel I find them transparent !

             for (int x = 0; x < b.getWidth(); x++)
               {
                   for (int y = 0; y < b.getHeight(); y++)
                   {
                       int color = b.getPixel(x, y);
                       if (color == Color.WHITE)//This condition never occurred
                       {
                           b.setPixel(x, y, Color.TRANSPARENT);
                       }
                   }
               }

    Nothing happened and it’s still white. Then I did convert all transparent pixels to TRANSPARENT !! and guess what, It’s working !

    else if (color == Color.TRANSPARENT)
    {
     b.setPixel(x, y, Color.TRANSPARENT);
    }

    I don’t understand why that happen. Any help would be appreciated.

    EDIT 1 :
    I get all pixels from the bitmap and set them again without doing anything and it worked also !?

     bitmap.getPixels(pixels, 0, width, 0, 0, width, height);
     bitmap.setPixels(pixels, 0, width, 0, 0, width,height);
  • ffmpeg compressing black and white (monochrome, b/w, grayscale) video

    15 septembre 2016, par dtmp

    I have a black and white video I would like to compress into the smallest file size. Are there any filters or switches I should use for b/w video as opposed to color ? Will it affect the output or does ffmpeg treat color video and b/w video the same ?