Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

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

Sur d’autres sites (6836)

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

  • ffmpeg options : Enable trailing ? for map_channel

    22 août 2017, par pkviet
    ffmpeg options : Enable trailing ? for map_channel
    

    The -map option allows for a trailing ? so that an error is not thrown if
    the input stream does not exist.
    This capability is extended to the map_channel option.
    This allows a ffmpeg command not to break if an input channel does not
    exist, which can be of use (for instance, scripts processing audio
    channels with sources having unset number of audio channels).

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] doc/ffmpeg.texi
    • [DH] ffmpeg_opt.c
    • [DH] tests/fate/ffmpeg.mak
    • [DH] tests/ref/fate/mapchan-2ch-extract-ch0-ch2-trailing
    • [DH] tests/ref/fate/mapchan-3ch-extract-ch0-ch2-trailing
  • tools/python : add script to convert TensorFlow model (.pb) to native model (.model)

    13 juin 2019, par Guo, Yejun
    tools/python : add script to convert TensorFlow model (.pb) to native model (.model)
    

    For example, given TensorFlow model file espcn.pb,
    to generate native model file espcn.model, just run :
    python convert.py espcn.pb

    In current implementation, the native model file is generated for
    specific dnn network with hard-code python scripts maintained out of ffmpeg.
    For example, srcnn network used by vf_sr is generated with
    https://github.com/HighVoltageRocknRoll/sr/blob/master/generate_header_and_model.py#L85

    In this patch, the script is designed as a general solution which
    converts general TensorFlow model .pb file into .model file. The script
    now has some tricky to be compatible with current implemention, will
    be refined step by step.

    The script is also added into ffmpeg source tree. It is expected there
    will be many more patches and community needs the ownership of it.

    Another technical direction is to do the conversion in c/c++ code within
    ffmpeg source tree. While .pb file is organized with protocol buffers,
    it is not easy to do such work with tiny c/c++ code, see more discussion
    at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-May/244496.html. So,
    choose the python script.

    Signed-off-by : Guo, Yejun <yejun.guo@intel.com>

    • [DH] .gitignore
    • [DH] tools/python/convert.py
    • [DH] tools/python/convert_from_tensorflow.py