gstreamer client pipeline to view video from AXIS M1054 Network Camera

Robert Krakora rob.krakora at messagenetsystems.com
Fri May 23 14:42:50 PDT 2014


You have to use the "protocols" property on the rtspsrc plugin...set
it to GST_RTSP_LOWER_TRANS_UDP_MCAST.
 I cannot remember what it's integer value is...either a 1 or 2.
The “protocols” property

  “protocols”                GstRTSPLowerTrans
<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans>

Allowed lower transport protocols.

Flags: Read / Write

Default value:
GST_RTSP_LOWER_TRANS_UDP|GST_RTSP_LOWER_TRANS_UDP_MCAST|GST_RTSP_LOWER_TRANS_TCP


On Fri, May 23, 2014 at 5:39 PM, Dale Johnson <djohnson at tplogic.com> wrote:

> Hi Rob,
>
>
>
> I want to view the video itself realtime in the gst-launch video display
> window.
>
>
>
> Dale
>
>
>
> *From:* rob.krakora at gmail.com [mailto:rob.krakora at gmail.com] *On Behalf
> Of *Robert Krakora
> *Sent:* Friday, May 23, 2014 2:37 PM
>
> *To:* Dale.Johnson at tplogic.com; Discussion of the development of and with
> GStreamer
> *Cc:* Chuck Crisler; Tim at centricular.com
>
> *Subject:* Re: gstreamer client pipeline to view video from AXIS M1054
> Network Camera
>
>
>
> Hi Dale,
>
>
>
> Do you want to view the multicast data after it has been captured to a
> file via a GStreamer pipeline or in realtime with Wireshark or shark?
>
>
>
> Best Regards,
>
>
>
> Rob Krakora
>
>
>
>
>
> On Fri, May 23, 2014 at 5:34 PM, Dale Johnson <djohnson at tplogic.com>
> wrote:
>
> Hi Chuck,
>
>
>
> Thank you for your pronto response – always good to hear back from you.
> I may not be making myself clear in my post.  I CAN view this stream NOW
> using:
>
>
>
> gst-launch-1.0 rtspsrc location=rtsp://192.168.0.186/axis-media/media.ampuser-id=root user-pw=
> *xxxxxxxxxxc* latency=150 ! decodebin max-size-time=30000000000 !
> videoconvert ! autovideosink
>
>
>
> However, I would also like to understand how to view the camera’s H264
> video streaming from multicast address 239.231.113.103, port 50000.  And
> that is the pipeline about which I am inquiring in my mailing list entry.
>
>
>
> Any ideas?  Can you advise how better to pose my question?  I will note
> that VLC will successfully open the sdp file (whose contents are inserted
> in my inquiry and whose contents describe the above-mentioned multicast
> video stream) and show its video.
>
>
>
> I look forward to another response from you.
>
>
>
> ~Dale
>
>
>
>
>
> *From:* Chuck Crisler [mailto:ccrisler at mutualink.net]
> *Sent:* Friday, May 23, 2014 2:15 PM
> *To:* Dale.Johnson at tplogic.com; Discussion of the development of and with
> GStreamer
> *Subject:* Re: gstreamer client pipeline to view video from AXIS M1054
> Network Camera
>
>
>
> Here is a test pipeline of mine. This is for Linux.
>
> gst-launch -vvv rtspsrc location=rtsp://$1:$2@$3 \
>     ! queue ! rtph264depay ! ffdec_h264 ! ximagesink
>
> $1 is the username
>
> $2 is the password
>
> $3 is the URL
>
> So, for an Axis camera, location looks like 'rtsp://
> username:password at 192.168.1.1:554/axis-media/media.amp
>
>
>
> On Fri, May 23, 2014 at 5:01 PM, Dale Johnson <djohnson at tplogic.com>
> wrote:
>
> I’m still working on figuring out gstreamer pipeline to view this stream
> described below.  Any input would be appreciated.
>
>
>
> Thanks,
>
>
>
> Dale
>
>
>
> Contents of sdp file for this stream are:
>
>
>
> v=0
>
> o=private 1343035391323762 1343035391323762 IN IP4 10.1.2.3
>
> s=Media Presentation
>
> e=NONE
>
> b=AS:50000
>
> t=0 0
>
> a=range:npt=0.000000-
>
> m=video 50000 RTP/AVP 96
>
> c=IN IP4 239.231.113.103/0
>
> b=AS:50000
>
> a=framerate:30.0
>
> a=transform:1,0,0;0,1,0;0,0,1
>
> a=rtpmap:96 H264/90000
>
> a=fmtp:96 packetization-mode=1; profile-level-id=420029;
> sprop-parameter-sets=Z0IAKeKQFAX/LgLcBAQGkHiRFQ==,aM48gA==
>
>
>
>
>
>
>
> On Wed, 2014-05-21 at 18:09 -0400, Chuck Crisler wrote:
>
>
>
> >* I thought that Axis cameras usually implemented an RTSP server, so you*
>
> >* simply connect as you would to any RTSP source.*
>
>
>
> So something like
>
>
>
>   gst-launch-1.0 playbin uri=rtsp://10.0.0.1/. <http://10.0.0.1/>..
>
>
>
> should work.
>
>
>
> Cheers
>
> -Tim
>
> --
>
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
>
>
> --
>
> Rob Krakora,
> Senior Software Engineer
>
> MessageNet Systems
> 101 E Carmel Dr, Suite 105
> Carmel, IN 46032
>
> MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
> Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
> P: 317.566.1677, 212
> F: 317.663.0808
>
> For the latest news, information, and blogs, please be sure to visit,
> follow, and like us...
>
>
> <http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
>    <http://www.youtube.com/user/MessageNetConnection/feed>  <http://www.linkedin.com/company/messagenet-systems>
>    <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
>
>
>



-- 

Rob Krakora,
Senior Software Engineer

MessageNet Systems
101 E Carmel Dr, Suite 105
Carmel, IN 46032

MessageNetSystems.com<http://www.messagenetcommunicationsystems.com/?utm_source=email+signature&utm_medium=email&utm_campaign=email+signature+to+homepage>
Rob.Krakora at MessageNetSystems.com <rob.krakora at messagenetsystems.com>
P: 317.566.1677, 212
F: 317.663.0808

For the latest news, information, and blogs, please be sure to visit,
follow, and like us...

<http://www.messagenetcommunicationsystems.com/get-the-message-out-blog/?utm_source=email+signature&utm_medium=email&utm_campaign=gmail+signature+to+blog>
   <http://www.youtube.com/user/MessageNetConnection/feed>
<http://www.linkedin.com/company/messagenet-systems>
   <http://twitter.com/MessageNet>  <http://www.facebook.com/MessageNetsystems>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140523/2978d389/attachment-0001.html>


More information about the gstreamer-devel mailing list