Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (78)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (8688)

  • Read h264 stream from an IP camera

    13 juillet 2015, par João Neves

    Currently, I am trying to use opencv to read a video from my Canon VB-H710F camera.

    For this purpose I tried two different solutions :

    SOLUTION 1 : Read the stream from rtsp address

    VideoCapture cam ("rtsp://root:camera@10.0.4.127/stream/profile1=u");

    while(true)
     cam >> frame;

    In this case I am using opencv to directly read from a stream encoded with in H264 (profile1), however this yields the same problem reported here http://answers.opencv.org/question/34012/ip-camera-h264-error-while-decoding/
    As suggested in the previous question, I tried to disable FFMPEG support in opencv installation, which solved the h264 decoding errors but raised other problem.
    When accessing the stream with opencv, supported by gstreame, there is always a large delay associated.
    With this solution I achieve 15 FPS but I have a delay of 5 seconds, which is not acceptable considering that I need a real time application.

    SOLUTION 2 : Read the frames from http address
    while(true)

    startTime=System.currentTimeMillis() ;

           URL url = new URL("h t t p://[IP]/-wvhttp-01-/image.cgi");
           URLConnection con = url.openConnection();
           BufferedImage image = ImageIO.read(con.getInputStream());  
           showImage(image);
           estimatedTime=System.currentTimeMillis()-startTime;
           System.out.println(estimatedTime);
           Thread.sleep(5);
    }

    This strategy simply grabs the frame from the url that the camera provides. The code is in Java but the results are the same in C++ with the curl library.
    This solution avoids the delay of the first solution however it takes little more than 100 ms to grab each frame, which means that I can only achieve on average 10 FPS.

    I would like to know how can I read the video using c++ or another library developed in c++ ?

  • How to retransmit RTSP stream to media server Qt C++

    10 juillet 2021, par vishal dharankar

    I have an application where I receive a RTSP stream on a local IP address . This stream I want to retransmit to a media server which runs on public IP.

    


    Is it possible to forward such stream to next server without deciding and encoding this saving computations ?

    


    Can we use Gstreamer or any other similar library for this ?

    


    Sorry for not attaching any code since I am not sure where to start and what can be a specific library for this .

    


    Any pointers are helpful

    


  • ffmpeg , 2 network cards and multicast stream

    18 juin 2015, par dropbasket

    my knowledge of networks are very poor !!, am a newbie !! ;-)

    I have a small server streaming ffmpeg installed on nginx with 2 network interfaces

    p2p1 is used for WAN which provides http/ssh....

    p4p1 is used to receive multicast data from intranet.

    192.168.0.1 is public network gateway.

    192.168.1.1 is private network gateway (commented for not have internet exit this network)

    239.0.0.*/24 is multicast address.

    Linux distribution
    3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    Distributor ID : Ubuntu
    Description: Ubuntu 14.04.2 LTS
    Release : 14.04
    Codename : trusty

    My network interfaces config

    auto lo
    iface lo inet loopback

    # NET1
    auto p2p1
    iface p2p1 inet static
           address 192.168.0.100
           netmask 255.255.255.0
           gateway 192.168.0.1

    # NET2
    auto p4p1
    iface p4p1 inet static
           address 192.168.1.100
           netmask 255.255.255.0
       ### gateway 192.168.1.1

    Now my route table

    root@srv:# route
    Tabla de rutas IP del núcleo
    Destino         Pasarela        Genmask         Indic Métric Ref    Uso Interfaz
    default         192.168.0.1     0.0.0.0         UG    0      0        0 p2p1
    192.168.0.0     *               255.255.255.0   U     0      0        0 p2p1
    192.168.1.0     *               255.255.255.0   U     0      0        0 p4p1

    I’m using udpxy on port 4022 for converting IPTV multicast to unicast HTTP

    udpxy -p 4022

    I execute this

    /usr/bin/ffmpeg -i "http://127.0.0.1:4022/rtp/239.0.0.76:8208" -map 0:0 -map 0:1 -c:v libx264 -vf scale=-1:720 -r 25 -profile:v high -level:v 4.0 -crf 18 -preset veryfast -maxrate 2000k -bufsize 2200k -c:a aac -ab 128k -strict -2 -ac 2 -f flv rtmp://127.0.0.1:11111/rtmp/channel1;


    ffmpeg version 2.7 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 41.100 / 56. 41.100
     libavformat    56. 36.100 / 56. 36.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    http://127.0.0.1:4022/rtp/239.0.0.76:8208: Invalid data found when processing input

    as I can solve this problem ??
    Thanks in advance