Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (79)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

Sur d’autres sites (15447)

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

  • mpeg12dec : Extract CC user data into frame side data

    26 novembre 2013, par John Stebbins
    mpeg12dec : Extract CC user data into frame side data
    

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] doc/APIchanges
    • [DBH] libavcodec/mpeg12dec.c
    • [DBH] libavutil/frame.h
    • [DBH] libavutil/version.h
  • 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