Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (111)

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

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (11137)

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

  • lavu/riscv : helper macro for VTYPE encoding

    5 octobre 2022, par Rémi Denis-Courmont
    lavu/riscv : helper macro for VTYPE encoding
    

    On most cases, the vector type (VTYPE) for the RISC-V Vector extension
    is supplied as an immediate value, with either of the VSETVLI or
    VSETIVLI instructions. There is however a third instruction VSETVL
    which takes the vector type from a general purpose register. That is so
    the type can be selected at run-time.

    This introduces a macro to load a (valid) vector type into a register.
    The syntax follows that of VSETVLI and VSETIVLI, with element size,
    group multiplier, then tail and mask policies.

    • [DH] libavutil/riscv/asm.S