Recherche avancée

Médias (91)

Autres articles (40)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8956)

  • How can I read a live webstream in java using xuggle ? (I can do it in ffmpeg, just not xuggle)

    25 février 2013, par Grammin

    So if I run :

    ffmpeg -t 10 -re -i "rtmp://170.93.143.150/rtplive/ app=rtplive/ playpath=e000990f025f0075004d823633235daa swfUrl=http://www.chart.state.md.us/video/mediaplayer/player.swf pageUrl=http://www.chart.state.md.us/video/video.asp?feed=e000990f025f0075004d823633235daa stop=5000 flashver=`LNX 11,2,202,262` live=true" test.flv -report

    It gives me a 5 second snapsnot of video from that webstream that gets put into test.flv.
    Now I would like to do the same thing in java using xuggle except everytime I try and open the container it errors out on me and sets x to -1 :

    public IMediaReader grabStream(IMediaReader reader) throws IOException
     {
       String rtmp = "rtmp://170.93.143.150/rtplive/";
       rtmp = rtmp + " app=rtplive/";
       rtmp = rtmp + " playpath=e000990f025f0075004d823633235daa";
       rtmp = rtmp + " swfUrl=http://www.chart.state.md.us/video/mediaplayer/player.swf";
       rtmp = rtmp + " pageUrl=http://www.chart.state.md.us/video/video.asp?feed=e000990f025f0075004d823633235daa";
       rtmp = rtmp + " flashver=`LNX 11,2,202,262`";
       rtmp = rtmp + " live=true";

       IContainer container = IContainer.make();
       IMediaReader newReader = ToolFactory.makeReader(container);

       int x = container.open(rtmp, IContainer.Type.READ, null, true, false);

       if (x < 0)
       {
         IError ie = IError.make(x);
         System.out.println("Open error: " + ie.getType().toString());
         throw new RuntimeException("failed to open with error" + x);
       }

       return newReader;
     }

    Maybe the best way to do it is to stream in ffmpeg to a xuggle container using inputstream somehow ? Or maybe there is another way to stream in a webstream to java ?

  • What kind of stream GStreamer produce ?

    16 novembre 2014, par Max

    I use following 2 commands to stream video from Raspberry Pi

    RaPi

    raspivid -t 999999 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse !  rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=$RA-IP-ADDR port=5000

    Linux Box

    gst-launch-1.0 -v tcpclientsrc host=$RA-IP-ADDR port=5000  ! gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

    But what kind of stream is it ? Can I read it with OpenCV ? or convert with avconv|ffmpeg nc $RA-IP-ADDR 5000 | avconv ? or watch with VLC ?

  • Save Gstreamer stream at Windows side [closed]

    18 février 2013, par user1336117

    I am streaming video from webcam from linux via gstreamer as below :

    gst-launch -v v4l2src device=/dev/video0 ! videorate  ! video/x-raw-yuv, width=320, height=240, framerate=5/1  ! videobalance saturation=0.0 ! jpegenc ! multipartmux ! tcpserversink host=192.168.10.24 port=5000

    I can see the stream via VLC

    tcp://192.168.10.67:5000

    As the next step I want to save it as a video file but I could not succeeded.
    I tried to setup gstreamer to windows but it did not worked.
    I tried to save the stream by using ffmpeg on windows side but it did not worked.

    ffmpeg -i tcp://192.168.10.67:5000 -map 0 deneme.flv

    What should I do to be able to save the stream on windows side ?