Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (65)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9285)

  • Revision 66486 : version 1.1.0 : tentons une truc à la mode responsive, on active pas le ...

    4 octobre 2012, par brunobergot@… — Log

    version 1.1.0 : tentons une truc à la mode responsive, on active pas le script des légendens si la taille du média est plus grande que la largeur d’écran

  • Can anyone tell me ffmpeg.wasm command to converting 24-bit color image to 8-bit color image without affecting transparency part ?

    4 avril 2024, par Rohit Nayak

    I am a new developer and currently developing a png compressor to compress png image file using next.js 14 app directory and I found the right command to do so

    


    ffmpeg -i input.png -c:v png -pix_fmt pal8 -vf "split[a][b];[a]alphaextract[am];[b]palettegen=stats_mode=diff[pl];[b][pl]alphamerge" output.png


    


    but i am unable to do so because I don't know how to convert that to ffmpeg.wash command.

    


    I am using node.js v20.11.0, @ffmpeg/ffmpeg version 0.12.6 and @ffmpeg/util 0.12.1", alone with @ffmpeg/core@ version 0.12.2 which seems to work well.

    


    My code is as following :

    


        ffmpeg.exec([
      "-i",
      `${file.name}`,
      "-c:v",
      "png",
      "-pix_fmt",
      "pal8",
      "-vf",
      "split[a][b];",
      "[a]alphaextract[am];",
      "[b]palettegen=stats_mode=diff[pl];",
      "[b][pl]paletteuse=new=1:alpha_threshold=128",
      `output.png`,
    ]);


    


    Is there anyone who can solve this problem ?
An early action will highly be appreciated😊

    


    Answer in the form of

    


    ffmpeg.exec([...commands ]) 


    


  • Convert pictures to live video using ffmpeg and python

    31 mars 2015, par zerzer

    I’m trying to record a live video (using H.264 codec) from a series of pictures that i receive by socket using python.

    I tried to use the MoviePy package (documentation here : github.com/Zulko/moviepy) on python to do that but i didn’t figured it out.

    If anyone have a guide on how to get started with python and saving pictures I receive as frames in real time using ffmpeg, I would really appreciate it .

    what I have is something like this , but it gives only the last captured image in the video it doesn’t save continuously the stream of images :

    from moviepy.editor import *
    import numpy as np

    while True:
      data = sock.recv()
      image = np.fromstring(data)
      folder = [image]
      cv = ImageSequenceClip(folder, fps = 1)
      cv.write_videofile("video.mp4")