Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (76)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • How do I search for files inside a directory, then burn the name of that directory into the files inside using ffmpeg ?

    23 janvier 2021, par ematogra

    I'm struggling to articulate this question- but I'm after a way of searching for files inside any directory that may exist in my search area (ie. not specifying the name of the directory), then using that directory name as a burn in on the files I have inside it, using ffmpeg ?

    


    So for example, say I had a folder with my script inside it. I've just created a folder called "day 01" inside the folder with the script, with some mxf files inside that. If I run my script, I want it to find the mxf files inside "day 01" then run ffmpeg and have that write "day 01" as a burn in on the picture of those mxf files.

    


    I know how to do the burn in, I just don't know how to reference the directory "day 01".

    


    Hope that makes sense. Thanks in advance.

    


  • FFMPEG file writer in python 2.7

    6 avril 2017, par byBanachTarskiIamcorrect

    Trying to animate a string in python, i think my code is fine but just having difficulties with the file writer. My code is (based off https://jakevdp.github.io/blog/2012/08/18/matplotlib-animation-tutorial/) :

    import numpy as np
    import scipy as sci
    import matplotlib.pyplot as plt
    import matplotlib.animation as animation
    plt.rcParams['animation.ffmpeg_path'] = 'C:\FFMPEG\bin\ffmpeg'


    s1=10.15
    gamma=(np.pi*np.sqrt(2))/2
    gamma=sci.special.jn_zeros(0,10)
    gamma1=gamma[9]
    gamma2=gamma[8]
    print gamma1,gamma2

    sigma=np.linspace(0,2*s1,10000)

    def xprime(sigma,t):
       alpha = gamma1*(np.cos(np.pi*t/s1)*np.cos((np.pi*sigma)/s1))
       beta = gamma1*(np.sin(np.pi*t/s1)*np.sin((np.pi*sigma)/s1))
       xprime=np.cos(alpha)*np.cos(beta)
       return xprime

    def yprime(sigma,t):
       alpha = gamma2*(np.cos(np.pi*t/s1)*np.cos((np.pi*sigma)/s1))
       beta = gamma2*(np.sin(np.pi*t/s1)*np.sin((np.pi*sigma)/s1))
       yprime=np.cos(alpha)*np.sin(beta)
       return yprime

    fig = plt.figure()
    ax = plt.axes(xlim=(-0.4, 0.4), ylim=(-3, 3))
    line, = ax.plot([], [], lw=2)

    def init():
       line.set_data([], [])
       return line,

    def animate(i):
       sigma=np.linspace(0,2*s1,10000)
       t = (i*2*s1)/200
       yint=sci.integrate.cumtrapz(yprime(sigma,t),sigma)
       xint=sci.integrate.cumtrapz(xprime(sigma,t),sigma)
       line.set_data(xint, yint)
       return line,


    anim = animation.FuncAnimation(fig, animate, init_func=init,
                              frames=200, interval=20, blit=True)

    FFwriter=animation.FFMpegWriter()
    anim.save('basic_animation.mp4', writer=FFwriter, fps=30, extra_args=['-vcodec', 'libx264'])

    plt.show()

    Currently getting the error message

    RuntimeError: Passing in values for arguments for arguments fps, codec, bitrate, extra_args, or metadata is not supported when writer is an existing MovieWriter instance. These should instead be passed as arguments when creating the MovieWriter instance.'

    I think my error is in the calling or placement of the FFMpeg file but i’m unsure what i’m doing wrong. Probably very obvious but can’t see it at the moment / unsure what the error message actually means.

  • How to merge 3 video in one screen with blur

    12 avril 2019, par Fejor

    How to merge 3 videos on one screen, with blur on 2 of videos

    I already wrote code and it’s look likes this

    ffmpeg -i input.avi input1.avi input2.avi -filter_complex "[0:v]gblur=sigma=6.5[v10];[1:v][v11];[2:v]gblur=sigma=6.5[v12];[v10][v11][v12]hstack=inputs=3[v]" -map "[v]" output.avi

    And i get error like this

       o such filter: ''
    Error initializing complex filters.
    Invalid argument

    What i should do ?