Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (63)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (5476)

  • How to insert images and text in video with ffmpeg whit java

    4 février 2017, par MaF
    String[] code = new String[]{"ffmpeg", "-i","D:/ffmpeg/20170201_164127.mp4",

               "-i","D:/ffmpeg/cc.png", "-filter_complex",

               "[0:v][1:v]overlay=main_w-overlay_w-5:main_h-overlay_h-5",
               "drawtext=fontfile=/ffmpeg/Arial.ttf:text='TESTING'fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10",

               "[out]","-map", "[out]", "-map", "2:0",
               "-acodec","mp3", "D:/ffmpeg/test7.mp4"};



               Process processDuration = new ProcessBuilder(code).redirectErrorStream(true).start();

               StringBuilder strBuild = new StringBuilder();

               try (BufferedReader processOutputReader = new BufferedReader(new InputStreamReader(processDuration.getInputStream(), Charset.defaultCharset()));) {

                   String line;

                   while ((line = processOutputReader.readLine()) != null) {

                       strBuild.append(line + System.lineSeparator());

                   }

                   processDuration.waitFor();

               }

               String outputJson = strBuild.toString().trim();

               System.out.println(outputJson);

               }

    When i use only images the code is correctly. But when I use all the code this happens :

    [NULL @ 00000000006abe60] Unable to find a suitable output format for
    ’drawtext=fontfile=/ffmpeg/Arial.ttf:text=’TESTING’fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10’
    drawtext=fontfile=/ffmpeg/Arial.ttf:text=’TESTING’fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10 :
    Invalid argument

  • FFMPEG Add watermark to MP4

    5 décembre 2019, par Junaid Farooq

    I have this command to add watermark to an mp4

    ffmpeg -i junai-blvaz.mp4 -i evercam-logo-white.png -filter_complex "[1]scale=iw/2:-1[wm];[0][wm]overlay=x=main_w-overlay_w-10:y=main_h-overlay_h-10" -codec:a copy output.mp4

    But I am creating the video using

    ffmpeg -r 6 -i /tmp/%d.jpg -c:v h264_nvenc -r 6 -preset slow -bufsize 1000k -pix_fmt yuv420p -y junai-blvaz.mp4

    Is there any way to merge this command of adding watermark

    -i evercam-logo-white.png -filter_complex '[1]scale=iw/2:-1[wm];[0][wm]overlay=x=main_w-overlay_w-10:y=main_h-overlay_h-10'

    to the very first command through which mp4 video has been created ?

  • How to insert images and text in video with ffmpeg - java

    4 février 2017, par MaF
    String[] code = new String[]{"ffmpeg", "-i","D:/ffmpeg/20170201_164127.mp4",

               "-i","D:/ffmpeg/cc.png", "-filter_complex",

               "[0:v][1:v]overlay=main_w-overlay_w-5:main_h-overlay_h-5",
               "drawtext=fontfile=/ffmpeg/Arial.ttf:text='TESTING'fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10",

               "[out]","-map", "[out]", "-map", "2:0",
               "-acodec","mp3", "D:/ffmpeg/test7.mp4"};



               Process processDuration = new ProcessBuilder(code).redirectErrorStream(true).start();

               StringBuilder strBuild = new StringBuilder();

               try (BufferedReader processOutputReader = new BufferedReader(new InputStreamReader(processDuration.getInputStream(), Charset.defaultCharset()));) {

                   String line;

                   while ((line = processOutputReader.readLine()) != null) {

                       strBuild.append(line + System.lineSeparator());

                   }

                   processDuration.waitFor();

               }

               String outputJson = strBuild.toString().trim();

               System.out.println(outputJson);

               }

    When i use only images the code is correctly. But when I use all the code this happens :

    [NULL @ 00000000006abe60] Unable to find a suitable output format for
    ’drawtext=fontfile=/ffmpeg/Arial.ttf:text=’TESTING’fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10’
    drawtext=fontfile=/ffmpeg/Arial.ttf:text=’TESTING’fontcolor=white@1.0:fontsize=70:x=10:y=H-th-10:box=1:boxcolor=black@0.5:boxborderw=5:x=10:y=H-th-10 :
    Invalid argument