Recherche avancée

Médias (91)

Autres articles (87)

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

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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (12162)

  • 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