Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (14017)

  • Put images on video with ffmpeg in Node.js

    27 juin 2022, par Cery

    I am creating a server-side video renderer in node.js. I need to add images on an existing video file every frame. I need to set the specific position of each frame in the rendered video. I am holding all the frames of the images in Readable. This is my code that works, but does not take into account the position of the images. How can I modify it ? Of course I have a list with images coordinates - but I don't know how to make a filter out of this.

    


    this.stream is a list of images.

    


      const filter = ["[1:v]format=argb,setpts=PTS+" + 0 + "/TB[out]",
        {
            filter: "overlay",
            options: {
                enable: "between(t," + 0 + "," + 9 + ")",
                x: "0",
                y: "0",
            },
            inputs: "[0:v][out]",
            outputs: "tmp",
        }

        ]
        const Options = [
            "-crf 16",
            "-f mp4",
            "-vcodec libx264",
            "-movflags frag_keyframe+empty_moov",
            "-pix_fmt yuv420p",
        ];

        var ffmpeg = require('fluent-ffmpeg');
        ffmpeg.setFfmpegPath(ffm.path);
        var command = ffmpeg();

        const outputStream = fs.createWriteStream(this.Path + "test.mp4");

        command.input(this.Path + "input.mp4");
        command.input(this.stream).inputFPS(23);
        command.outputOptions(Options);
        command.fps(23);

        command.complexFilter(filter, "tmp");

        command.output(outputStream);


    


  • cbs_mpeg2 : Rearrange start code search

    29 juillet 2019, par Andreas Rheinhardt
    cbs_mpeg2 : Rearrange start code search
    

    1. Currently, cbs_mpeg2_split_fragment uses essentially three variables
    to hold the start code values found by avpriv_find_start_code. By
    rearranging the code, one of them can be omitted.
    2. The return value of avpriv_find_start_code points to the byte after
    the byte containing the start code identifier (or to the byte after the
    last byte of the fragment's data if no start code was found), but
    cbs_mpeg2_split_fragment needs to work with the pointer to the byte
    containing the start code identifier ; it already did this, but in a
    clumsy way. This has been changed.
    3. Also use the correct type for the variable holding the
    CodedBitstreamUnitType.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/cbs_mpeg2.c
  • PHP ffmpeg fetch metadata missing title, author, comment, artist

    19 avril 2012, par chrismacp

    I've been trying to fetch remote mp3 (and other format) meta data using the php5-ffmpeg extension.

    It is working although I am always missing the title, author, comment, artist details.

    I've been scouring the web for an answer but not found any solution.

    I did find this patch http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/php-ffmpeg/tests-metadata-api.patch which I thought may solve the problem, but I've been unable to compile php-ffmpeg even without the patch so haven't been able to work out if it will fix the problem.

    It seems this extension was abandoned a couple of years ago so I'm not holding out much hope of getting this working.

    Does anyone have any ideas of how to get remote meta data from audio video files using other tools ?

    I am thinking of just parsing the output of ffmpeg itelf using the '-i' option as this does return the correct meta data. Just a bit wary of calling exec in PHP for security reasons.