Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (76)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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 (6645)

  • Delay on FFmpeg Watermark [duplicate]

    8 octobre 2020, par Tevin Mosley

    Hello I am trying to use a .bat file to watermark videos I upload to my website. I want the watermark to start 2/3 the way through the video. I've written the code below to do it :

    


    set ffmpeg="C:\ffmpeg\bin\ffmpeg.exe"
set ffprobe="C:\ffmpeg\bin\ffprobe.exe"

setlocal disabledelayedexpansion
for %%a in ("H:\4 - Watermark Process\Before\*.mp4") do (
    for /F "delims=" %%I in ('ffprobe -v quiet -show_entries format^=duration stream^=width -of csv^=p^=0:s^=x "%%a"') do set "duration=%%I"
    echo Duration is: %duration%
    do (
    
         ffmpeg -i logo.png -y -v quiet -vf scale=%%I*0.25:-1 scaled.png
         ffmpeg -i "%%a" -vf "movie=scaled.png [watermark]; [in][watermark] overlay=10:main_h-overlay_h:enable=gte(t\,duration*2/3) [out]" "H:\4 - Watermark Process\After\%%~na.mp4"
    )
)

pause 10


    


    The problem is I get a few errors

    


    The first is the duration has no output when I use echo to see if it is working I get :

    


    


    echo Duration is :

    


    


    And I get other errors in my overlay code

    


    Error

    


  • ffmpeg add watermark by output part count (watermark1.png for part 1, ...)

    12 octobre 2020, par Steapy

    I have currently following code (not optimized yet !) :

    


    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";


    


    This renders all my parts with the same "watermark.png" file as a watermark. But now i want to do something like this :

    


    converter.StartInfo.Arguments = @"-i video.mp4 -i watermark%03d.png -filter_complex ""overlay = x = (main_w - overlay_w) / 2:y = (main_h - overlay_h) / 2"" output%03d.mp4";


    


    "output000.mp4" has "watermark000.png" as a watermark,
"output001.mp4" has "watermark001.png" as a watermark,
"output002.mp4" has "watermark002.png" as a watermark, ...

    


    I need it in only one line, as if i would type it in cmd and it should work in c# with UseShellExecute=false.

    


    Any idea ?

    


  • Reduce volume when the watermark playing using FFMPEG

    2 novembre 2020, par Mouaad Abdelghafour AITALI

    I'm using the createWaterMark method to create an audio watermark that play 3 times, the injectWaterMark inject the created watermark into the original audio file, everything works fine, but I would like to reduce the volume of the original audio file when the watermark start playing.

    


     public static String createWaterMark(String inputPath, String outputPath, int duration) {
        return "-y -i " + inputPath + " -af apad -t " + duration / 3 + " " + outputPath;
    }

    public static String injectWaterMark(String inputPath, String waterMarkPath, String outputPath) {
        return "-y -i " + inputPath + " -filter_complex amovie=" + waterMarkPath + ":loop=0,asetpts=N/SR/TB[beep];[0][beep]amix=duration=shortest,volume=2 " + outputPath;
    }


    


    Thank you