Recherche avancée

Médias (91)

Autres articles (107)

  • 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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    Pré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
    cbs_h265 : Fix reading of unknown parameter set extension data
    
    • [DBH] libavcodec/cbs_h265_syntax_template.c
  • Python unknown file extension .mp4

    18 février 2024, par marlise23

    I 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 8405526

    I’m trying to install ffmpeg extension but couldn’t success-ed. I’ve windows 7 64 bit, xampp version 3.2.2 with 7.1.1 PHP version and apache version is Apache/2.4.25 (Win32). Now I tried to install ffmpeg and get help from different forums like stackoverflow and other forums too but I got error instead of ffmpeg extension and now when I start my xampp software it gives me error, error title is httpd.exe - System Error and error is The 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 click Ok button after few seconds again it shows the same popup error with same title and error then my xampp's apache starts then I start mysql database and it starts normally, so is there any problem. Thanks in advance.