Recherche avancée

Médias (91)

Autres articles (55)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10088)

  • Http server live streaming in python

    8 juillet 2015, par George Subi

    I want to send the live output of ffmpeg command to every GET request, but I’m novice in python and can’t solve it. This is my code :

    import subprocess # for piping
    from http.server import HTTPServer, BaseHTTPRequestHandler

    class RequestHandler(BaseHTTPRequestHandler):

       def _writeheaders(self):
           self.send_response(200) # 200 OK http response
           self.send_header('Connection', 'keep-alive')
           self.send_header('Content-Type', 'video/mp4')
           self.send_header('Accept-Ranges', 'bytes')
           self.end_headers()

       def do_GET(self):
           self._writeheaders()
           global p
           DataChunkSize = 10000

           print("starting polling loop.")
           while(p.poll() is None):
               print("looping... ")
               stdoutdata = p.stdout.read(DataChunkSize)
               self.wfile.write(stdoutdata)

           print("Done Looping")

           print("dumping last data, if any")
           stdoutdata = p.stdout.read(DataChunkSize)
           self.wfile.write(stdoutdata)

    if __name__ == '__main__':
       command = 'ffmpeg -re -i video.avi -an -vcodec libx264 -vb 448k -f mp4 -movflags dash -'
       print("running command: %s" % (command, ))
       p = subprocess.Popen(command, stdout=subprocess.PIPE, bufsize=-1, shell=True)
       print("Server in port 8080...")
       serveraddr = ('', 8080) # connect to port 8080
       srvr = HTTPServer(serveraddr, RequestHandler)
       srvr.serve_forever()

    This is a prove of concept with a video.avi but the real application is with a live signal video.

    When connect to html5 video tag, play the video well, but when open another connection then play the video from the begining and not from the live moment. Also, when close the web, the server print an error :

    BrokenPipeError: [Errno 32] Broken pipe

    Yes, the pipe is broken when cut the connection is obvious. I think that maybe do it with pipes is not correct, but I don’t know how to do it.

    The goal is to run only one ffmpeg command and the output send to every client connected or will do it. Anybody can help me please ?

  • Evolution #3509 (Nouveau) : Visualiser un changelog depuis l’interface des plugins

    23 juillet 2015, par placido roxing

    L’idée est d’ajouter un lien sur le numéro de version de chaque plugin depuis la page ?exec=admin_plugin pour afficher (dans une mediabox) son changelog.

    D’aucuns diront qu’il existe déjà un lien vers la documentation... certes. Mais même si cette dernière a été consciencieusement mise à jour, il est rare qu’elle retranscrive exactement tous les derniers changements introduits.
    Une telle source d’informations, rapidement consultable depuis la partie privée, m’apparaît avantageuse au moment d’une mise à jour, voire précieuse pour déceler une éventuelle incompatibilité.
    C’est aussi un bon moyen de voir la fréquence de maintenance du plugin.

    Je pense que l’affichage du lien peut être conditionné - par exemple - à la présence d’un fichier changelog.txt à la racine du plugin, lequel serait affiché dans la mediabox.
    Dès lors, le plus gros de la fonctionnalité ne concerne pas SVP mais l’empaqueteur de la Zone qui pourrait se charger de la génération du changelog de manière automatique.

  • Extract video from streaming

    30 mars 2017, par David Puleri

    Imagine a live video being streamed from a HD Camera to a computer. I would like to place markers at various moment on this stream in order to extract the content between markers to a file.

    I am familiar with Scala but I could considere looking at any other technology do to the job.

    Any idea on how to get started with this crazy idea ? :D

    Thanks !