Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (96)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10375)

  • How to send output stream from ffmpeg into a servlet

    12 mai 2016, par Antonio Mele

    I am trying to get the video stream from an ip camera in my network and redirect it to a servlet.

    Using this command to get the video and redirect the output to standard output

    avconv -f mjpeg -y -i 'http://USER:PASSWORD@192.168.1.5/video.cgi' -r 3 -loglevel 16 -c:v mjpeg -an -qscale 10 -f mp4 -

    Then I would like to call this from a java servlet using ProcessBuilder and sending the streaming to servlet output. So when I will open it from the browser I will get the video streaming.

    I am trying to do this to be able to encode the video as I prefer and to be able to call my web server from Internet to access any camera in my network and avoid to have a port forwarding or nat for every camera.

    If you have any suggestions for other solutions to expose my camera outside my local network having only my public ip (without having to configure my router) are well accepted :)

    thank you

  • ffplay, rtsp and tcp transport protocol

    27 juillet 2022, par Denis Gottardello

    I have a problem on connect to a rtsp camera using ffplay.
The camera is under a router that permits only the TCP protocol.
I can watch the camera using ffplay only if I am in the same network of the camera.
So, when I am out, using this command line

    


    ffplay rtsp://address:554/onvif1


    


    or this

    


    ffplay -rtsp_transport tcp rtsp://address:554/onvif1


    


    I cannot watch the camera.
This is the output of ffplay (the latest).

    


    [rtsp @ 059ee680] Nonmatching transport in server reply  0B f=0/0
rtsp://address:554:/onvif1: Invalid data found when processing input


    


    Trying with VLC and I can watch the camera without any problem, both when I am in the same network or when I am out. The VLC output says that VLC uses TCP.
Has someone got a suggestion ?

    


  • I want to be able to view the CCTV screen on the web

    12 mars 2019, par 윤성호

    I want to be able to view the CCTV screen on the web.

    I have been working on a project that allows the ip camera to be viewed on the web.
    Then I was asked to make Coaxial camera visible on the web.
    So I decided to use DVR.
    First, I connected the DVR to the router.
    Then the input of the coaxial camera is received by the DVR and the DVR transmits the information through the router.
    Through this process, i confirmed that rtsp works normally.
    But it didn’t work on the web.

    I am currently using the nginx web server.
    and use ffmpeg to send rtsp information to rtmp on my nginx web server.
    The web server will then transform it into an hls (index.m3u8) file.
    I think something went wrong during this process.

    Nginx RTMP Config

    # RTMP Config
    rtmp {
       server {
           listen 1935; # Listen on standard RTMP port
           chunk_size 4000;
           application live{
               live on;
               deny play all;
               push rtmp://localhost/play;
               on_publish http://localhost:3001/api/on-live-auth;
               on_publish_done http://localhost:3001/api/on-live-done;
           }
           application play {
               live on;
               # Turn on HLS
               hls on;
               hls_nested on;
               hls_fragment_naming system;
               hls_path /home/banana/nginx/live;
               hls_fragment 3;
               hls_playlist_length 60;

               # disable consuming the stream from nginx as rtmp
               #deny play all;
           }
       }
    }
    # End RTMP Config

    FFMPEG command

    ffmpeg -i rtsp://<cameraip> -c:v copy -rtsp_transport tcp -preset veryfast -c:a copy -fflags +igndts+genpts -f flv rtmp://localhost/live/<cameraid>
    </cameraid></cameraip>

    Test results

    IP Camera RTSP address = admin:qwerty1.@ssnet4.iptime.org:555/trackID=3

    DVR RTSP address = admin:hrd-442s@hwakptz.iptime.org:4524/1

    Run the above rtsp addresses in vlc player respectively

    Success : IP Camera RTSP address , DVR RTSP address

    IP camera HLS address = http://168.131.150.80:4567/live/5c28ae28c6cd0c6c329e1ebc/index.m3u8

    DVR HLS address = http://168.131.150.80:4567/live/5c8746c9d7d74a600edf2460/index.m3u8

    Run the above rtsp addresses in vlc player respectively

    Sucess : IP Camera HLS address

    Fail : DVR HLS address

    This is the same result on the react player.

    const streamUrl = `http://168.131.150.80:4567/live/<cameraid>/index.m3u8`;
    <reactplayer width="{&quot;100%&quot;}" height="{&quot;100%&quot;}" url="{streamUrl}" playing="{true}" controls="{false}" muted="{true}"></reactplayer>
    </cameraid>

    Question

    1. Is there a way to see rtsp directly on the web ?
    2. What’s the problem and what’s the other way ?