Recherche avancée

Médias (91)

Autres articles (98)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (11750)

  • How to force avcodec to use unaligned frame data planes ?

    26 février 2015, par user3244284

    I have been searching high and low for an option to force avcodec to use unaligned memory for its AVFrame data.

    Depending on the pixel format, the horizontal planes of an AVFrame->data may be padded with extra data to be aligned to memory for performance.

    eg : a 1920 * 1080 video with 4 bytes per pixel will have 1920 * 4 = 7680 bytes per plane.

    With avcodec if you are decoding this video it will create 7808 bytes per plane.

    This adds 7808 - 7680 = 128 bytes of extra padding.

    For my purposes I would like to force avcodec to use unaligned data so I can copy an entire continuous chunk of frame data instead of copying and formatting smaller pieces one at a time to a continuous chunk.

    The following flag found in the headers :

    /* encoding support
      These flags can be passed in AVCodecContext.flags before initialization.
      Note: Not everything is supported yet.
    */

    /**
    * Allow decoders to produce frames with data planes that are not aligned
    * to CPU requirements (e.g. due to cropping).
    */
    #define CODEC_FLAG_UNALIGNED 0x0001

    Setting this AVCodecContext.flags to be CODEC_FLAG_UNALIGNED, the assumption is that the AVFrame->data is now unaligned, this is not the case.

    I’m not sure if I am looking at the right place or using this flag correctly.

    Regards,

    Curious George

  • How to fill an AVFrame with audio data

    8 mai 2020, par Denis Gottardello

    this is a function taken from an ffmpeg example
How can I fill the frame with my data buffer (const uchar* data, int Length) ?

    



    AVFrame *frame = OutputStreamAudio.pAVFrameTemp;
int j, i, v;
int16_t *q = (int16_t*)frame->data[0];

/* check if we want to generate more frames */
if (av_compare_ts(OutputStreamAudio.next_pts, OutputStreamAudio.pAVCodecContext->time_base, STREAM_DURATION, (AVRational){ 1, 1 }) >= 0) return NULL;
for (j = 0; j nb_samples; j++) {
    v = (int)(sin(OutputStreamAudio.t) * 10000);
    for (i = 0; i < OutputStreamAudio.pAVCodecContext->channels; i++) *q++ = v;
    OutputStreamAudio.t     += OutputStreamAudio.tincr;
    OutputStreamAudio.tincr += OutputStreamAudio.tincr2;
}

frame->pts = OutputStreamAudio.next_pts;
OutputStreamAudio.next_pts  += frame->nb_samples;

return frame;


    


  • node.js ffprobe meta data from cp1251 to utf8

    23 décembre 2015, par Sveratum

    The system Centos 6.7 x64. Node.js (v.4.2.3). I get file (*.mp3) in the stream and extract metadata. The files are not stored. Everything in the stream. How can I convert the meta data from cp1251 in utf8 ? Modify the meta data in the file does not necessarily.