
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (43)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip 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, parMediaSPIP 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 2011MediaSPIP 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 Melaga888I 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@… — LogUn 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 gfI'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
type object 'FuncAnimation' has no attribute '_first_draw_id'
 File "C:\Users\Fernando\Documents\Circulos\circulos.py", line 102, in <module> anim.save(anim, filename="my_animation.gif", writer=FFwriter)
</module>


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.


import smtplib, os
import matplotlib.pyplot as plt
from matplotlib import animation
import math
from celluloid import Camera

plt.rcParams['animation.ffmpeg_path'] = os.getcwd() + '\\Circulos\\ffmpeg\\bin\\ffmpeg.exe'


#axes
figure, axes = plt.subplots()
axes.set_aspect(1)
axes.set_xlim((-xmax(C)),(xmax(C)))
axes.set_ylim((-ymax(C)),(ymax(C)))

b = 0

#add initial circles
for a in range 5:
 draw_circle = plt.Circle((a, a), 2, fc = 'None', ec = 'r')
 axes.add_artist(draw_circle)


#create figure and camera
figure, axes = plt.subplots()
axes.set_aspect(1)
axes.set_xlim((-xmax(C)),(xmax(C)))
axes.set_ylim((-ymax(C)),(ymax(C)))
camera = Camera(figure) 

Frame_time = 10

for b in range(Frame_time):

 #add circles
 for a in range 5:
 draw_circle = plt.Circle((a, a), 2, fc = 'None', ec = 'r')
 axes.add_artist(draw_circle)

 #Frame Picture
 camera.snap()


#create animation
anim = camera.animate()
anim = animation.FuncAnimation
FFwriter = animation.FFMpegWriter()
anim.save(anim, filename="my_animation.gif", writer=FFwriter)



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