
Recherche avancée
Autres articles (45)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9657)
-
Add a fixed size image on a video, regardless of the video width & height FFMPEG [duplicate]
30 juillet 2017, par RitaThis question already has an answer here :
This is my code that that is use is following
$info = pathinfo($file) ; $out = "$info[’dirname’]/ss_$info[’basename’]" ; exec("ffmpeg -i ’".$file."’ -i ’".SS_ROOT."".$ss->settings[’watermark_image’]."’ -filter_complex ’overlay=main_w-overlay_w-10:main_h-overlay_h-10’ ’".$out."’") ;
that works very well, but it doesn’t keep the logo aspect ratio. I tried this code on two videos with different resolution and this is the result
-
How do i add multiple sound effects (mp3) to a video (mp4) at any given time in the video ? [closed]
25 octobre 2023, par StudentProgrammerI am trying to automate my editing process. I have a video.mp4 with a given length, a folder with different sound-effects.mp3 and a list of timestamps = (t1, t2, t3...). I would like to be able to insert any sound-effect at any given time in the video. Furthermore a sound may last multiple seconds and overlap another sound. I've tried to visualize the concept with images.
enter image description here
enter image description here
Preferably this would be done in Python. However, I would be extremely happy if anyone took their time to help me out using any means of programming required.


I have tried using Moviepy without much success as I am only able to add sound to the start of the video. Perhaps ffmpeg is the way to go.


-
how to add overlay at the end of video without knowing time duration of video file - ffmpeg
13 décembre 2019, par Luka mikicI have a bunch of video files to which I add animated overlay at the beginning of video, but I would like to add it again at the end of it t-13 seconds. This is my bash script :
do
ffmpeg -i "${f}" -i /app/logo/lower.mov -i /app/logo/logo.png -filter_complex \
"[0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:x=(1280-iw)/2:y=(720-ih)/2:color=black[bg0]; \
[bg0][1:v]overlay=10:10[bg1]; \
[bg1][2:v]overlay=10:10,drawtext=fontfile=/app/logo/Courier Prime.ttf:text=$(basename "${f}" | cut -f 1 -d '.'): \
fontcolor=white:fontsize=25:x=256:y=h-th-130:alpha=1:enable='between(t,2,15)'" \
-c:v libx264 -crf 21 -preset ultrafast "${f%.*}.mp4" -y
doneIs there any way to do this ? I know how to extract the duration with FFProbe, but do not know how to add duration dynamically to a variable and then apply it to code I have.