
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin 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, parLa 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, parAfin 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 -
FFmpeg -filter_complex_script crop & blurbox with time based values
6 juin 2021, par user1503606I 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.


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


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



The cropblur.txt has the following.


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



This creates this.




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




She obviously runs out from where the box is positioned.


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.


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


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



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


If I run this script I get this error.


No output pad can be associated to link label '0:v'



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.


I could do it by running multiple passes like this.


ffmpeg -y -i pex.mp4 -filter_complex "[0:v]crop=400:400:300:350,boxblur=10[fg]; [0:v][fg]overlay=300:350:enable='between(t\,0\,2)'[v]" -map "[v]" out_crop.mp4 && 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='between(t\,2\,3)'[v]" -map "[v]" out_crop2.mp4



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


Any help would be great.


Thanks


-
Run ffmpeg command based on data on a file
1er octobre 2019, par Jake Pearson — ffmpegI 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
andelse
command for ffmpeg 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.