
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (107)
-
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 -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Ecrire une actualité
21 juin 2013, parPré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 (14424)
-
cbs_h265 : Fix reading of unknown parameter set extension data
28 août 2017, par Mark Thompson -
Python unknown file extension .mp4
18 février 2024, par marlise23I am working on a simulation project, however I am unable to create a visual. I started out by running code from matplotlib's documentation (i.e. the code does not belong to me).
When I run the code, I get the error "unknown file extension : .mp4". 
I have installed ffmpeg and checked that it is an updated version.



I am using a Windows computer and Python 3.



import numpy as np
from matplotlib import pyplot as plt
from matplotlib import animation
plt.rcParams['animation.ffmpeg_path']='C:\\FFmpeg\bin\ffmpeg.exe'

# First set up the figure, the axis, and the plot element we want to animate
fig = plt.figure()
ax = plt.axes(xlim=(0, 2), ylim=(-2, 2))
line, = ax.plot([], [], lw=2)

# initialization function: plot the background of each frame
def init():
 line.set_data([], [])
 return line,

# animation function. This is called sequentially
def animate(i):
 x = np.linspace(0, 2, 1000)
 y = np.sin(2 * np.pi * (x - 0.01 * i))
 line.set_data(x, y)
 return line,

# call the animator. blit=True means only re-draw the parts that have changed.
anim = animation.FuncAnimation(fig, animate, init_func=init,
 frames=200, interval=20, blit=True)

# save the animation as an mp4. This requires ffmpeg or mencoder to be
# installed. The extra_args ensure that the x264 codec is used, so that
# the video can be embedded in html5. 
anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264'])

plt.show()



-
Can't install ffmpeg extension in xampp 3.2.2 in windows 7
25 mars 2019, par User 8405526I’m trying to install
ffmpeg
extension but couldn’t success-ed. I’vewindows 7 64 bit
,xampp version 3.2.2
with7.1.1 PHP version
andapache version is Apache/2.4.25 (Win32)
. Now I tried to installffmpeg
and get help from different forums like stackoverflow and other forums too but I got error instead offfmpeg
extension and now when I start myxampp
software it gives me error, error title ishttpd.exe - System Error
and error isThe program can't start because php5ts.dll is missing from your computer. Try reinstalling the program to fix this problem
image of error is also attached here when I clickOk
button after few seconds again it shows the same popup error with same title and error then myxampp's apache
starts then I startmysql
database and it starts normally, so is there any problem. Thanks in advance.