Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (106)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (10418)

  • 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