Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (84)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11831)

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

    


    The extradata modifying code is :

    


        ...

    ret = decode_write(decoder_ctx, packet);          //GOOD    
    ret = decode_write(decoder_ctx, NULL);

    if (avcodec_close(decoder_ctx) < 0)
        return -2;

    if (hw_decoder_init(decoder_ctx, type) < 0)
        return -1;

    if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) < 0) {
        fprintf(stderr, "Failed to open codec for stream.\n");
        return -1;
    }

    ret = decode_write(decoder_ctx, packet);         //ACCESS VIOLATION
    ret = decode_write(decoder_ctx, NULL);


    


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

    


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

    


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

    


  • 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
  • avdevice/lavfi : Use dedicated pointer to access st->codecpar

    2 décembre 2021, par Andreas Rheinhardt
    avdevice/lavfi : Use dedicated pointer to access st->codecpar
    

    Reviewed-by : Nicolas George <george@nsup.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavdevice/lavfi.c