Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (110)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (10352)

  • Anomalie #2020 : Rendre optionnelles les extensions

    8 juin 2011, par guytarr °

    Bon, à présent ça me parait peu réaliste de vouloir un spip fonctionnel sans extensions. Par contre, si certaines sont nécessaires, d’autres devraient être vraiment optionnelles. Je pense notamment à breves, sites, petitions, mots, organiseur, grenier, squelettes_par_rubrique, statistiques... Or, (...)

  • Unable to save Matplotlib animations using ffmpeg

    23 décembre 2017, par jtpointon

    I have installed ffmpeg and added it to path, and checked it works in command prompt, but I am still unable to save animations. I have tried creating a sin wave that will animate when I don’t try to save it, but throws an error when I do to demonstrate ;

    from __future__ import division

    import numpy as numpy
    from matplotlib import pyplot as pyplot
    from matplotlib import animation

    fig = pyplot.figure()
    ax = pyplot.axes(xlim=(0, 2), ylim=(-2, 2))
    line, = ax.plot([], [], lw=2)

    def init():
       line.set_data([], [])
       return line,

    def animate(i):
       x = numpy.linspace(0, 2, 1000)
       y = numpy.sin(2 * numpy.pi * (x - 0.01 * i))
       line.set_data(x, y)
       return line,

    anim = animation.FuncAnimation(fig, animate, init_func=init, frames=200,
       interval=20, blit=True, repeat=False)

    FFwriter = animation.FFMpegWriter()
    anim.save('animation_testing.mp4', writer = FFwriter)

    pyplot.show()

    When I try to run this it throws the same errors over and over again, I assume as it iterates through each frame ;

    Traceback (most recent call last):
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\backends\backend_wx.py", line 212, in _on_timer
       TimerBase._on_timer(self)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\backend_bases.py", line 1273, in _on_timer
       ret = func(*args, **kwargs)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\animation.py", line 910, in _step
       still_going = Animation._step(self, *args)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\animation.py", line 769, in _step
       self._draw_next_frame(framedata, self._blit)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\animation.py", line 787, in _draw_next_frame
       self._pre_draw(framedata, blit)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\animation.py", line 800, in _pre_draw
       self._blit_clear(self._drawn_artists, self._blit_cache)
     File "c:\users\james\appdata\local\enthought\canopy\user\lib\site-
    packages\matplotlib\animation.py", line 840, in _blit_clear
       a.figure.canvas.restore_region(bg_cache[a])
    KeyError:

    Since it mentioned an error in _blit_clear I tried changing blit to False in FuncAnimation, but then it wouldn’t animate in the pyplot.show() when I didn’t try to save.

    I’m unsure as to where the error could be and so can’t work out how to fix this.

    I’m using Windows 10, python 2.7.6 and matplotlib version 1.4.2

    Many Thanks !

  • Videos which is only played by particular app, need help to save it

    19 septembre 2015, par Kumar

    There’s a app(i can’t disclose the app name) which plays video stored in memory card and videos have no extension, by viewing the file sizes im assuming that they are the videos + I also check changing the extension with mp4 flv 3gp etc but no success. I then decompiled the app and saw that app is using ffmpeg-jni to play the videos. Anybody can help me in this ? and yeah all videos have IGN in their meta tag.

    Thanks