Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (111)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (7352)

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

    


    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 !

    


  • Concatenate chunk containg headers to another chunk in h264

    18 novembre 2014, par Ortixx

    I’m trying to extract thumbnails from a torrent stream by downloading the first couple of chunks to get the headers, another set of chunks from the middle and then concat them to have a single video file.

    For this I’m using nodejs but I’m having trouble with the concatenation part. Obviously the headers include the length of the video so if I simply concat another chunk to the end of the headers chunk, it won’t work.

    In other words, I have 2 chunks of a video file : The first one contains the headers and some material and the other one is fully composed of a video stream. I want to combine the two to form a single video file
    So my question is how can I make this work properly if at all ?