Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (89)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

Sur d’autres sites (8565)

  • sws_scale with PIX_FMT_RGB48 distorts color

    26 juin 2013, par Peter

    Folks,

    I need to open an input bitmap file, increase the pixel depth from 8 bits to 12 bits RGB and dump the image as an uncompressed file.

    I am using libavcodec to accomplish this. Fortunately, the very first example from dranger's famous tutorial does most of what I want to do. It even has a method to save the frame as a .ppm file.

    When I use PIX_FMT_RGB24 with sws_getContext/avpicture_fill/sws_scale, the generated output file contains the correct 8-bit RGB value. For example, my first pixel in the input file has the RGB value of 0xFF, 0x6A, 0x00. I can see this value in the generated .ppm file.

    However, when I replace PIX_FMT_RGB24 with PIX_FMT_RGB48, it appears sws_scale is changing the color value. For example the first pixel now shows up as 0x15FF, 0x3F6a, 0x0000.

    I changed sws_getContext flag from SWS_BILINEAR to SWS_POINT. However, this did not make any difference in the output.

    I would appreciate it if someone can please help me understand what is it that I am doing wrong.

    Thank you in advance for your help.

    Regards,
    Peter

  • 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 ?

  • ffmpeg alters color scheme when converting images to a video

    12 février 2019, par Flo Ryan

    I am trying to convert a sequence of png images to a video. Unfortunately the video though playing exactly what i want alters the colors.

    The command used to convert the images :

    ffmpeg -framerate 30 -pattern_type glob -i ’*.png’ -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p out.mp4

    The original image colors :
    Color scheme in image

    The colors as displayed in the video.

    Color scheme in video

    How can I circumvent this altering of the colors ?

    EDIT
    I found the answer as posted below.