Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (88)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • La gestion des forums

    3 novembre 2011, par

    Si les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
    Accès à l’interface de modération des messages
    Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
    S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)

Sur d’autres sites (11232)

  • avcodec : Fix invalid uses of ff_codec_open2_recursive()

    26 novembre 2020, par Andreas Rheinhardt
    avcodec : Fix invalid uses of ff_codec_open2_recursive()
    

    Normally no two codecs with FF_CODEC_CAP_INIT_THREADSAFE unset
    can be initialized at the same time : a mutex in avcodec_open2()
    ensures this. This implies that one cannot simply open a codec
    with a non-threadsafe init-function from the init function of
    a codec whose own init function is not threadsafe either as the child
    codec couldn't acquire the lock.

    ff_codec_open2_recursive() exists to get around this limitation :
    If the init function of the child codec to be initialized is not
    thread-safe, the mutex is unlocked, the child is initialized and
    the mutex is locked again. This of course has as a prerequisite that
    the parent AVCodecContext actually holds the lock, i.e. that the
    parent codec's init function is not thread-safe. If it is, then one
    can (and has to) just use avcodec_open2() directly (if the child's
    init function is not thread-safe, then avcodec_open2() will have to
    acquire the mutex itself (and potentially wait for it), so that it is
    perfectly fine for an otherwise thread-safe init function to open
    a codec with a potentially non-thread-safe init function via
    avcodec_open2()).

    Yet several of the users of ff_codec_open2_recursive() have the
    FF_CODEC_CAP_INIT_THREADSAFE flag set ; this only worked because
    all the child codecs' init functions were thread-safe themselves
    so that ff_codec_open2_recursive() didn't touch the mutex at all.
    But of course the real solution to this is to directly use
    avcodec_open2().

    Reviewed-by : Anton Khirnov <anton@khirnov.net>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/avrndec.c
    • [DH] libavcodec/imm5.c
    • [DH] libavcodec/tdsc.c
  • What these FFmpeg APNG encoder prediction methods mean ?

    14 septembre 2021, par Nicke Manarin

    By typing ffmpeg -h encoder=apng, I get this :

    &#xA;

    APNG encoder AVOptions:&#xA;  -dpi               <int>        E..V..... Set image resolution (in dots per inch) (from 0 to 65536) (default 0)&#xA;  -dpm               <int>        E..V..... Set image resolution (in dots per meter) (from 0 to 65536) (default 0)&#xA;  -pred              <int>        E..V..... Prediction method (from 0 to 5) (default none)&#xA;     none                         E..V.....&#xA;     sub                          E..V.....&#xA;     up                           E..V.....&#xA;     avg                          E..V.....&#xA;     paeth                        E..V.....&#xA;     mixed                        E..V.....&#xA;</int></int></int>

    &#xA;

    What are the differences among these prediction methods ?

    &#xA;

    I could not find any documentation on ffmpeg.org or anywhere else.

    &#xA;

  • Send a file and parameters to a OpenFaas Dockerfile function

    29 juillet 2021, par Johannes Klauß

    I have a ffmpeg Dockerfile function that I deploy to my OpenFaaS :

    &#xA;

    FROM ghcr.io/openfaas/classic-watchdog:0.1.5 as watchdog&#xA;&#xA;FROM jrottenberg/ffmpeg:4.1-alpine&#xA;&#xA;RUN mkdir -p /home/app&#xA;&#xA;COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog&#xA;RUN chmod &#x2B;x /usr/bin/fwatchdog&#xA;&#xA;# Add non root user&#xA;RUN addgroup -S app &amp;&amp; adduser app -S -G app&#xA;RUN chown app /home/app&#xA;&#xA;WORKDIR /home/app&#xA;&#xA;USER app&#xA;&#xA;# Populate example here - i.e. "cat", "sha512sum" or "node index.js"&#xA;ENV fprocess="ffmpeg"&#xA;# Set to true to see request in function logs&#xA;ENV write_debug="false"&#xA;&#xA;EXPOSE 8080&#xA;&#xA;HEALTHCHECK --interval=3s CMD [ -e /tmp/.lock ] || exit 1&#xA;&#xA;CMD ["fwatchdog"]&#xA;

    &#xA;

    But I cannot figure out how I would be able to stream a file to the function and give parameters, so that ffmpeg knows about the file and parameter.&#xA;I am fairly new to OpenFaaS and maybe this is trivial, but I cannot wrap my head around it.

    &#xA;

    Any help would be much appreciated.

    &#xA;