Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (97)

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

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8794)

  • swscale/swscale : Fix races when using unaligned strides/data

    18 septembre 2021, par Andreas Rheinhardt
    swscale/swscale : Fix races when using unaligned strides/data
    

    In this case the current code tries to warn once ; to do so, it uses
    ordinary static ints to store whether the warning has already been
    emitted. This is both a data race (and therefore undefined behaviour)
    as well as a race condition, because it is really possible for multiple
    threads to be the one thread to emit the warning. This is actually
    common since the introduction of the new multithreaded scaling API.

    This commit fixes this by using atomic integers for the state ;
    furthermore, these are not static anymore, but rather contained
    in the user-facing SwsContext (i.e. the parent SwsContext in case
    of slice-threading).

    Given that these atomic variables are not intended for synchronization
    at all (but only for atomicity, i.e. only to output the warning once),
    the atomic operations use memory_order_relaxed.

    This affected the nv12, nv21, yuv420, yuv420p10, yuv422, yuv422p10 and
    yuv444 filter-overlay FATE-tests.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libswscale/swscale.c
    • [DH] libswscale/swscale_internal.h
    • [DH] libswscale/utils.c
  • FFMPEG Aligning Timestamps in m3u8 Stream

    16 septembre 2021, par maxwellray

    I'm receiving an m3u8 stream with the following structure

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-ALLOW-CACHE:YES&#xA;#EXT-X-MEDIA-SEQUENCE:1193&#xA;#EXT-X-PROGRAM-DATE-TIME:2021-09-15T22:57:30&#x2B;00:00&#xA;#EXT-X-TARGETDURATION:11&#xA;#EXTINF:10.054589,&#xA;20210915220000/20210915225710.ts&#xA;#EXTINF:10.008855,&#xA;20210915220000/20210915225720.ts&#xA;

    &#xA;

    Every 10 seconds, the playlist is updated with a new media file path and the oldest media path is removed. Each media file path contains a clip that is approximately 10 seconds long (i.e., over a very long time, the average length of each clip should be 10 seconds). Each media path is timestamped, rounded to 10 seconds.

    &#xA;

    I run a system where I record continuous 32-minute clips of this stream using ffmpeg, and I need to know the exact timestamp where I start to record and where I stop. I'm encountering a sort of race condition where ffmpeg will start recording at the beginning of the oldest clip in the playlist instead of when it actually gets kicked off. The problem is illustrated below

    &#xA;

    Clip 1: |==========|&#xA;Clip 2:            |==========|&#xA;FFMPEG:    |==================| &lt;= ffmpeg is kicked off at t=3&#xA;OUTPUT: |=====================| &lt;= but video would actually start at t=0&#xA;

    &#xA;

    I'm wondering if there's a way to ensure that the clips I record actually start when ffmpeg is kicked off, not from the start of the earliest clip in the stream.

    &#xA;

    Thanks !

    &#xA;

  • 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;