Recherche avancée

Médias (91)

Autres articles (104)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (12131)

  • libavutil/hwcontext_qsv : fix a bug for mapping vaapi frame to qsv

    16 novembre 2021, par nyanmisaka
    libavutil/hwcontext_qsv : fix a bug for mapping vaapi frame to qsv
    

    The data stored in data[3] in VAAPI AVFrame is VASurfaceID while
    the data stored in pair->first is the pointer of VASurfaceID, so
    we need to do cast to make following commandline works :

    ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \
    - hwaccel_output_format vaapi -i input.264 \
    - vf "hwmap=derive_device=qsv,format=qsv" -c:v h264_qsv output.264

    Signed-off-by : nyanmisaka <nst799610810@gmail.com>
    Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavutil/hwcontext_qsv.c
  • How to send AVPacket through a QTcpSocket.write() with all of its data ?

    24 juin 2024, par CottonBuds

    I want to send an AVPacket though a QTcpSocket.write() I tried to cast the avpacket pointer to an char * but it only shows 8 bytes of the avpacket and without the avpacket.data.

    &#xA;

    enter image description here

    &#xA;

    here is my code

    &#xA;

    void DisplayStreamServer::sendDataToClient(AVPacket* packet) {&#xA;    if (client == nullptr) {&#xA;        return;&#xA;    }&#xA;&#xA;&#xA;    client->write((char*) packet);&#xA;    client->waitForBytesWritten();&#xA;&#xA;    av_packet_unref(packet);&#xA;    av_packet_free(&amp;packet);&#xA;}&#xA;

    &#xA;

    I can see that my packet.data has data inside it using the visual studio memory viewer. but it seems like when i convert the packet to char * the data is not included

    &#xA;

    enter image description here

    &#xA;

  • avcodec/smacker : Use unsigned for prediction values

    26 juin 2020, par Andreas Rheinhardt
    avcodec/smacker : Use unsigned for prediction values
    

    Up until now, the Smacker decoder has pretended that the prediction
    values are signed in code like 'pred[0] += (unsigned)sign_extend(val, 16)'
    (the cast has been added to this code later to fix undefined behaviour).
    This has been even done in case the PCM format is u8.

    Yet in case of 8/16 bit samples, only the lower 8/16 bit of the predicition
    values are ever used, so one can just as well just use unsigned and
    remove the sign extensions. This is what this commit does.

    For GCC 9 the time for one call to smka_decode_frame() for the sample from
    ticket #2425 decreased from 1709043 to 1693619 decicycles ; for Clang 9
    it went up from 1355273 to 1369089 decicycles.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/smacker.c