Recherche avancée

Médias (0)

Mot : - Tags -/configuration

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (7167)

  • libavcodec/ccaption_dec : clean up and standardize white space

    5 janvier 2016, par Aman Gupta
    libavcodec/ccaption_dec : clean up and standardize white space
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ccaption_dec.c
  • 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 &lt; b.getWidth(); x++)
               {
                   for (int y = 0; y &lt; 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);
  • How to add a color gradient to black and white in ffmpeg

    4 mai 2016, par Axiverse

    I’m converting a sequences of image files to video using ffmpeg. They are black and white representing a range of data. I want to apply a color gradient to the videos, something like black->white becomes black->red->orange->white.

    How do I do this with ffmpeg ?