Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (69)

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

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (12952)

  • Running matplotlib animation on Mac using Spyder : says to install ffmpeg

    28 avril 2017, par Addem

    I installed Anaconda on a new Mac, made a simple animation with matplotlib like

    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)


    anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])

    plt.show()

    When I run it, it tells me to install ffmpeg. I tried using these instructions : http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html But the instructions were unclear about what I was supposed to download, especially when it got to the part about a "patch". This also just feels insanely complicated for something that seems like it should be much simpler. I also tried following some instructions for installing ffmpeg using Homebrew but the instructions were again poorly written so that some of the buttons it said should be there weren’t. I tried to figure it out by guessing what I should do, and it seemed to work but with a lot of warning messages. By the end of the process, when I type into a terminal

    which ffmpeg

    it returns /usr/local/bin/ffmpeg. However, even after restarting Spyder and re-running the code, it still tells me to install ffmpeg. I also navigated to /usr/local/bin and it doesn’t have a folder ffmpeg. So my guess is that ffmpeg didn’t install.

    I read in the matplotlib documentation that Anaconda doesn’t give a build for Python that is appropriate, something about a "framework" build (http://matplotlib.org/faq/osx_framework.html). But it says that in Anaconda you can install it easily by running conda install python.app which I did and it worked. It then says to use pythonw rather than python. I’m not really sure what this means, because in Spyder I don’t run scripts from the terminal. I tried navigating to the file anyway and running it with

    pythonw anim.py

    and it mysteriously gave me an I/O error.

    Do I really need to install ffmpeg or is there some simpler fix ?

    If I do need to install ffmpeg, where get I get up-to-date instructions that make the process clear ?

  • Centos : yum install ffmpeg fails ?

    23 mars 2017, par David Hope

    I’m trying to install ffmpeg on my server.

    The problem is that when i run the following command :

    yum install ffmpeg

    I get the following error :

    http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'apt.sw.be'"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again

    I have this is in etc/yum.repos.d/CentOS-Base.repo

    [dag]
    name=Dag RPM Repository for Centos
    baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
    enabled=1

    I know the issue is the http://apt.sw.be as they are down...

    I cannot find an alternative mirrors for it... could someone please let me know if there are any working mirrors for this ?

  • Install ffmpeg with laravel on elastic beanstalk

    21 mars 2017, par comos234

    My Laravel application needs to use the ffmpeg library.I need it to get a thubmnail image from an input video file. On my local system , I have used http://tipsonubuntu.com/2016/11/02/install-ffmpeg-3-2-via-ppa-ubuntu-16-04/ and https://github.com/PHP-FFMpeg/PHP-FFMpeg composer package . But I dont know how to include the ffmpeg library on elastic beanstalk. Can someone please tell me the procedure ? I have read that you may have to put it in a .ebextensions directory, but I dont know how to do that. I have tried this link Install ffmpeg on elastic beanstalk using ebextensions config but it doesn’t work.