Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (58)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9361)

  • qt-faststart : Avoid unintentionally sign extending BE_32

    28 février 2014, par Martin Storsjö
    qt-faststart : Avoid unintentionally sign extending BE_32
    

    Without this cast, the BE_32() expression is sign extended when
    assigned to an uint64_t, since the uint8_t|uint8_t expression
    is promoted to an int.

    Also avoid undefined behaviour when left shifting an uint8_t
    by 24 by casting it to an uint32_t explicitly before shifting.

    Based on a patch by Michael Niedermayer.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] tools/qt-faststart.c
  • 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
  • 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;