Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (48)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6778)

  • Running FFMPEG and FFserver from Glassfish Java Servlet

    6 mai 2015, par Ivan Ling

    I’m planning to design a web interface to control my FFserver remotely. The question is, is it possible to start/stop the FFserver running on my Linux server using a Servlet running on the same machine ?

    I’m using Glassfish server and Java EE 7 for my web application. Currently I managed to get my web app to obtain http streams (which are started manually in terminal with predefined config file) and play them on the web. However, now I want to find a way to stop the streams and start the streams on demand.

    Is it possible for me to run a Bash script via the servlet ? Or are there any better solutions which allows Servlets to run linux commands in the servlet ?

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

  • Ffmpeg error : Rotate thumbnail image of video

    9 septembre 2016, par user3418135

    Iam using ffmpeg to generate thumbnail image from a video .mov (uploaded from iPhone)

    This is PHP code on live server to generate :

    public static function generateThumbnail($inputUrl, $outputUrl) {
       $cmd = "ffmpeg -i ".$inputUrl." -ss 00:00:01 -vframes 1 -s 200x200 ".$outputUrl;
       exec($cmd);
    }

    On live server (CentOS 6.5) : If I run this cmd in terminal, it working. But if I run by calling above function php then thumbnail image will be rotated -90 degrees.

    If i run two cases on localhost (LinuxMint 17.2) then all ok.

    Thanks all.