Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

Sur d’autres sites (9858)

  • ffplay : update frame timer based on last updated clock time when toggling pause

    1er février 2015, par Marton Balint
    ffplay : update frame timer based on last updated clock time when toggling pause
    

    It is better than using simply video clock, because video clock may be NAN.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] ffplay.c
  • FFmpeg -filter_complex_script crop & blurbox with time based values

    6 juin 2021, par user1503606

    I am trying to create a script that will move a blur boxed across a video based on x and y cords in a text script.

    &#xA;

    I can easily create a blur box with the following ffmpeg command.

    &#xA;

    ffmpeg -y -i pex.mp4 -filter_complex_script cropblur.txt -map "[v]" out_crop.mp4&#xA;

    &#xA;

    The cropblur.txt has the following.

    &#xA;

    [0:v]crop=400:400:300:350,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,0\,5)&#x27;[v]&#xA;

    &#xA;

    This creates this.

    &#xA;

    enter image description here

    &#xA;

    What I want is the blur box to move across where the lady is running.

    &#xA;

    enter image description here

    &#xA;

    She obviously runs out from where the box is positioned.

    &#xA;

    I can create a script where I can track the correct x and y positions for the blox using jquery ui or something I just dont understand how to implement this in a filter_complex_script.

    &#xA;

    I thought it would be a simple as just appending to the script something like this.

    &#xA;

    [0:v]crop=400:400:300:350,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,0\,2)&#x27;[v]&#xA;[0:v]crop=200:200:200:360,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,2\,3)&#x27;[v]&#xA;[0:v]crop=200:200:200:370,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,3\,4)&#x27;[v]&#xA;[0:v]crop=200:200:200:380,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,4\,5)&#x27;[v]&#xA;

    &#xA;

    Changing the time and the x position based on the incremented time.

    &#xA;

    If I run this script I get this error.

    &#xA;

    No output pad can be associated to link label &#x27;0:v&#x27;&#xA;

    &#xA;

    Obviously I am doing something wrong but I cannot find any documentation that really helps me understand how to do this https://ffmpeg.org/ffmpeg.html the official docs dont really help.

    &#xA;

    I could do it by running multiple passes like this.

    &#xA;

    ffmpeg -y -i pex.mp4 -filter_complex "[0:v]crop=400:400:300:350,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,0\,2)&#x27;[v]" -map "[v]" out_crop.mp4 &amp;&amp; ffmpeg -y -i out_crop.mp4 -filter_complex "[0:v]crop=200:200:200:360,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable=&#x27;between(t\,2\,3)&#x27;[v]" -map "[v]" out_crop2.mp4&#xA;

    &#xA;

    I Would just really like to understand how to use the filter complex scripts in this way ?

    &#xA;

    Any help would be great.

    &#xA;

    Thanks

    &#xA;

  • Run ffmpeg command based on data on a file

    1er octobre 2019, par Jake Pearson —

    I have a text file which is generated as the output of a command.

    The text file has name of a file followed by all the matching audio tracks in one line, then the next line has the next video followed by matching tracks.

    Because some of the videos have less tracks and some have more, is there a way I can do if and else command for to do the mergeing based on number of tracks matched to the name ?

    This is the command I use to merge.

    Merge (Keeps Original files and makes a new one using them as the output)

    ffmpeg -i video.mxf_V1.MXF.m2v -i video.mxf_A1.MXF -i video.mxf_A2.MXF -c copy out.mxf

    followed by :

    ffmpeg -i out.mxf -map 0:0 -map 0:1 -map 0:1 -c copy finished.mxf

    Below is the example of how the file names are and how its written in the text file

    "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_V1.MXF.m2v" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A1.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A2.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A3.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A4.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A5.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A6.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A7.MXF" "5f367f72-9e2f-4f89-b3d6-2cdafed17d94_IRR_DOCUI_SONG_SomeMusic_KomKom.mxf_A8.MXF"

    There’s about 25,000 lines of these.

    Another thing I wanted is to be able to name the final file the same as the video file.