Recherche avancée

Médias (91)

Autres articles (33)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • Can't save matplotlib animation (ffmpeg)

    25 mai 2014, par renger

    I am trying to get a simple animation saved using ffmpeg. I followed a tutorial to install ffmpeg, and I can now access it from the command prompt.

    Now I run this piece of code :

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

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

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

    def animate(i):
       x = np.linspace(0, 2, 1000)
       y = np.sin(2 * np.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)

    mywriter = animation.FFMpegWriter()
    anim.save('mymovie.mp4',writer=mywriter)

    plt.show()

    I get this error :

    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
      File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 523, in runfile
       execfile(filename, namespace)
     File "C:\Users\Renger\.xy\startups\b.py", line 23, in <module>
       anim.save('mymovie.mp4',writer=mywriter)
     File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 609, in save
       with writer.saving(self._fig, filename, dpi):
     File "C:\Python27\lib\contextlib.py", line 17, in __enter__
       return self.gen.next()
     File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 166, in saving
       self.setup(*args)
     File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 156, in setup
       self._run()
     File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 183, in _run
       stdin=subprocess.PIPE)
     File "C:\Python27\lib\subprocess.py", line 711, in __init__
       errread, errwrite)
     File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
       startupinfo)
    WindowsError: [Error 2] Het systeem kan het opgegeven bestand niet vinden
    </module></module></stdin>

    The last dutch sentence does mean something like : The system can’t find the specified file.

    What do these errors mean, and how can I solve them ?

    Best,

  • AVI video streaming over internet with FFMPAG/AVCONV or NGINX RTMP servers

    20 mai 2014, par Emmanuel Brunet

    I’ve got a general question regarding video streaming, FFMPEG/AVCONV and RTMP.

    I’ve read a lot of posts since several days to find out how to stream video over internet. But no answer fit my needs. I found examples with.mp4 to web/flv conversion .. and so on but none that works withe AVI real time video streaming.

    I need a straightforward example to put this in place.

    How to set up AVI video streaming over internet with much browser compatibility as possible using ffmpeg/avconv on debian / ubuntu and if possible the NGINX RTMP server ?

    I’ve set up an NGINX-1.70 server on debian (but could use another one), added the RTMP module configured with only the basic examples and I’d like to use FFMPEG (avconf) to convert AVI videos on the fly and make them available for streaming over internet (in a format that can be displayed by a wide range of browsers).

    Up to now, I understand that I need to setup a streaming server (ffmpeg/avconv server ?) or NGINX (my favorite), to convert videos on the fly with a bunch of horrible ffmpeg options and connect the output stream to the streaming server. That’s all ... still a long way to go to work out what I’m expecting !

    How can I do that ?

    Thanks for your help

  • FFMPEG run time error

    17 mai 2014, par saif

    I added FFMPEG to the references and the build is succeeded but when i run this error is appear

    Could not load file or assembly ’AForge.Video.FFMPEG.dll’ or one of
    its dependencies. The specified module could not be found.

    Looked at the Aforge page
    http://www.aforgenet.com/framework/docs/html/4ee1742c-44d3-b250-d6aa-90cd2d606611.htm and Find this..

    Make sure you have FFmpeg binaries (DLLs) in the output folder of your
    application in order to use this class successfully. FFmpeg binaries
    can be found in Externals folder provided with AForge.NET framework’s
    distribution.

    But I did not understand the meaning of it and how can I do that whether it is the reason of error