Recherche avancée

Médias (91)

Autres articles (59)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (9835)

  • avcodec/wmaprodec : Make decoders init-threadsafe

    5 mai 2021, par Andreas Rheinhardt
    avcodec/wmaprodec : Make decoders init-threadsafe
    

    In this case this actually fixes a potential data race : The static VLC
    tables were reinitialized every time an AVCodecContext has been
    initialized ; while the mutex in avcodec_open2() ensured that the VLCs
    could not be initialized concurrently by multiple threads, nothing
    guaranteed that these VLCs are not read concurrently (when decoding a
    packet with an already initialized AVCodecContext) while another thread
    initializes them. This is undefined behaviour despite the values being
    written coinciding with the earlier values.

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

    • [DH] libavcodec/wmaprodec.c
  • avcodec/jpeg2000dec : Make decoder init-threadsafe

    7 mai 2021, par Andreas Rheinhardt
    avcodec/jpeg2000dec : Make decoder init-threadsafe
    

    The JPEG-2000 decoder and encoder share common luts ; the decoder
    initializes them once, guarded by a dedicated AVOnce, whereas
    the encoder initializes them always during init. This means that
    the decoder is not init-threadsafe ; in fact there is a potential
    data race because these luts can be initialized while an active
    decoder/encoder is using them.

    Fix this and make the decoder init-threadsafe by making the
    initialization function guard initialization itself with a dedicated
    AVOnce.

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

    • [DH] libavcodec/jpeg2000.c
    • [DH] libavcodec/jpeg2000dec.c
  • Why SIGSEGV appears when trying to decode audio using libavcodec.57 and libopus-1.2 alpha2-1 ?

    10 août 2021, par Greg Joy

    I'm decoding audio using FFMPEG libavcodec's function avcodec_decode_audio4(). Everything works perfect on Windows and Ubuntu 18.04, but I receive segmentation fault when trying to run the same app on Debian 9. I've debugged my code with gdb, and it showed this result :

    &#xA;

    Thread 24 "SDLAudioDev2" received signal SIGSEGV, Segmentation fault.&#xA;[Switching to Thread 0x7ffff7fea700 (LWP 1657)]&#xA;0x00007fffecdd6eff in ?? () from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;(gdb) bt&#xA;#0  0x00007fffecdd6eff in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#1  0x00007fffecde0b18 in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#2  0x00007fffece04ac1 in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#3  0x00007fffece05b5b in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#4  0x00007fffece0e87e in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#5  0x00007fffece0eba7 in opus_multistream_decode ()&#xA;   from /usr/lib/x86_64-linux-gnu/libopus.so.0&#xA;#6  0x00007ffff4f8a235 in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57&#xA;#7  0x00007ffff51893fd in avcodec_decode_audio4 ()&#xA;   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57&#xA;#8  0x00007ffff5189e78 in ?? ()&#xA;   from /usr/lib/x86_64-linux-gnu/libavcodec.so.57&#xA;#9  0x00007ffff518f098 in avcodec_send_packet ()&#xA;

    &#xA;

    Seems that data race appears somewhere. I've tried to remove avcodec_decode_audio4() and use avcodec_send_packet() and avcodec_receive_frame() functions, however in libavcodec.57 of FFMPEG ver.3.2.10 function avcodec_send_packet() invokes avcodec_decode_audio4() and the problem occurs again.

    &#xA;

    Could someone help me with what do I need to change to make it all be compatible with Debian 9 packages' versions, please ?

    &#xA;

    On Windows I have libavcodec.58, on Ubuntu 18.04 libavcodec.57 ver.3.4.8

    &#xA;

    On Debian 9 I have libavcodec.57 ver.3.2.15

    &#xA;