Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (50)

  • Les images

    15 mai 2013
  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

Sur d’autres sites (8532)

  • How do i add multiple sound effects (mp3) to a video (mp4) at any given time in the video ? [closed]

    25 octobre 2023, par StudentProgrammer

    I 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.

    


  • Using ffmpeg to cut up video into smaller video with exactly 30 frames

    30 mars 2018, par MonsieurBeilto

    I need to cut a video with >300 frames into ten videos, where the first video comprises the first 30 frames, the second video comprises frames from 31 to 60 and so on.

  • how to add overlay at the end of video without knowing time duration of video file - ffmpeg

    13 décembre 2019, par Luka mikic

    I 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
    done

    Is 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.