Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (71)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7199)

  • Generate color palette from an image for FFmpeg

    18 mars 2018, par Peter

    I want to generate color palette from an image but FFmpeg allows to generate palettes only from videos. The only Bash tool I know that can generate color palettes from images is ImageMagick, but it generates palettes in a *.txt and I need a *.png palette.

    Is there a bash tool to generate palettes with fine control ? Or maybe there is a way to do it in FFmpeg ?

    P.S. I need that palette to create GIF in FFmpeg.

  • Create 256 color palette video

    2 mars 2020, par rlcabral

    I already have this working by converting the source video to GIF with :

    ffmpeg -y -t 5 source.mp4 -vf fps=10,scale=480:-1,smartblur=ls=-0.5,crop=iw:ih-2:0:0 -hide_banner -loglevel panic output.gif

    And then converting the GIF to MP4, like so :

    ffmpeg -y animated.gif -hide_banner -pix_fmt yuvj420p -loglevel panic -an -loglevel panic final.mp4

    What I want is to convert source.mp4 directly to final.mp4, and have the same 256 color palette as a normal GIF.

    I tried merging both commands together, and although it generates a MP4, the result is a 16 bit video, surprisingly smaller than a 8 bit video.

    Do I need to generate a palette first with palettegen and then re-encode the video with this palette ?

  • YUV420p to other formats, color shift problems

    1er juin 2013, par Sam

    So I'm writing a color detection application using an AR Drone. The drone sends my python/opencv socket server an image from its camera in YUV420p format.

    What I do to access the image as an opencv IPLImage is the following (and yes this is inefficient but I didn't / don't want to have to write new conversion tools myself) :

    1. Save the yuv image to a file (some_image.yuv)
    2. subprocess.call(insert ffmpeg call here)
    3. Read the resultant file (bmp, png, it doesn't matter) back in using cv.LoadImage

    My problem right now is a very noticable color shift. I'm waving a red felt sheet in these pictures. The first one shows a heavy yellow tint. The second isn't as bad but is very rare — mostly when I have the red sheet it's heavily tinted.

    I'm wondering both of these things :

    1. if there's either a better way to do this
    2. If the color tinting issue can be resolved

    My ffmpeg conversion line looks something like

    ffmpeg -s 640x480 -vcodec rawvideo -f rawvideo -pix_fmt yuv420p -i image.yuv -vcodec bmp -f image2 output.bmp

    I've also tried :

    ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -vf colormatrix=bt709:bt601 -i image.yuv -f image -vcodec png output.png

    The color shift is always there, unfortunately !

    The color shift is my big problem right now as I later convert the image to HSV and use thresholding to choose a color range that works for me.