Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (69)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • avfilter/af_headphone : Remove pointless additions

    28 août 2020, par Andreas Rheinhardt
    avfilter/af_headphone : Remove pointless additions
    

    buffer_length is a power-of-two and modulo is buffer_length - 1, so that
    buffer_length & modulo is zero.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/af_headphone.c
  • How to prescale a frame using ffmpeg and H.265

    20 juillet 2017, par akw

    I want to decode video frames with the H.265 coded (AV_CODEC_ID_HEVC)
    I use the following code :

    AVCodec *hevcCodec = avcodec_find_decoder(AV_CODEC_ID_HEVC);
    AVCodecContext *avctx  = avcodec_alloc_context3(hevcCodec);
    avcodec_open2(avctx, hevcCodec, 0);
    AVFrame *frame = av_frame_alloc();
    AVPacket pkt;
    av_init_packet(&amp;pkt);
    pkt.data = myDataPtr;
    pkt.size = myDataSize;
    int got_frame = 0;
    avcodec_send_packet(avctx, &amp;pkt);
    if (avcodec_receive_frame(avctx, frame) >=0 ) {
           got_frame = 1;
           ...
    }

    This works fine, I got my YUV frame and can process it further (like converting to RGB or scaling, etc.)
    However, I would like to somehow tell the ffmpeg library, to scale the AVFrame while decoding (a scale factor of a power of 2 would be sufficient).
    I don’t want to scale after converting to RGB or use swscale or anything. I have to decode a lot of frames and need a smaller resolution.

    Is it possible to give the AVCodecContext some hints to scale the frames ?
    (I tried setting avctx.width and avctx.height, but this did not help)

  • ppc : Clarify and extend the cpuid check

    10 mai 2015, par Luca Barbato
    ppc : Clarify and extend the cpuid check
    

    Add POWER entries.

    • [DBH] libavutil/ppc/cpu.c