Recherche avancée

Médias (91)

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10448)

  • log : allow color highlighting in Cygwin’s mintty

    4 avril 2014, par James Darnley
    log : allow color highlighting in Cygwin’s mintty
    

    Configure will detect the availability of the Windows’ console functions and set
    HAVE_SETCONSOLETEXTATTRIBUTE. Meaning av_log will use those functions to
    control colours. When ffmpeg is run in Cygwin’s mintty terminal emulator it
    will not use colour highlighting in this case.

    Mintty responds to the usual escape code colours (it even supports 256 colours).
    Windows’ cmd.exe does not. Fortunately it seems that Cygwin’s emulation layer
    now translates the basic 16 colours into Windows’ Console command functions.

    That means that we can have av_log use the standard colour commands and let
    ffmpeg print colours in both mintty and cmd.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavutil/log.c
  • AWS Lambda. Error=20 (Not a directory) when moving FFmpeg to /tmp

    18 novembre 2017, par Omar Riaz

    I am using the ffmpeg-cli-wrapper to run FFmpeg from an application I upload onto AWS lambda. I was initially getting the

    error=13 Permission Denied

    when trying to call it via the wrappers ProcessBuilder. My inital solution was to chmod 755 ffmpeg before uploading, but it didn’t help.

    For information, my FFmpeg and ffprobe files are located in the following classpath : static/ffmpeg/ffmpeg and static/ffmpeg/ffprobe. They are also statically linked.

    AWS Lambda permission denied when trying to use ffmpeg

    I’ve tried to follow the instructions given in the example above, but when I try to perform either mv or cp command :Runtime.exec("mv " + pathToFFmpeg + " /tmp"), I get the

    error=20, Not a directory

    error.

    I know that I have the correct path for FFmpeg because the following command mv *pathToFFmpeg* *an arbitrary name* runs without error, meaning that the file is there and so the mv command just renames it as it’s supposed to do.

  • lavc/vaapi_decode : add missing flag when picking best pixel format

    5 août 2022, par Philip Langdale
    lavc/vaapi_decode : add missing flag when picking best pixel format
    

    vaapi_decode_find_best_format currently does not set the
    VA_SURFACE_ATTRIB_SETTABLE flag on the pixel format attribute that it
    returns.

    Without this flag, the attribute will be ignored by vaCreateSurfaces,
    meaning that the driver's default logic for picking a pixel format will
    kick in.

    So far, this hasn't produced visible problems, but when trying to
    decode 4:4:4 content, at least on Intel, the driver will pick the
    444P planar format, even though the decoder can only return the AYUV
    packed format.

    The hwcontext_vaapi code that sets surface attributes when picking
    formats does not have this bug.

    Applications may use their own logic for finding the best format, and
    so may not hit this bug. eg : mpv is unaffected.

    • [DH] libavcodec/vaapi_decode.c