streaming into a web pag

R C cjvijf at gmail.com
Thu May 9 00:47:21 UTC 2019


Hello,


The cameras I have are Onvif 'capable' camera's and I have been poking 
around in one.

There are 3 profiles, but they are basically the same (different 
resolutions etc).

So from what I understand is that H.264 is supported by most browsers, 
so I assume that a stream/pipe should be able to be displayed in a web 
browser (firefox does), and there is no need to 'transcode' the stream(?).

I have no idea how to set up a stream/pipe, is there a write up? guide 
or so, so I can figure it out? (there seem to be a gazillion 
options/filters and have no idea  how to use them, nor what they do.

Below I pasted the 'VideoSourceConfiguration' for the first profile, and 
the URi/URL that it is on.

If anyone has any pointers how to create a gstreamer/gst-launch  
stream/pipe, I'd appreciate that.


TIA,


Ron


URL/URi:

<tt:Uri>rtsp://192.168.x.y:554/user=admin_password=XXXXXXXX_channel=1_stream=0.sdp?real_stream</tt:Uri>


Profile (partial):

         <tt:VideoSourceConfiguration token="000">
           <tt:Name>VideoS_000</tt:Name>
           <tt:UseCount>3</tt:UseCount>
           <tt:SourceToken>000</tt:SourceToken>
           <tt:Bounds height="1080" width="1920" y="0" x="0"></tt:Bounds>
         </tt:VideoSourceConfiguration>
         <tt:AudioSourceConfiguration token="000">
           <tt:Name>Audio_000</tt:Name>
           <tt:UseCount>2</tt:UseCount>
           <tt:SourceToken>000</tt:SourceToken>
         </tt:AudioSourceConfiguration>
         <tt:VideoEncoderConfiguration token="000">
           <tt:Name>VideoE_000</tt:Name>
           <tt:UseCount>1</tt:UseCount>
           <tt:Encoding>H264</tt:Encoding>
           <tt:Resolution>
             <tt:Width>1280</tt:Width>
             <tt:Height>720</tt:Height>
           </tt:Resolution>
           <tt:Quality>4</tt:Quality>
           <tt:RateControl>
<tt:FrameRateLimit>6</tt:FrameRateLimit>
<tt:EncodingInterval>1</tt:EncodingInterval>
             <tt:BitrateLimit>911</tt:BitrateLimit>
           </tt:RateControl>
           <tt:H264>
             <tt:GovLength>2</tt:GovLength>
             <tt:H264Profile>High</tt:H264Profile>
           </tt:H264>
           <tt:Multicast>
             <tt:Address>
               <tt:Type>IPv4</tt:Type>
<tt:IPv4Address>224.1.2.3</tt:IPv4Address>
             </tt:Address>
             <tt:Port>0</tt:Port>
             <tt:TTL>0</tt:TTL>
             <tt:AutoStart>false</tt:AutoStart>
           </tt:Multicast>
<tt:SessionTimeout>PT10S</tt:SessionTimeout>
         </tt:VideoEncoderConfiguration>



On 5/7/19 4:13 AM, Marc Leeman wrote:
> I don't think you need to transcode, H.264 should also be supported by
> the browsers.
>
> On Tue, 7 May 2019 at 09:10, Ralf Sippl <ralf.sippl at gmail.com> wrote:
>> Hi Ron,
>>
>> if the pipeline works, you got the GStreamer part right. Of course there are
>> two streams, video and audio. Each is sent to a different UDP port.
>>
>> Now you need to run the receiving part, i.e. Janus. The streaming demo
>> listens to the ports your pipeline sends to. This is obviously off-topic
>> here, use the Janus site, or contact me if that doesn't work.
>>
>> You can use webrtcbin instead, as Nirbheek suggested, but I found it harder
>> to set up (you need to run the websocket part on your own), and it will be a
>> 1-to-1 connection, so you can't use it for broadcast.
>>
>> Ralf
>>
>>
>>
>> --
>> 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/20190508/92fef4a4/attachment.html>


More information about the gstreamer-devel mailing list