Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (70)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Creating farms of unique websites

    13 avril 2011, par

    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" (...)

Sur d’autres sites (8181)

  • Is it possible to add an outline/border/edge to a person in a chroma-key video ? [closed]

    19 juillet, par Mouaad Abdelghafour AITALI

    I hope you're doing well. Is it possible to use FFmpeg to add an outline to a chroma-keyed video, like in the images below ? My goal is to blend a background video with a foreground video, where the foreground has a white outline.

    


    enter image description here

    


    enter image description here

    


    Here’s my current code that blends the background and foreground videos by removing the chroma key and replacing it with the background. I want to keep this functionality but add a white outline effect around the foreground video.

    


    Thank you so much in advance for your help.

    


    public static String overlayVideo(String backgroundCroppedPath,
                                  String foregroundVideoPath,
                                  String overlayedVideoPath,
                                  double fgDurationSec,
                                  OutputAudioSource audioSource) {

    // Format duration to 2 decimal places
    String duration = String.format(Locale.US, "%.2f", fgDurationSec);

    String bgInput = "-stream_loop -1 -i \"" + backgroundCroppedPath + "\"";
    String fgInput = "-i \"" + foregroundVideoPath + "\"";

    String filterComplex =
            "[0:v]trim=duration=" + duration + ",setpts=PTS-STARTPTS[bg];" +
                    "[1:v]colorkey=0x01fe01:0.3:0.2,setpts=PTS-STARTPTS[fg];" +
                    "[bg][fg]overlay=format=auto[outv]";

    String audioMap = (audioSource == OutputAudioSource.FOREGROUND)
            ? "-map [outv] -map 1:a?"
            : "-map [outv] -map 0:a?";


    return "-y " + bgInput + " " + fgInput +
            " -filter_complex \"" + filterComplex + "\" " +
            audioMap + " " +
            "-t " + duration + " " +
            "-c:v libx264 -crf 18 -preset ultrafast -pix_fmt yuv420p " +
            "\"" + overlayedVideoPath + "\"";}


    


  • How can i add a dynamic timestamp showcasing the timeleft of a mp4 to a mp4 video using python (FFMPEG) ? [closed]

    11 août 2022, par GloomyShepherd

    I prefer to avoid subproccesing if possible and utilize the ffmpeg-python module.

    


  • avcodec/cbrt_tablegen : speed up dynamic table creation

    25 novembre 2015, par Ganesh Ajjanagadde
    avcodec/cbrt_tablegen : speed up dynamic table creation
    

    On systems having cbrt, there is no reason to use the slow pow function.

    Sample benchmark (x86-64, Haswell, GNU/Linux) :
    new :
    5124920 decicycles in cbrt_tableinit, 1 runs, 0 skips

    old :
    12321680 decicycles in cbrt_tableinit, 1 runs, 0 skips

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavcodec/cbrt_tablegen.h
    • [DH] libavcodec/cbrt_tablegen_template.c