Recherche avancée

Médias (91)

Autres articles (43)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

  • How to decrease latency of images based live streaming ?

    18 octobre 2020, par Xiaofeng

    I need to encode and stream live images, but there is always about a 3s latency, how to decrease it ?

    


    The live stream is generated by the following command

    


    ffmpeg -analyzeduration 0 -probesize 32 -i h264_rtsp_url \
       -vf fps=1 -fflags nobuffer -fflags flush_packets -f mjpeg - \
    | ffmpeg -r 1 -f image2pipe -analyzeduration 0 -probesize 32 -i - \
             -c:v libx264 -pix_fmt yuv420p -tune zerolatency \
             -force_key_frames "expr:gte(t,n_forced*1)" \
             -flags low_delay -fflags nobuffer -fflags flush_packets \
             -profile:v main -preset medium -r 15 \
             -f rtp_mpegts rtp://127.0.0.1:4001


    


    Changing preset from medium to ultrafast does not affect the result, still 3s latency.

    


    And I am using mpv to play the streams,
The stream encoded by images :

    


    mpv --profile='low-latency' \
    --untimed --no-cache --no-demuxer-thread --vd-lavc-threads=1 \
    rtp://127.0.0.1:4001


    


    The origin stream :

    


    mpv --profile='low-latency' \
    --untimed --no-cache --no-demuxer-thread --vd-lavc-threads=1 \
    h264_rtsp_url


    


    [1] https://trac.ffmpeg.org/wiki/StreamingGuide

    


  • Http Live Streaming - Segmenting mp3 on Linux

    14 mai 2012, par krisbulman

    I simply want to segment an mp3 for HTTP Live Streaming in any linux distro (preferably CentOS) for the purpose of audio streaming to an iOS app.

    Out of the linux segmenters, I can get the following to compile in CentOS.

    1. http://wiki.andy-chu.com/doku.php?id=http_live_streaming (not sure last time this was updated)

    2. m3u8-segmenter on github (updated months ago)

    3. https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor [ruby wrappers + c] (last updated 2 years ago, and a v2 branch 9 months old)

    In order to prep the file for segmenting, here is the ffmpeg conversion string to generate a valid ts file :

    $ ffmpeg -er 4 -i input.mp3 -f mpegts -acodec libmp3lame -ar 22050 -ab 32k -vn output.ts

    Each of the segmenters require various input switches, all quite simple, and all crash out with a seg fault. #2 actually does some segmenting, but faults after 56 segments every time. I've tried various mp3s with the same results. The issue queues for 2 & 3 are full, with no responses in months of the same issues.

    Others must be doing this in a live production environment that isn't running OSX.. what are your methods ?

  • Anomalie #3749 (Nouveau) : Absence de proposition de mise à jour

    12 mars 2016, par Franck Dalot

    Bonjour
    SPIP 3.1.0 [22707] en prenant le zip ici : https://core.spip.net/projects/spip/wiki
    Prefix des tables : test19
    Installation en Mysql
    PHP Version 5.6.17 chez ovh
    Le htaccess.txt est toujours sous cette forme (en bref, il y en a pas)

    A savoir, le site de test n’est pas à la racine, mais dans un sous sous-dossier ! ( .../spip3/spip19 )
    Quand je vais dans l’espace privé de spip, je n’ai pas l’info comme quoi, la version 3.1.1 est dispo !
    Les taches cron "semblent" ok car le temps change, j’ai essayer "exécuter maintenant" et "réinitialiser la listes des travaux", mais rien n’y fait

    Le problème ne semble présent que sur la version 3.1 de spip, car sur un autre site en SPIP 3.0.21 [22462], j’ai bien le lien avec le message "La version 3.1.1 de SPIP est disponible"
    Concernant ce lien, il envoi vers http://files.spip.org/spip/ cela ne serait pas mieux qu’il dirige vers http://files.spip.net/spip/stable/ ?
    Franck