Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (55)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4632)

  • POST 500 Error (BrokenPipeError) when launching Video Stream

    2 décembre 2015, par Charlie

    I’m using Python 3.4.1, nodejs and a Python server to stream video to my browser.

    • The list of videos to play is stored in JSON.
    • I launch the Python server & the nodejs server.

      > node server.js
      Listening for MPEG Stream on http://serverIP:port1
      Awaiting WebSocket connections on ws://serverIP:port2/

    My Python method streams the video using port1, then in the browser I use a jsmpg canvas connected to port2.

       var client = new WebSocket( 'ws://serverIP:port2/' );

    All this works fine in local.

    But when using it on the server, we get a POST 500 (Internal Server Error).
    In shell, the error is :

    pipes[0].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/thefps).tostring())
    BrokenPipeError: [Errno 32] Broken pipe
    • Both ports are open.
    • The distribution & ffmpeg versions are the same, on my machine & on the server.

    I’ve found similar questions here, but none fitting my configuration. My code is as below. Thanks in advance :)

    def stream_video(self, address):

       #We create one pipe and one command per sequence. Then, for
       #each interval of time out of a composition, we run the basic
       #streaming. Otherwise, we run the corresponding streaming
       fp = open("log_stream.txt", "w") # just log purpose
       ff_cmds = [ffmpeg.FFmpeg_command_builder().get_main_command(address, Video_editor.clip_final)]
       pipes = [sp.Popen(ff_cmds[-1], stdout = DEVNULL, stdin=sp.PIPE, stderr=fp)]
       intervals = [[False, 0]]

       for val in Video_editor.ffmpeg_compositions:
           ff_cmds.append(ffmpeg.FFmpeg_command_builder().get_overlay_command(address, Video_editor.clip_final, val[0], val[2], val[3], val[4], val[5]))
           pipes.append(sp.Popen(ff_cmds[-1], stdout = DEVNULL, stdin=sp.PIPE, stderr=fp))

           intervals.append([True, val[1]])
           intervals.append([False, val[1] + val[2]])

       intervals.append([False, Video_editor.clip_final.end])

       i = 0
       n = 0
       for i in range(len(intervals) - 1):
           print("Interval", intervals[i], intervals[i+1])
           if intervals[i][0]:
               n += 1

           for t in range(int(Video_editor.clip_final.fps*(intervals[i+1][1] - intervals[i][1]))):
               if intervals[i][0]:                                  
                   pipes[n].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/Video_editor.clip_final.fps).tostring())
               else:
                   pipes[0].stdin.write(Video_editor.clip_final.get_frame(intervals[i][1] + float(t)/Video_editor.clip_final.fps).tostring())

       for pipe in pipes:
           pipe.terminate()
  • time stamping using ffmpeg for recording the live stream

    6 septembre 2012, par user1650873

    I have a live video coming from multicast address 239.xxx.xxx.xxx port 5006 with 15 frames/s, i want to capture this video and time stamp current date and time, and save it in MPEG4(h.264) format using ffmpeg. since i am new to ffmpeg please help me in this matter.

  • ffmpeg split video H264 stutters on Windows Media Player

    9 mars 2019, par Juan Foegen

    I am converting and splitting wmv and mp4 into new mp4 files. I am using ffmpeg to do the conversion with simply :
    ffmpeg -i inputfile.wmv -vcodec libx264 -ss 00:00:10 -t 00:00:15 outputfile.mp4

    So when I create my split video it plays fine on other video players, like VLC, but stutters when initially playing on Windows Media Player and even shows a blank screen for a moment and then after about 5 seconds, the video will play normally. If I then select play again without reloading, Windows Media Player will play the video fine, with no stuttering.

    If I REMOVE the start parameter when doing the conversion, then the resulting video will play without issues on all my players, INCLUDING Windows Media Player.

    I have tried changing the frame rate, the bit rate and altered different optimization options mentioned here - https://trac.ffmpeg.org/wiki/Encode/H.264

    I need the split video to play on Windows machines on Windows Media Player and on the web streamed using the video element. This is why I chose H264 codec and MP4.

    Has anyone had issues playing ffmpeg split videos using H264 codec with Windows Media Player ? I am using the latest version of ffmpeg. Anyone have any other suggestions on any different settings I could try to adjust ?

    Thanks