Recherche avancée

Médias (91)

Autres articles (83)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (3641)

  • x86inc : Optimize VEX instruction encoding

    31 mars 2018, par Henrik Gramner
    x86inc : Optimize VEX instruction encoding
    

    Most VEX-encoded instructions require an additional byte to encode when src2
    is a high register (e.g. x|ymm8..15). If the instruction is commutative we
    can swap src1 and src2 when doing so reduces the instruction length, e.g.

    vpaddw xmm0, xmm0, xmm8 -> vpaddw xmm0, xmm8, xmm0

    • [DH] common/x86/x86inc.asm
  • Macros in C++ / FFMPEG

    26 mars 2020, par Derrick Heimerdinger

    I’m new to C++ and I’m trying to build a custom codec for FFMPEG. I’m trying to base it off of PCM but with only one type. I’ve run into a macro and I have no idea what the macro turns into after it compiles.
    The macro looks like this :

    #define ENCODE_PLANAR(type, endian, dst, n, shift, offset)          \
    n /= avctx->channels;                                               \
    for (c = 0; c < avctx->channels; c++) {                             \
       int i;                                                          \
       samples_ ## type = (const type *) frame->extended_data[c];      \
       for (i = n; i > 0; i--) {                                       \
           register type v = (*samples_ ## type++ >> shift) + offset;  \
           bytestream_put_ ## endian(&dst, v);                         \
       }                                                               \
    }

    Would the samples_ declaration line and bytestream_put line be equal to what I put below if endian = byte and type = uint8_t ?

    uint8_t samples_ = (const uint8_t *) frame->extended_data[c];
    bytestream_put_byte(&dst, v);

    I find it very confusing and I am unsure if this is correct.

  • FFMPEG command doesn't work in PHP. (Incompatibilty with MAMP)

    15 mars 2016, par Charlie Ryan

    I’m a bit of a beginner when it comes to PHP, and I’m trying to create a simple(ish) system where files are input, and then converted to html5 video in various resolutions.

    I’ve sorted out how to handle multiple file uploads etc, but now I’m having a problem.

    I can’t seem to get exec to execute FFMPEG in PHP.

    For example, if I type this into my command line (Terminal on Mac OSX 10.8), It converts the video correctly :

    ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov

    This correctly outputs the converted video file into my home directory.

    However if I run this in PHP as follows :

    exec('ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov');

    Absolutely nothing happens ... my stat monitor doesn’t register any change in processor use, and I can’t find the output file anywhere on my system.

    Since I’m a bit of a noob at this, I’m assuming I’m doing something wrong, but what is it ?

    Thanks,

    Charlie