Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (73)

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

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

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

  • Parsing An ArrayList of BufferedImages From FFmpeg

    4 juin 2015, par user3725743

    I am using FFmpeg in my java app to turn a video into an ArayList of BufferedImages. Im am using this code to split a video file into individual jpg frames :

    builder.command(FFmpeg, "-i", "<video url="url">", "-vf", "fps=5,scale=128:128,format=rgb8,format=rgb24", "out%d.jpg");
    </video>

    This produces a folder full of jpg frames, it works fine. But I would rather not write them to individual files, I would rather make that output turned into an ArrayList of BufferedImages, WITHOUT having to write each frame to a seperate file.

    This should be what the command line would look like for the above code :

    FFmpeg.exe -i <video url="url"> -vf fps=5,scale=128:128,format=rgb8,format=rgb24 out%d.jpg
    </video>

    If its not possible to parse the ArrayList directly, what other solutions do I have which would be more elegant ?

  • ffmpeg shell script globbing

    10 novembre 2015, par AD0AE

    I have a pretty straight forward question. I have a bunch of individual directories that are labeled as ./001 ./002 ... ./201
    within each directory contains files that have the identifier *_IO.PNG

    I can use the shell command : ffmpeg -framerate 20 -pattern_type glob -i './066/*IO.PNG' -c:v libx264 -pix_fmt yuv420p 066.mp4 and this works great. It does exactly what I want.

    However, I tried to write a shell script, which is below but this does not work. It seems to be loading individual files instead of all of them at once. Any help would be appreciated.

    #!/bin/bash
    for i in {1..5}
    do
      FILE=$(printf %03d $i)
      echo " This file: $FILE"
      infile='./$FILE/*IO.PNG'
      echo $infile
      ffmpeg -framerate 20 -pattern_type glob -i $infile -c:v libx264 -pix_fmt yuv420p './$FILE.mp4'
    done
  • Sending video stream from NodeJS to python in real time [closed]

    17 juin 2021, par Tristan Delort

    I'm using a NodeJS server to catch a video stream through a WebRTC PeerConnection and I need to send it to a python script.

    &#xA;

    I use NodeJS mainly because it's easy to use WebRTC in it and the package 'wrtc' supports RTCVideoSink and python's aiortc doesn't.

    &#xA;

    I was thinking of using a named pipe with ffmpeg to stream the video stream but 3 questions arose :

    &#xA;

      &#xA;
    • Should I use python instead of NodeJS and completely avoid the stream through a named pipe part ? (This means there is a way to extract individual frames from a MediaStreamTrack in python)

      &#xA;

    • &#xA;

    • If I stick with the "NodeJS - Python" approach, how do I send the stream from one script to the other ? Named pipe ? Unix domain sockets ? And with FFMpeg ?

      &#xA;

    • &#xA;

    • Finally, for performance purpose I think that sending a stream and not each individual frames is better and simpler but is this true ?

      &#xA;

    • &#xA;

    &#xA;

    Thanks all !

    &#xA;