Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

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

    


    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.

    


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

    


      

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

      


    • 


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

      


    • 


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

      


    • 


    


    Thanks all !

    


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