Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (111)

  • 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

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

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

  • rtmpproto : Add function to read a number response

    14 octobre 2014, par Uwe L. Korn
    rtmpproto : Add function to read a number response
    

    Packets that contain a number as a result to a rtmp function call are
    structured the same way (String, Number, Null, Number). This new method
    also includes more bounds checks to better handle packets that are not
    structured as expected.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtmpproto.c
  • Animation freezes after a number of frames after upgrading Matplotlib

    9 mars 2018, par Oliver von Baron

    I recently updated my matplotlib python package to version 2.2.0, and now some previously working code to save an animation does not work. Instead of saving an animation, the code freezes at a certain iteration number. It becomes unresponsive to interrupts and throws a PyEval_RestoreThread fatal error when I manage to close the command window.

    I am using Enthought Canopy. The code still works as normal with other versions of python and matplotlib.

    I can replicate the problem with this :

    import matplotlib.pyplot as plt
    import matplotlib.animation as animation
    import numpy as np

    SIZE = 128
    fig, ax = plt.subplots()

    ims = ax.imshow(np.random.rand(SIZE, SIZE))

    i = 0
    def update_animation(*args):
       global i
       i = i + 1
       image = np.random.rand(SIZE, SIZE)
       ims.set_data(image)
       print "Iteration "+str(i)

    F_NAME = "anim_test.mp4"
    NUM_ITERS = 1000
    FFwriter = animation.FFMpegWriter(fps=6, bitrate=500)
    anim=animation.FuncAnimation(fig,update_animation,frames=NUM_ITERS,blit=False, repeat=False, interval=200)
    anim.save(F_NAME, writer=FFwriter)    
    print "saved animation to " + F_NAME

    Changing the bitrate parameter changed the number of the frame the program halts at. For bitrate=500, it halts around frame 46.

    How can I stop pyplot freezing before all frames can be saved ?

    EDIT
    My system details :
    Python 2.7.6 64bit Enthought Canopy
    Windows 8
    8GB RAM
    ffmpeg version N-79075-ga7b8a6e

  • Updated version number.

    14 mai 2014, par blueimp
    Updated version number.