Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (43)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5288)

  • Saving scatterplot animations with matplotlib produces blank video file

    1er avril 2013, par user2175850

    I am having a very similar problem to this question

    but the suggested solution doesn't work for me.

    I have set up an animated scatter plot using the matplotlib animation module. This works fine when it is displaying live. I would like to save it to an avi file or something similar. The code I have written to do this does not error out but the video it produces just shows a blank set of axes or a black screen. I've done several checks and the data is being run and figure updated it's just not getting saved to video...

    I tried removing "animated=True" and "blit=True" as suggested in this question but that did not fix the problem.

    I have placed the relevant code below but can provide more if necessary. Could anyone suggest what I should do to get this working ?

    def initAnimation(self):
           rs, cfgs = next(self.jumpingDataStreamIterator)    
           #self.scat = self.axAnimation.scatter(rs[0], rs[1], c=cfgs[0], marker='o')
           self.scat = self.axAnimation.scatter(rs[0], rs[1], c=cfgs[0], marker='o', animated=True)
           return self.scat,


    def updateAnimation(self, i):
       """Update the scatter plot."""
       rs, cfgs = next(self.jumpingDataStreamIterator)
       # Set x and y data...
       self.scat.set_offsets(rs[:2,].transpose())
       #self.scat = self.axAnimation.scatter(rs[0], rs[1], c=cfgs[0], animated=True)
       # Set sizes...
       #self.scat._sizes = 300 * abs(data[2])**1.5 + 100
       # Set colors..
       #self.scat.set_array(cfgs[0])
       # We need to return the updated artist for FuncAnimation to draw..
       # Note that it expects a sequence of artists, thus the trailing comma.
       matplotlib.pyplot.draw()
       return self.scat,

    def animate2d(self, steps=None, showEvery=50, size = 25):
       self.figAnimation, self.axAnimation = matplotlib.pyplot.subplots()
       self.axAnimation.set_aspect("equal")
       self.axAnimation.axis([-size, size, -size, size])
       self.jumpingDataStreamIterator = self.jumpingDataStream(showEvery)

       self.univeseAnimation = matplotlib.animation.FuncAnimation(self.figAnimation,
                               self.updateAnimation, init_func=self.initAnimation,
                               blit=True)
       matplotlib.pyplot.show()

    def animate2dVideo(self,fileName=None, steps=10000, showEvery=50, size=25):
       self.figAnimation, self.axAnimation = matplotlib.pyplot.subplots()
       self.axAnimation.set_aspect("equal")
       self.axAnimation.axis([-size, size, -size, size])
       self.Writer = matplotlib.animation.writers['ffmpeg']
       self.writer = self.Writer(fps=1, metadata=dict(artist='Universe Simulation'))
       self.jumpingDataStreamIterator = self.jumpingDataStream(showEvery)

       self.universeAnimation = matplotlib.animation.FuncAnimation(self.figAnimation,
                               self.updateAnimation, scipy.arange(1, 25), init_func=self.initAnimation)

       self.universeAnimation.save('C:/universeAnimation.mp4', writer = self.writer)
  • ffplay / OpenFrameworks / AR Parrot Drone / TCP video

    13 janvier 2014, par gabriella

    I can get a video stream coming from AR parrot 2.0 drone by running "ffplay tcp ://192.168.1.1:5555"
    But I'm trying to get this video stream into OpenFrameworks.

    1. is there a way to figure out how to pipe this video into OF ?
    2. Can I make this ffplay call directly in OF so the video is in the OF app by default ?

    there is no ffmpeg module for OpenFrameworks that I know of.
    Thanks

  • Revision af31b27aae : Optimze inv 16x16 DCT with 10 non-zero coeffs - P2 This commit further optimize

    9 janvier 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/common/x86/vp9_idct_intrin_sse2.c



    Optimze inv 16x16 DCT with 10 non-zero coeffs - P2

    This commit further optimizes SSE2 operations in the second 1-D
    inverse 16x16 DCT, with (<10) non-zero coefficients. The average
    runtime of this module goes down from 779 cycles -> 725 cycles.

    Change-Id : Iac31b123640d9b1e8f906e770702936b71f0ba7f