Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (35)

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (7018)

  • Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) properties.

    23 novembre 2012, par mlynch

    m demo/custom-messages-data-demo.html m demo/index.html m jquery.validate.js - lib/jquery.metadata.js m test/index.html m test/rules.js m test/test.js Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) (...)

  • Save an animation on Python

    11 novembre 2018, par Nausicaa

    I am trying to save a simple animation maid by a Python code using the following commands :

       anim = animation.FuncAnimation(fig, animate, init_func=init,
                                      frames = 100, interval = 20, blit = True)
       anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])

    But Python returns :

    C:\Program Files\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\lib\site-packages\matplotlib\animation.py:971: UserWarning: MovieWriter ffmpeg unavailable
    warnings.warn("MovieWriter %s unavailable" % writer)

    Traceback (most recent call last):

    File "", line 1, in <module>
    runfile('D:/Documents/Informatique/Spyder/test_anim2d.py', wdir='D:/Documents/Informatique/Spyder')

    File "C:\Program Files\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile
    execfile(filename, namespace)

    File "C:\Program Files\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

    File "D:/Documents/Informatique/Spyder/test_anim2d.py", line 34, in <module>
    anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])

    File "C:\Program Files\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\lib\site-packages\matplotlib\animation.py", line 978, in save
    raise ValueError("Cannot save animation: no writers are "

    ValueError: Cannot save animation: no writers are available. Please install ffmpeg to save animations.
    </module></module>

    However, I have installed ffmpeg so I have no clue...

    Maybe it is in the wrong directory ? I installed it in C :\Program Files\WinPython-64bit-3.6.1.0Qt5\scripts

    Thanks !

  • How to save fluent-ffmpeg output to URL ?

    10 avril 2024, par volume one

    I am using fluent-ffmpeg to process videos and I want to save the final output file to a remote URL, not on the local server.

    &#xA;

    Here is the code :

    &#xA;

       ffmpeg(&#x27;/path/to/file.mp4&#x27;)&#xA;      .videoCodec(VideoCodec)&#xA;      .audioCodec(AudioCodec)&#xA;      .format(&#x27;mp4&#x27;)&#xA;      .output(&#x27;http://localhost:8080/output.mp4&#x27;) // This does not work at all&#xA;      .output(&#x27;output.mp4&#x27;) // this works but saves file locally which I&#x27;m not allowed to do&#xA;      .run();&#xA;

    &#xA;

    How can I save the file directly to a remote location (that is, without saving it locally) ? I know you can stream the output using pipe, but I cannot use streams because then ffpmeg will not set the duration value of the file.

    &#xA;