streaming into a web pag

R C cjvijf at gmail.com
Tue May 7 02:43:58 UTC 2019


Hi Ralf,


it seems that is working,  (see attached/copied below)


I tried a few  HTML5 <video> tags,  but I didn't get that part right.

You have an example of that too?

Also, I noticed there are two streams created by gst-launch-1.0?



here's what I see:

[usr at box1 camera-img-d]# gst-launch-1.0 uridecodebin 
uri=rtsp://192.168.*.*:554/user=admin_password=XXXXXXXX_channel=1_stream=0.sdp?real_stream 
name=d ! videoconvert ! vp8enc deadline=1 ! rtpvp8pay ! queue ! 
application/x-rtp,media=video,encoding-name=VP8,payload=97 ! udpsink 
host=127.0.0.1 port=5004 d. ! audioconvert ! audioresample ! queue ! 
opusenc ! rtpopuspay ! queue ! 
application/x-rtp,media=audio,encoding-name=OPUS,payload=96 ! udpsink 
host=127.0.0.1 port=5002
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
libva info: va_openDriver() returns -1
DtsGetHWFeatures: Create File Failed
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to 
rtsp://192.168.*.*:554/user=admin_password=XXXXXXXX_channel=1_stream=0.sdp?real_stream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:48.260047767
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...






On 5/6/19 1:14 AM, gripsynth wrote:
> Haven't tried Kurento, but Janus works fine with GStreamer and an OnVIF cam.
> I just tried it with my IP camera, here's the pipeline I'm using with the
> Janus streaming demo:
>
> gst-launch-1.0 uridecodebin
> uri=rtsp://user:password@server:port/your-cams-url name=d ! videoconvert !
> vp8enc deadline=1 ! rtpvp8pay ! queue !
> application/x-rtp,media=video,encoding-name=VP8,payload=97 ! udpsink
> host=127.0.0.1 port=5004 d. ! audioconvert ! audioresample ! queue ! opusenc
> ! rtpopuspay ! queue !
> application/x-rtp,media=audio,encoding-name=OPUS,payload=96 ! udpsink
> host=127.0.0.1 port=5002
>
> You can see the grass moving and hear the birds singing, simultaneously in
> several tabs in Chromium and Firefox at the same time :) latency and frame
> rate are fine.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190506/554dbfaa/attachment-0001.html>


More information about the gstreamer-devel mailing list