Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (103)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9754)

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

  • How to save multiple frames in JPG with FFMPEG using timestamp

    13 janvier 2019, par user3228278

    I’m trying to save JPG files from a UDP stream using FFMPEG.

    I want the filenames to be timestamp like YYYY-MM-DD_HH-MM-SS_MMM.jpg, but it seems that milliseconds not are supported by FFMPEG. I need a unique number after the second to be able to save multiple frames per second.

    ffmpeg -i udp://@239.255.37.1:18888 -f image2 -vf fps=1 -strftime 1 "R:\Recordings\Images\Stream1\%Y-%m-%d_%H-%M-%S.jpg"

    I expect the files to be like this :
    2019-01-13_01-58-15_100.jpg, 2019-01-13_01-58-15_600.jpg