Recherche avancée

Médias (91)

Autres articles (75)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (4453)

  • FFmpeg move overlay from one pixel coordinate to another

    30 janvier, par occvtech

    I'm trying to write a command within FFmpeg that will first overlay one video stream on top of another one. Then I want the overlayed video to move from one pixel coordinate at a known time, and end at another pixel coordinate at a later time.

    



    I'm comfortable with the basics of the -filter_complex, but I cannot figure out how to apply any arithmetic expressions - like the one's referenced here : https://www.ffmpeg.org/ffmpeg-utils.html#Expression-Evaluation

    



    Here's an example of something I'd like to accomplish.

    



    ffmpeg -i [INPUT1] -i [INPUT2] -filter_complex "[0:v][1:v]overlay=shortest=1:x=720:y=0:enable='between(t,10,20)'[overlay];...


    



    In this example the overlay is stationary at pixel coordinate 720x0 from the 10th second to the 20th second.

    



    However, Id like to have it move to a new location in a linear fashion and end at a different pixel coordinate.

    



    For example, during that 10 second overlay, I'd like to have it start at 720x0, but then end at 1000x100.

    



    Is this possible ?

    


  • FFmpeg move overlay from one pixel coordinate to another

    22 mai 2015, par occvtech

    I’m trying to write a command within FFmpeg that will first overlay one video stream on top of another one. Then I want the overlayed video to move from one pixel coordinate at a known time, and end at another pixel coordinate at a later time.

    I’m comfortable with the basics of the -filter_complex, but I cannot figure out how to apply any arithmetic expressions - like the one’s referenced here : https://www.ffmpeg.org/ffmpeg-utils.html#Expression-Evaluation

    Here’s an example of something I’d like to accomplish.

    ffmpeg -i [INPUT1] -i [INPUT2] -filter_complex "[0:v][1:v]overlay=shortest=1:x=720:y=0:enable='between(t,10,20)'[overlay];...

    In this example the overlay is stationary at pixel coordinate 720x0 from the 10th second to the 20th second.

    However, Id like to have it move to a new location in a linear fashion and end at a different pixel coordinate.

    For example, during that 10 second overlay, I’d like to have it start at 720x0, but then end at 1000x100.

    Is this possible ?

  • Merging audio and video using ffmpeg in python

    11 juin 2022, par Dairop

    I am trying to merge two files (.mp3 & .mp4) to a single .mp4

    


    The videos and audio are located in the same folder as my main.py, and aren't corrupted

    


    Here is the code that seems to create the error :

    


        if (haveAudio):
        infile1 = ffmpeg.input(title+"_video.mp4")
        infile2 = ffmpeg.input(title+"_audio.mp3")

        merged  = ffmpeg.concat(infile1, infile2, v=1, a=1)
        output  = ffmpeg.output(merged[0], merged[1], title+".mp4")



    


    I am getting an error on the last line :

    


    Traceback (most recent call last):&#xA;  File "C:\Users\...\projectName\main.py", line 67, in <module>&#xA;    output  = ffmpeg.output(merged[0], merged[1], title&#x2B;".mp4")&#xA;  File "C:\Users\...\Python\Python39\lib\site-packages\ffmpeg\nodes.py", line 70, in __getitem__&#xA;    raise TypeError("Expected string index (e.g. &#x27;a&#x27;); got {!r}".format(index))&#xA;TypeError: Expected string index (e.g. &#x27;a&#x27;); got 0&#xA;</module>

    &#xA;

    My guess would be that an argument is missing when calling ffmpeg.output() but based on the documentation it seems correct.

    &#xA;