<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="+1"><tt>Hello,</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>The cameras I have are Onvif 'capable'
          camera's and I have been poking around in one.</tt></font></p>
    <p><font size="+1"><tt>There are 3 profiles, but they are basically
          the same (different resolutions etc).</tt></font></p>
    <p><font size="+1"><tt>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(?).<br>
        </tt></font></p>
    <p><font size="+1"><tt>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.<br>
        </tt></font></p>
    <p><font size="+1"><tt>Below I pasted the 'VideoSourceConfiguration'
          for the first profile, and the URi/URL that it is on.</tt></font></p>
    <p><font size="+1"><tt>If anyone has any pointers how to create a
          gstreamer/gst-launch  stream/pipe, I'd appreciate that.</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>TIA,</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>Ron<br>
        </tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>URL/URi:</tt></font></p>
    <p><font size="+1"><tt><tt:Uri><a class="moz-txt-link-freetext" href="rtsp://192.168.x.y:554/user=admin_password=XXXXXXXX_channel=1_stream=0.sdp?real_stream">rtsp://192.168.x.y:554/user=admin_password=XXXXXXXX_channel=1_stream=0.sdp?real_stream</a></tt:Uri></tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>Profile (partial):</tt></font></p>
    <p><font size="+1"><tt>        <tt:VideoSourceConfiguration
          token="000"><br>
                    <tt:Name>VideoS_000</tt:Name><br>
                    <tt:UseCount>3</tt:UseCount><br>
                    <tt:SourceToken>000</tt:SourceToken><br>
                    <tt:Bounds height="1080" width="1920" y="0"
          x="0"></tt:Bounds><br>
                  </tt:VideoSourceConfiguration><br>
                  <tt:AudioSourceConfiguration token="000"><br>
                    <tt:Name>Audio_000</tt:Name><br>
                    <tt:UseCount>2</tt:UseCount><br>
                    <tt:SourceToken>000</tt:SourceToken><br>
                  </tt:AudioSourceConfiguration><br>
                  <tt:VideoEncoderConfiguration token="000"><br>
                    <tt:Name>VideoE_000</tt:Name><br>
                    <tt:UseCount>1</tt:UseCount><br>
                    <tt:Encoding>H264</tt:Encoding><br>
                    <tt:Resolution><br>
                      <tt:Width>1280</tt:Width><br>
                      <tt:Height>720</tt:Height><br>
                    </tt:Resolution><br>
                    <tt:Quality>4</tt:Quality><br>
                    <tt:RateControl><br>
                     
          <tt:FrameRateLimit>6</tt:FrameRateLimit><br>
                     
          <tt:EncodingInterval>1</tt:EncodingInterval><br>
                      <tt:BitrateLimit>911</tt:BitrateLimit><br>
                    </tt:RateControl><br>
                    <tt:H264><br>
                      <tt:GovLength>2</tt:GovLength><br>
                      <tt:H264Profile>High</tt:H264Profile><br>
                    </tt:H264><br>
                    <tt:Multicast><br>
                      <tt:Address><br>
                        <tt:Type>IPv4</tt:Type><br>
                       
          <tt:IPv4Address>224.1.2.3</tt:IPv4Address><br>
                      </tt:Address><br>
                      <tt:Port>0</tt:Port><br>
                      <tt:TTL>0</tt:TTL><br>
                      <tt:AutoStart>false</tt:AutoStart><br>
                    </tt:Multicast><br>
                   
          <tt:SessionTimeout>PT10S</tt:SessionTimeout><br>
                  </tt:VideoEncoderConfiguration><br>
        </tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt></tt></font><br>
    </p>
    <div class="moz-cite-prefix">On 5/7/19 4:13 AM, Marc Leeman wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAH+fs=--UDKW97v-qJP8sH4WQq1OgAtTL9QBqQHQfjieGAfX1g@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:ralf.sippl@gmail.com"><ralf.sippl@gmail.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
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: <a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/">http://gstreamer-devel.966125.n4.nabble.com/</a>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">


</pre>
    </blockquote>
  </body>
</html>