Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (43)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

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

Sur d’autres sites (8415)

  • ffmpeg : 1 audio file + js animation = 1 mp4 video

    9 juin 2014, par Melaga888

    I would like to make an mp4 file from 1 audio file and some java script animations produced on a browser ?! How is that possible please ?
    Any working example or ideas would be greatly appreciated.

    Thank you everyone

  • Revision 33048 : Un flv n’a pas forcément de vidéo associée ... on écrit les metadatas ...

    18 novembre 2009, par kent1@… — Log

    Un flv n’a pas forcément de vidéo associée ... on écrit les metadatas avant pour être sûr

  • AttributeError while saving an animation using celluloid, Python 3.9

    26 juillet 2021, par rafael gf

    I'm trying to create a simple animation using the celluloid library, but I'm getting an attribute error when trying to save it. I'm not familiar with ffmpeg, but I read I should install it and point to its executable file for the saving to work, not sure what's going wrong. The massage I'm getting is :

    


    Exception has occurred: AttributeError&#xA;type object &#x27;FuncAnimation&#x27; has no attribute &#x27;_first_draw_id&#x27;&#xA; File "C:\Users\Fernando\Documents\Circulos\circulos.py", line 102, in <module>  anim.save(anim, filename="my_animation.gif", writer=FFwriter)&#xA;</module>

    &#xA;

    I'll out the simplification version of the code below - I'm suppressing the part where I do some tucking with the circles, but I've done some testing plot by plot and it is working fine.

    &#xA;

    import smtplib, os&#xA;import matplotlib.pyplot as plt&#xA;from matplotlib import animation&#xA;import math&#xA;from celluloid import Camera&#xA;&#xA;plt.rcParams[&#x27;animation.ffmpeg_path&#x27;] = os.getcwd() &#x2B; &#x27;\\Circulos\\ffmpeg\\bin\\ffmpeg.exe&#x27;&#xA;&#xA;&#xA;#axes&#xA;figure, axes = plt.subplots()&#xA;axes.set_aspect(1)&#xA;axes.set_xlim((-xmax(C)),(xmax(C)))&#xA;axes.set_ylim((-ymax(C)),(ymax(C)))&#xA;&#xA;b = 0&#xA;&#xA;#add initial circles&#xA;for a in range 5:&#xA;    draw_circle = plt.Circle((a, a), 2, fc = &#x27;None&#x27;, ec = &#x27;r&#x27;)&#xA;    axes.add_artist(draw_circle)&#xA;&#xA;&#xA;#create figure and camera&#xA;figure, axes = plt.subplots()&#xA;axes.set_aspect(1)&#xA;axes.set_xlim((-xmax(C)),(xmax(C)))&#xA;axes.set_ylim((-ymax(C)),(ymax(C)))&#xA;camera = Camera(figure) &#xA;&#xA;Frame_time = 10&#xA;&#xA;for b in range(Frame_time):&#xA;&#xA;     #add circles&#xA;     for a in range 5:&#xA;        draw_circle = plt.Circle((a, a), 2, fc = &#x27;None&#x27;, ec = &#x27;r&#x27;)&#xA;        axes.add_artist(draw_circle)&#xA;&#xA;    #Frame Picture&#xA;    camera.snap()&#xA;&#xA;&#xA;#create animation&#xA;anim = camera.animate()&#xA;anim = animation.FuncAnimation&#xA;FFwriter = animation.FFMpegWriter()&#xA;anim.save(anim, filename="my_animation.gif", writer=FFwriter)&#xA;

    &#xA;

    I'm working on VS code, the latest version I just updated it, and python 3.9

    &#xA;