Recherche avancée

Médias (91)

Autres articles (67)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (4777)

  • support auto birate based on internet speed using nginx-vod-module

    30 juillet 2020, par Maurya Shubham

    Allow multiple resolution video streaming from single video url - It's possible with nginx-vod-module package or I need to create different-different resolution file and set them ?

    


    Currently I've manually crated master.m3u8 file.

    


    


    #EXTM3U

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2149280,RESOLUTION=1280x720 index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=2149280,RESOLUTION=1280x720,URI="iframes-v1-a1.m3u8"

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=246440,RESOLUTION=320x184 index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=246440,RESOLUTION=320x184,URI="iframes-v1-a1.m3u8"

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=460560,RESOLUTION=512x288 index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=460560,RESOLUTION=512x288,URI="iframes-v1-a1.m3u8"

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=836280,RESOLUTION=848x480 index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=836280,RESOLUTION=848x480,URI="iframes-v1-a1.m3u8"

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=6221600,RESOLUTION=1920x1080 index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=6221600,RESOLUTION=1920x1080,URI="iframes-v1-a1.m3u8"

    


    


    but when I crul video url the master.m3u8 file contain only one resolution.

    


    


    #EXTM3U

    


    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4742713,RESOLUTION=1920x1080,FRAMERATE=30.000,CODECS="avc1.640028,mp4a.40.2",VIDEO-RANGE=SDR
index-v1-a1.m3u8

    


    #EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=633524,RESOLUTION=1920x1080,CODECS="avc1.640028",URI="iframes-v1-a1.m3u8",VIDEO-RANGE=SDR

    


    


  • How to send RTP stream to Janus from NGINX RTMP module ? [closed]

    25 novembre 2024, par Matéo

    I'm trying to create a stream and display it in a browser. I have already configured NGINX with the rtmp module and my stream works very well with HLS (between 5 and 10 seconds of latency).

    


    Now I would like to set up a low-latency stream and that's why I have installed the janus-gateway webRTC server that allows to take in input an RTP stream and provide in output a webRTC stream.

    


    Here's the schema I'd like to follow :

    


    OBS -> RTMP -> Nginx-rtmp-module -> ffmpeg -> RTP -> Janus -> webRTC -> Browser

    


    But I have a problem with this part : "nginx-rtmp-module -> ffmpeg -> janus"

    


    In fact, my janus's server is running and demos streaming works very well in localhost, but when i try to provide an RTP stream, Janus don't detect the stream in the demos (it shows "No remote video available").

    


    Anyone can help me, please ?

    


    Ressources :

    


      

    • My janus.plugin.streaming.jcfg configuration :
    • 


    


    rtp-sample: {
        type = "rtp"
        id = 1
        description = "Opus/VP8 live stream coming from external source"
        metadata = "You can use this metadata section to put any info you want!"
        audio = true
        video = true
        audioport = 5002
        audiopt = 111
        audiortpmap = "opus/48000/2"
        videoport = 5004
        videopt = 100
        videortpmap = "VP8/90000"
        secret = "adminpwd"
}



    


      

    • My nginx.conf application :
    • 


    


    application test {

        deny play all;

        live on;
        on_publish http://localhost/test/backend/sec/live_auth.php;

        exec ffmpeg -i rtmp://localhost/test/$name -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://localhost:5004;

}


    


  • Generate EPG (Electronic Program Guide) with FFMPEG re-stream

    17 juin 2020, par Airat Galiullin

    I'll try to describe a situation :
I have Ubuntu server with installed ffmpeg and a streaming service that is creating HLS.

    



    That streaming service for generating HLS need RTMP stream which is generated by ffmpeg from local files in VOD on this server (files are mp4 format).

    



    I need to generate EPG on ffmpeg rtmp re-streaming step. Is it possible or may be other good solution for my situation ?

    



    RTSP generation SH :

    



    while true;
 do
  for file in $(ls -1);
   do
    ffmpeg -re -i "$file" -vcodec copy -bsf:v h264_mp4toannexb -acodec copy -f flv rtmp://localhost/path/for/channel
   done
 done