Advanced search

Medias (0)

Tag: - Tags -/api

No media matches your criterion on the site.

Other articles (31)

  • MediaSPIP Core : La Configuration

    9 November 2010, by

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes; une page spécifique à la configuration de la page d’accueil du site; une page spécifique à la configuration des secteurs;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques de (...)

  • Creating farms of unique websites

    13 April 2011, by

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things): implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

    5 September 2013, by

    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;

On other websites (8251)

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

    4 February 2017, by 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 December 2019, by 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 February 2017, by 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