Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (72)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5677)

  • Matplotlib animation won't save

    17 décembre 2014, par abe678

    I am trying to learn how to create matplotlib animations by using Jake Vanderplas’s basic example, but I’m having trouble getting the figure to save. I installed ffmpeg on my Mac via homebrew.

    The only changes that I have made are to add :

    import matplotlib
    matplotlib.use('TKAgg')

    When I run this script I receive the following error :

    anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])
    TypeError: save() got an unexpected keyword argument 'extra_args'

    Based on the many other similar questions, I’ve tried setting the ffmpeg path with

    plt.rcParams['animation.ffmpeg_path']

    but that also gives me an error :

    File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/__init__.py", line 660, in __setitem__
     See rcParams.keys() for a list of valid parameters.' % (key,))
    KeyError: 'animation.ffmpeg_path is not a valid rc parameter.See rcParams.keys() for a list of valid parameters.'

    After removing the rcParams setting, I also tried adjusting the save command to avoid the aforementioned TypeError :

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

    This runs with no error, but the mp4 file is not created. I have read over every thread and tried every solution I can find, but nothing changes. The plt.show() call works just fine. Can anyone please point me in the right direction ? Thanks !

    Update : I’m using matplotlib version 1.1.1

  • Installed ffmpeg, added to path, still can't save animation from Jupyter Notebook

    29 avril 2017, par dredre_420

    I’m trying to simulate a two-body orbit system working on Jupyter Notebook (python). Since the animation can’t display in-line I tried installing ffmpeg and adding it to the system path using steps outlined here : http://adaptivesamples.com/how-to-install-ffmpeg-on-windows/.

    However, when I try to save my animation using anim.save('orbit.mp4', fps=15, extra_args=['-vcodec', 'libx264']), I still get the error message : ValueError: Cannot save animation: no writers are available. Please install mencoder or ffmpeg to save animations.

    Not sure what else to try at this point, very inexperienced programmer here.

  • avformat : add a Tile Grid stream group type

    22 janvier 2024, par James Almer
    avformat : add a Tile Grid stream group type
    

    This will be used to support tiled image formats like HEIF.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] doc/APIchanges
    • [DH] libavformat/avformat.c
    • [DH] libavformat/avformat.h
    • [DH] libavformat/dump.c
    • [DH] libavformat/options.c
    • [DH] libavformat/version.h