Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (70)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (12162)

  • 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);
  • create movie from one image updates in linux

    27 novembre 2019, par milad

    I’m a C programmer on linux.

    I write a program that saves an image in /srv/ftp/preview.png which is updating frequently and i want to create a movie from this updates.

    It’s timestamp is important for me, e.g if image updates after 3.654 seconds i want movie show this update(frame) after 3.654 seconds too.

    I searched in Internet for several hours but i can’t find any solution.

    I know about ffmpeg but it will convert images(and not one image) to movie without millisecond timestamp.

    I found this Question but it seems is not useful in this case.

    Is there any tool to do that ? if not, please introduce an API in c to write a program myself

  • Setting very fast movie speed

    24 avril 2018, par JoeSkurczysyn

    He tries to set the movie’s acceleration to 70 minutes so that a movie with a maximum length of 2 minutes will come out. However, FFMPEG fails. Films with a length of over 20 minutes come out, which is not what they expect.

    I write this :

    ffmpeg -i output.mp4 -filter:v "setpts=0.90*PTS" -an output2.mp4

    What am I doing wrong ?