Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (9)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

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

Sur d’autres sites (1076)

  • libavdevice/v4l2 : fix invalid access to struct v4l2_buffer

    20 septembre 2017, par Jaroslav Beran
    libavdevice/v4l2 : fix invalid access to struct v4l2_buffer
    

    In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by
    user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at
    that moment. It resulted in invalid timestamp sometimes.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavdevice/v4l2.c
  • FFmpeg dxva2 H264 decoder reinitialize codec - access violation

    18 janvier 2023, par Spuriga

    I have a small project which decodes h264 I frame (SPS+PPS in extradata).&#xA;It uses "dxva2" hw acceleration and works fine until I reinitialize the codec. This can be occured when an rtsp stream change the format. Fe. : h264 to h264H. and the extradata must be changed.

    &#xA;

    The extradata modifying code is :

    &#xA;

        ...&#xA;&#xA;    ret = decode_write(decoder_ctx, packet);          //GOOD    &#xA;    ret = decode_write(decoder_ctx, NULL);&#xA;&#xA;    if (avcodec_close(decoder_ctx) &lt; 0)&#xA;        return -2;&#xA;&#xA;    if (hw_decoder_init(decoder_ctx, type) &lt; 0)&#xA;        return -1;&#xA;&#xA;    if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) &lt; 0) {&#xA;        fprintf(stderr, "Failed to open codec for stream.\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    ret = decode_write(decoder_ctx, packet);         //ACCESS VIOLATION&#xA;    ret = decode_write(decoder_ctx, NULL);&#xA;

    &#xA;

    The next avcodec_send_packet goes access violation exception.&#xA;When I switch off the HW acceleration and fallback to CPU this change is works fine.

    &#xA;

    So the only problem when I use dxva2 and reinitialize the codec.

    &#xA;

    The extradata change code is not in this small example, because the error reason is the reinitialize.

    &#xA;

  • avformat/movenc : Use dedicated pointer for access to MOVTrack

    16 décembre 2021, par Andreas Rheinhardt
    avformat/movenc : Use dedicated pointer for access to MOVTrack
    

    Improves readability and slightly decreases codesize.
    While just at it, also remove a check whether the packet list is
    nonempty before freeing it, as freeing an empty list is fine
    and basically a no-op.

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

    • [DH] libavformat/movenc.c