Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (68)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (9363)

  • encoding by using ffmpeg library

    22 août 2013, par Mustafe

    I am currently developing an application by using ffmpeg library. I have a problem with encoding pcm/raw datas. In ffmpeg/encoding_decoding.c source code, at line 146 in this function :

    buffer_size = av_samples_get_buffer_size(NULL, c->channels, c->frame_size, c->sample_fmt, 0);

    buffer_size is being calculated. My function always returns -22 which states an error. After a little examanation I noticed that in line 1888 at avcodec.h it is stated as following which shows the reason. Since CODEC_CAP_VARIABLE_FRAME_SIZE is set my function returns -22 and my program terminates. In this case the encoding code example in ffmpeg's website also could not work. How can I solve this problem ?

    encoding: set by libavcodec in avcodec_open2(). Each submitted frame except the last must contain exactly frame_size samples per channel. May be 0 when the codec has CODEC_CAP_VARIABLE_FRAME_SIZE set, then the frame size is not restricted. decoding: may be set by some decoders to indicate constant frame size
  • How to interprete ffmpeg AVERROR

    2 juillet 2016, par ticofab

    Anybody knows where is a list of the AVERROR meanings ? Something like

    -1: reason A
    -2: reason B

    and so forth ?

  • avfilter/af_headphone : Fix channel assignment

    26 août 2020, par Andreas Rheinhardt
    avfilter/af_headphone : Fix channel assignment
    

    The documentation of the map argument of the headphone filter states :

    "Set mapping of input streams for convolution. The argument is a
    ’|’-separated list of channel names in order as they are given as
    additional stream inputs for filter."

    Yet this has not been honoured at all. Instead for the kth given HRIR
    channel pair it was checked whether there was a kth mapping and if the
    channel position so given was present in the channel layout of the main
    input ; if so, then the given HRIR channel pair was matched to the kth
    channel of the main input. It should actually have been matched to the
    channel given by the kth mapping. A consequence of the current algorithm
    is that if N additional HRIR channel pairs are given, a permutation of
    the first N entries of the mapping does not affect the output at all.

    The old code might even set arrays belonging to streams that don't exist
    (i.e. whose index is >= the number of channels of the main input
    stream) ; these parts were not read lateron at all. The new code doesn't
    do this any longer and therefore the number of elements of some of the
    allocated arrays has been reduced (in case the number of mappings was
    bigger than the number of channels of the first input stream).

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

    • [DH] libavfilter/af_headphone.c