Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (53)

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

  • Les images

    15 mai 2013
  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (7686)

  • Pipe PIL images to ffmpeg stdin - Python

    9 mai 2017, par bluesummers

    I’m trying to convert an html5 video to mp4 video and am doing so by screen shooting through PhantomJS over time

    I’m also cropping the images using PIL so eventually my code is roughly :

    while time() < end_time:
       screenshot_list.append(phantom.get_screenshot_as_base64())
    .
    .
    for screenshot in screenshot_list:
       im = Image.open(BytesIO(base64.b64decode(screenshot)))
       im = im.crop((left, top, right, bottom))

    Right now I’m saving to disc all those images and using ffmpeg from saved files :

    os.system('ffmpeg -r {fps} -f image2 -s {width}x{height} -i {screenshots_dir}%04d.png -vf scale={width}:-2 '
         '-vcodec libx264 -crf 25 -vb 20M -pix_fmt yuv420p {output}'.format(fps=fps, width=width,
                                                                     screenshots_dir=screenshots_dir,
                                                                     height=height, output=output))

    But I want instead of using those saved files, to be able to pipe the PIL.Images directy to ffmpeg, how can I do that ?

  • Flickering when put images over video

    13 janvier 2019, par Cris

    I am using AWS Rekognition to get info on faces in videos. I split video in frames, draw rectangles in these frames according to infos taken from Reko, then generate a new MP4 merging single frames using ffmpeg.
    It runs but there is flickering in drawed rectangles.
    Is there a better way to apply images over video ?

  • Anomalie #3095 : Le filtre |image_renforcement ne préserve pas la transparence des images

    18 juillet 2014, par tcharlss ಠ_ಠ

    Il s’agit d’un LAMP local installé sur Ubuntu 14.04.
    La librairie GD (libgd3 2.1.0-3) ainsi que le module GD pour PHP5 (php5-gd 5.5.9) sont bien installés.
    Testé avec des images PNG en couleur et en noir et blanc : même résultat.
    Dans « Génération de miniatures des images », j’ai essayé toutes les méthodes : GD1, GD2, Convert et Netpbm.

    S’il s’agit bien d’une librairie manquante sur le serveur, il me semble que le filtre ne devrait rien faire au lieu d’aplatir l’image.