Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (68)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (7940)

  • avcodec/mips : Improve hevc bi hz and hv mc msa functions

    27 octobre 2017, par Kaustubh Raste
    avcodec/mips : Improve hevc bi hz and hv mc msa functions
    

    Align the mask buffer.

    Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
    Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/hevc_mc_bi_msa.c
  • avcodec/pcm-blurayenc : Don't presume every channel layout to be native

    18 septembre 2022, par Andreas Rheinhardt
    avcodec/pcm-blurayenc : Don't presume every channel layout to be native
    

    The pcm_bluray encoder has AVCodec.ch_layouts set, so that
    ff_encode_preinit() checks that the channel layout in use
    is equivalent to one of the layouts from AVCodec.ch_layouts.
    Yet equivalent is not the same as identical ; in particular,
    custom layouts equivalent to native layouts are possible
    (and necessary if one wants to use the name/opaque fields
    with an ordinary channel layout), so one must not simply
    use AVChannelLayout.u.mask. Use av_channel_layout_subset()
    instead.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/pcm-blurayenc.c
  • Saving animations using ffmpeg and matplotlib

    2 juillet 2015, par PedroLago

    im new in here and new in python, im doing some animations with animation.FuncAnimation of matplotliib. The animation works perfectly but i´m having problems saving the animations. here is the part of the code of the animation.

    import numpy as np
    import matplotlib.pyplot as plt
    import matplotlib.animation as animation

    fig, ax = plt.subplots()

    line,  = ax.plot(range(N),sin(x[0,:]),'o-')
    ax.axis([0,1,-1,1])

    def animate(i):
       line.set_ydata(sin(x[i,:]))  # update the data
       return line,

    def init():
       line.set_ydata(np.ma.array(x[0,:], mask=True))
       return line,

    ani = animation.FuncAnimation(fig, animate, np.arange(1, 10000),
       interval=25, init_func=init, blit=True)
    ani.save('2osc.mp4', writer="ffmpeg")
    plt.show()

    where x[ :, :] is previously set. ani.save is saving every frame of the animation as a .npg image instade of saving the movie. I dont know if this is how it is suposed to work and i have to do the movie with the .npg with another program or if im doing something wrong.
    Obs : i’ve previously installed ffmpeg and it seems to be working just fine.