Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (81)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5856)

  • avcodec/v4l2_buffers : Fix infinite loop

    27 octobre 2019, par Andriy Gelman
    avcodec/v4l2_buffers : Fix infinite loop
    

    This part of the code counts the number of planes returned by the v4l2
    device for each queried capture/output buffer.
    When testing the GPU h264 encoder on Nvidia's Jetson Nano, this caused an
    infinite loop because avbuf->buf.length included some empty buffers (i.e.
    where avbuf->buf.m.planes[i].length = 0), meaning that the counter was
    never incremented and break was never reached.
    This is fixed in the commit by using a well defined iteration range.

    Signed-off-by : Aman Gupta <aman@tmm1.net>

    • [DH] libavcodec/v4l2_buffers.c
  • Link ffmpeg to Pydub in Serverless layer

    15 mars 2021, par akai

    I'm using the Serverless framework to deploy an app on AWS. I have created a layer, defined as follows in serverless.yml :

    &#xA;

    layers:&#xA;  ffmpeg:&#xA;    path: layer&#xA;

    &#xA;

    I also excluded it from the main file bundle :

    &#xA;

    package:&#xA;  exclude:&#xA;    - layer/**&#xA;

    &#xA;

    and defined a lambda function :

    &#xA;

     cut_audio:&#xA;    layers:&#xA;      - {Ref: FfmpegLambdaLayer}&#xA;

    &#xA;

    In this function I use the Pydub library, which needs to access the ffmpeg layer. At the moment I have the following error FileNotFoundError: [Errno 2] No such file or directory: &#x27;ffprobe&#x27;, meaning I have to link ffmpeg as AudioSegment.converter(path)

    &#xA;

    How do I get the path of my layer ?

    &#xA;

    Edit : could I solve this by bundling both Pydub and ffmpeg in the layer ?

    &#xA;

    Edit 2 : the eziotedeschi/AWS-Lambda-Layer-Pydub github repository doesn't seem to help. I get the following error No module named &#x27;pydub&#x27;. I am using Python3.8 as runtime, that might be the issue.

    &#xA;

  • avcodec/cbs_av1 : fix setting FrameWidth in frame_size_with_refs()

    24 août 2020, par James Almer
    avcodec/cbs_av1 : fix setting FrameWidth in frame_size_with_refs()
    

    Section 5.9.7 of the spec states

    UpscaledWidth = RefUpscaledWidth[ ref_frame_idx[ i ] ]
    FrameWidth = UpscaledWidth
    FrameHeight = RefFrameHeight[ ref_frame_idx[ i ] ]
    RenderWidth = RefRenderWidth[ ref_frame_idx[ i ] ]
    RenderHeight = RefRenderHeight[ ref_frame_idx[ i ] ]

    Meaning FrameWidth must not be set to RefFrameWidth[ ref_frame_idx[ i ] ]
    like we're currently doing.

    Reviewed-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/cbs_av1_syntax_template.c