Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (82)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8629)

  • I can't understand how to use ffmpeg in javascript (if it's even possible)

    28 juin, par Laimonas Rupeika

    Straight to the problem, I want to use ffmpeg in my javascript project for video editing. So I found cdn : <code class="echappe-js">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/@salomvary/ffmpeg.js-umd@3.1.9001/ffmpeg-mp4.min.js&quot;&gt;&lt;/script&gt; which references to "https://github.com/Kagami/ffmpeg.js", which is ffmpeg port to javascript as I understand ?&#xA;I don't get any errors on import, but if I try loading ffmpeg :

    &#xA;

    // Initialize FFmpeg after the GAPI client is loaded&#xA;  const ffmpeg = createFFmpeg({ log: true });&#xA;&#xA;  // // Load the FFmpeg library&#xA;  await ffmpeg.load();&#xA;

    &#xA;

    I get error : Uncaught (in promise) ReferenceError: createFFmpeg is not defined at initializeGapiClient (index:89:18) and it also messes my whole project. So if possible, how can I use ffmpeg in pure javascript, not Node.js. Should I download ffmpeg library files and then include them in project, I'm totally lost at this.

    &#xA;

  • Can no longer get ffmpeg to run in Terminal on macOS

    31 décembre 2023, par Chewie The Chorkie

    Here's a command I tried to run which always worked :

    &#xA;

    Mac-mini:images Admin$ ffmpeg -r 30  -f image2 -s 1080x1080 -i %d.png -vcodec h264 -crf 25  -pix_fmt yuv420p zVideo.mp4&#xA;

    &#xA;

    The output I get is :

    &#xA;

    dyld[94095]: Library not loaded: /usr/local/opt/theora/lib/libtheoraenc.1.dylib&#xA;  Referenced from: &lt;20EBE016-0DD0-3F29-96CD-D22BC2E40B38> /usr/local/Cellar/ffmpeg/6.1.1/bin/ffmpeg&#xA;  Reason: tried: &#x27;/usr/local/opt/theora/lib/libtheoraenc.1.dylib&#x27; (no such file), &#x27;/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/theora/lib/libtheoraenc.1.dylib&#x27; (no such file), &#x27;/usr/local/opt/theora/lib/libtheoraenc.1.dylib&#x27; (no such file)&#xA;Abort trap: 6&#xA;

    &#xA;

    I've tried reinstalling ffmpeg, installing the command line tools from Xcode, and Xcode itself.

    &#xA;

  • avformat/aviobuf : Avoid allocating buffer when using dynamic buffer

    27 novembre 2019, par Andreas Rheinhardt
    avformat/aviobuf : Avoid allocating buffer when using dynamic buffer
    

    Up until now, using a dynamic buffer entailed at least three
    allocations : One for the AVIOContext, one for the AVIOContext's opaque
    (which, among other things, contains the small write buffer), and one
    for the big buffer that is independently allocated that is returned when
    calling avio_close_dyn_buf().

    It is possible to avoid the third allocation if one doesn't use a
    packetized dynamic buffer, if all the data written so far fit into the
    write buffer and if one does not require the actual (big) buffer to have
    an indefinite lifetime. This is done by making avio_get_dyn_buf() return
    a pointer to the data in the write buffer if nothing has been written to
    the main buffer yet. The dynamic buffer will then be freed using
    ffio_free_dynamic_buffer (which needed to be modified not to call
    avio_close_dyn_buf() internally).

    So a typical use-case like :

    size = avio_close_dyn_buf(dyn_pb, &buf) ;
    do something with buf
    av_free(buf) ;

    can be converted to :

    size = avio_get_dyn_buf(dyn_pb, &buf) ;
    do something with buf
    ffio_free_dynamic_buffer(&dyn_pb) ;

    In more complex scenarios this can simplify freeing as well, because it
    is now clear that freeing always has to be performed via
    ffio_free_dynamic_buffer().

    Of course, in case this saves an allocation it also saves a memcpy.

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

    • [DH] libavformat/aviobuf.c