Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (95)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5463)

  • Why use sysconf(_SC_NPROCESSORS_CONF) to get the number of CPU cores in x264 ?

    5 novembre 2017, par bknieven

    I find x264 use sysconf(_SC_NPROCESSORS_CONF) instead of sysconf(SC_NPROCESSORS_ONLN) to get the number of CPU cores.

    Here is the code snippet in x264/common/cpu.c :

    ...
    #ifdef __ANDROID__
       // Android NDK does not expose sched_getaffinity
       return sysconf( _SC_NPROCESSORS_CONF );
    #else
       ...
    ....

    And I find the difference between _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN in this manual :

    sysconf (_SC_NPROCESSORS_CONF) which returns the number of processors
    the operating system configured. But it might be possible for the
    operating system to disable individual processors and so the call
    sysconf (_SC_NPROCESSORS_ONLN) returns the number of processors which
    are currently online (i.e., available).

    I have two questions :

    1. What is the difference between "the number of processors the operating system configured" and "the number of processors which are currently online" ?
    2. Why x264 use _SC_NPROCESSORS_CONF in Android to get the number of CPU cores ?
  • Changing the number of frame in matlab [on hold]

    18 décembre 2015, par medic911

    I use ffmpeg for the decomposition of video on frames. I use this command :

    ffmpeg -i Barrier.avi -y -r 5 obrazek%03d.tif

    I want to work with the frames in MATLAB.
    Is it the opportunity to change the number of frames per second using code ? Can I change the number of frames per second in MATLAB ?

  • FFMPEG : AAC Number of bands exceeds limit

    6 avril 2017, par user1902291

    I am using the FFMPEG C API to decode the audio in an MP4 file.

    My code works when decoding an OGG or MP3 file, but fails on the first frame of AAC audio in an MP4

    I get this error from

    avcodec_send_packet(codecContext, packet)

    [aac @ 0x7f80eb9e3a00] Number of bands (31) exceeds limit (5)

    What is the "number of bands" and how do I increase it ? What does this message really mean ?

    Thank you in advance