Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (55)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (6553)

  • Is ffmpeg's chromakey filter broken when matching black/white ?

    7 janvier 2023, par Taylor Brown

    I have a file, colors.png. It looks like this :

    



    Let's say I want to make the red square transparent. When I run ffmpeg -i colors.png -filter_complex "[0]chromakey=0xff0000:similarity=0.1:blend=0.0[out]" -map "[out]" colors-rm-red.png (notice I use similarity=0.1 to make this work), I get exactly that :

    



    How about making the blue square transparent ? ffmpeg -i colors.png -filter_complex "[0]chromakey=0x0000ff:similarity=0.1:blend=0.0[out]" -map "[out]" colors-rm-blue.png works too !

    



    But what about replacing black ? ffmpeg -i colors.png -filter_complex "[0]chromakey=0x000000:similarity=0.1:blend=0.0[out]" -map "[out]" colors-rm-black.png gives me this :

    



    And likewise, replacing white with ffmpeg -i colors.png -filter_complex "[0]chromakey=0xffffff:similarity=0.1:blend=0.0[out]" -map "[out]" colors-rm-white.png gives me the same result :

    



    Why is this ? Even if I use similarity=0.01, which according to the docs "matches only the exact key color", this still doesn't work when I'm trying to make black/white transparent. Is ffmpeg broken, or am I misunderstanding the chromakey filter ?

    


  • ffmpeg - adding white background to complex png command

    5 août 2022, par Uriel Romano

    I have a complex concatenation of commands working perfectly :

    


    ffmpeg -r 24 -i "D:\batches\S3025C-SV_"%%03d.png -vf "scale=out_color_matrix=bt709,eq=gamma=1:saturation=1,fps=25, crop=trunc(iw/2)*2:trunc(ih/2)*2" -color_primaries bt709 -color_trc bt709 -colorspace bt709 "D:\batches\S3025C-SV.mp4"

    


    Now I need to add a white background to this mp4 render, as ffmpeg is using a black one by default. I've found the following command here :

    


    -filter_complex "[0:v] setpts=PTS-STARTPTS [graphs]; [1:v][graphs] overlay=shortest=1 [out]" -map "[out]"

    


    How could I combine this operation into the first one ? I've tried a couple of different syntaxes but couldn't get it to work.

    


    Thanks for your help !

    


  • avfilter/vf_ocr : add white space to whitelist

    18 mars 2021, par Dominic Mayers
    avfilter/vf_ocr : add white space to whitelist
    

    Fixes #9151. The current version of libavfilter/vf_ocr.c does not have white
    space in the default whitelist. But it is recommanded to include white
    space. See https://github.com/tesseract-ocr/tesseract/issues/2923

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavfilter/vf_ocr.c