gstreamer client pipeline to view video from AXIS M1054 Network Camera

Dale Johnson djohnson at tplogic.com
Fri May 23 14:34:19 PDT 2014


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.amp user-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@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/...

 

should work.

 

Cheers

-Tim

-- 

Tim Müller, Centricular Ltd - http://www.centricular.com <http://www.centricular.com/> 

 


_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140523/621ad396/attachment-0001.html>


More information about the gstreamer-devel mailing list