Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (3225)

  • avcodec/nvenc : better surface allocation alghoritm, fix rc_lookahead

    21 novembre 2016, par Miroslav Slugeň
    avcodec/nvenc : better surface allocation alghoritm, fix rc_lookahead
    

    User selectable surfaces are not working correctly, if you set number of
    surfaces on cmdline, it will always use minimum 32 or 48 depends on
    selected resolution, but in nvenc it is not necessary to use so many
    surfaces.

    So from now you can define as low as 1 surface and nvenc will still
    work, it will ofcourse lower GPU memory usage by 95% and async_delay to zero

    That was the easy part, now littlebit more...

    Next part of this patch is to always prefer rc_lookahead to be more
    important for number of surfaces, than user defined surfaces value.
    Maximum rc_lookahead from nvidia documentation is 32, but could increase
    in future generations so there is no limit for this yet. Value
    async_depth is still accepted and prefered over rc_lookahead.

    There were also bug when you request more than rc_lookahead > 31, it
    will always set maximum 31, because surface numbers recalculation was
    after setting lookahead, which is now fixed.

    Results :
    If you set -rc_lookahead 32 and -bf 3 it will now use only 40 surfaces
    and lower GPU memory usage by 20%, also it will now increase PSNR by 0.012dB

    Two more comments :

    1. from my internal test, i don’t understand addition of 4 more surfaces
    when lookahead is calculated, i didn’t used this and everything works as
    with those 4 more extra surfaces, does anybody know what is going on
    there ? I looks like it was used for B frames which are calculated
    separately, because B frames maximum is 4.

    2. rc_lookahead is defined default to -1, but in test condition if
    (ctx->rc_lookahead) which sets lookahead it will be always true, i don’t
    know if this is intended behavior, so in default behavior is lookahead
    always on !

    This is default condition when rc_lokkahead is -1 (not defined on
    cmdline), whis is maybe something that is not intended :
    ctx->encode_config.rcParams.enableLookahead = 1 ;
    ctx->encode_config.rcParams.lookaheadDepth = 0 ;
    ctx->encode_config.rcParams.disableIadapt = 0 ;
    ctx->encode_config.rcParams.disableBadapt = 0 ;

    Signed-off-by : Timo Rothenpieler <timo@rothenpieler.org>

    • [DH] libavcodec/nvenc.c
  • avcodec/magicyuvenc : Check in advance whether to encode a slice raw

    17 avril, par Andreas Rheinhardt
    avcodec/magicyuvenc : Check in advance whether to encode a slice raw
    

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/magicyuvenc.c
  • Online RTMP radio with Python + FFmpeg + Nginx : unable to have a continuous output stream

    2 décembre 2023, par Igor Longo

    Thinking about an application similar to an online radio, I'm trying to transmit a sequence of audio files chosen by the user, where he chooses which file will be played in the sequence, sufficiently in advance for the reproduction not to be muted. I'm using FFmpeg in a Python script and an RTMP server running Nginx.&#xA;The problem is that interrupting the transmission between one file and another appears to be breaking the transmission on output. Sometimes files are skipped and other times it simply crashes for the client.

    &#xA;

    I have already tried transmitting the sequence of files in real time, using '-re', and I have also tried not using '-re', creating a custom queue manager in Python with the intention of trying to keep only 'n' files in the server buffer .&#xA;Below is an excerpt of the code :

    &#xA;

    ffmpeg_command = [&#xA;'ffmpeg',&#xA;'-loglevel', 'warning',&#xA;# '-re', # read input at native frame rate&#xA;'-i', file_path,&#xA;'-c:a', 'aac',&#xA;'-ar', '44100',&#xA;'-bufsize', '1024k',&#xA;'-af', 'atempo=1.0',&#xA;'-b:a', '128k',&#xA;'-f', 'flv',&#xA;'-flvflags', 'no_duration_filesize',&#xA;rtmp_url # server url&#xA;]&#xA;subprocess.run(ffmpeg_command, check=True)

    &#xA;

    Any tips on how I can resolve this ?

    &#xA;