Recherche avancée

Médias (0)

Mot : - Tags -/serveur

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (64)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (12307)

  • How to allow other site via nginx to use my content ?

    3 septembre 2020, par GG GG

    i use nginx - rtmp technique to restream the m3u8 stream via ffmpeg and then play it on the website. I have following restream m3u8 from my server, which is playable perfetly in vlc player https://hls.tvoti.com/rtl2/playlist.m3u8
But i can not play it on the website see demo. I use following code to allow website use the stream, and is it not correct ? :

    


    server {
    listen   80; 

    #root /var/www/html/; 
    #index index.php index.html index.htm;

    server_name tvoti.com; 

    location / {
    proxy_redirect off; 
        proxy_set_header X-Real-IP  $remote_addr;
        proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $host;
        proxy_pass http://127.0.0.1:8080;
    }

    location ~ /\.ht {
        deny all;
    }
}

server {
    listen       80;
    server_name  hls.tvoti.com;

    location / {
        add_header Cache-Control no-cache;

    set $cors_origin "https://rtllivestreamkostenlos.com";

    if ($http_origin ~* (^https?://([^/]+\.)*(tvoti|rtllivestreamkostenlos.com)\.com$)) {
            set $cors_origin "$http_origin";
        }

    add_header "X-Dbg" "$cors_origin" always;

        # Simple requests
        if ($request_method ~* "(GET|POST)") {
            add_header "Access-Control-Allow-Origin"  "$cors_origin";
        }

        # Preflighted requests
        if ($request_method = OPTIONS ) {
            add_header "Access-Control-Allow-Origin"  "$cors_origin";
            add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
            add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
            return 200;
        }
        root   /etc/nginx/hls;
    }

    location /supervisor {
        proxy_pass http://127.0.0.1:9999/;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

}


    


  • Gstreamer queries NVR with wrong startTime having a pattern

    14 septembre 2022, par james.kolinto

    I'm a newbie in gstreamer and I am trying to query a NVR(Network Video Recorder) to get recorded videos of my rtsp camera. Here is my gst pipeline :

    


    


    gst-launch-1.0 rtspsrc location="rtsp ://-NVR ip- :-NVRport-/ ?uuid=-cameraIP-&startTime=20220823170000000&endTime=20220824080200000"
 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink

    


    


    startTime is in the format of : Year-Month-Day-Hour(2 digits)-Minute(2 digits)-Seconds(5 digits)

    


    Here, gstreamer queries the NVR with given startTime and endTime, since there is a timezone difference between my computer and NVR I expect to get the recorded video between startTime + 3 and endTime + 3.

    


    However I get the recorded video starting from startTime + 3 + startTime and ending in endTime + 3.

    


    I am pretty sure that there is no problem with my NVR because the same url given as location here works well with VLC and ffmpeg-ffplay.

    


    Any thoughts ?

    


  • Video append of 5656b failed for segment #2 in playlist Gstreamer RTSP to HLS

    28 juin 2021, par 55597

    I'm trying to forward an RTSP stream(video and audio) using GStreamer and stream it to HLS.

    


    Here is what I'm running on the RTSP server send :

    


        ./test-launch 'v4l2src device=/dev/video0 ! clockoverlay ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96 alsasrc device="hw:2,0" ! voaacenc ! rtpmp4apay pt=97 name=pay1'


    


    The command I'm trying to use to receive is :

    


        gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test name=rtspsrchls ! queue ! rtph264depay ! h264parse ! mpegtsmux name=mux ! hlssink location="/home/nano128/tdservice/hls_rtsp/public/segment%05d.ts" playlist-location=/home/nano128/tdservice/hls_rtsp/public/playlist.m3u8 target-duration=20 max-files=5 rtspsrchls. ! queue ! rtpmp4adepay ! aacparse ! audio/mpeg ! mux.


    


    The HLS stream starts and I am able to see it on my browser. But I get these errors on the browser.

    


    video append of 5656b failed for segment #2 in playlist


    


    When I try to play the segment0.ts on vlc it is playing properly but when I l play sement1.ts I hear only audio.

    


    What is wrong with my GStreamer command ?