Recherche avancée

Médias (91)

Autres articles (87)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (11492)

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

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

    


  • Add a fixed size image on a video, regardless of the video width & height FFMPEG [duplicate]

    30 juillet 2017, par Rita

    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