Recherche avancée

Médias (3)

Mot : - Tags -/plugin

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9448)

  • How to add watermark in a video in Android Application ? [on hold]

    20 décembre 2014, par user3581447

    I am developing an Android app in which I have to include a function to watermark in an existing video file. I searched more but didn’t get any perfect solution. Can anyone help me ?

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