<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks Tim,<br><br>I can see a live feed from the Axis camera when I do:<br><br>gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp<br><br><br>I can't figure out how to modify my transmit and receive commands given that I need to depay. I've read up on the gstreamer site and checked other forums but still can't figure it out. When I do "gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp ! rtpmp4gdepay ! filesink=txcap.ts" I get an error saying "streaming task paused, reason not-linked (-1)". <br><br><br>Do you know how I would modify them, here they are again?<br><br>gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp ! filesink=txcap.ts<br><br>gst-launch playbin uri=file://txcap.ts<br><br>Thanks<br>Tom<br><br><br>--- On <b>Sat, 4/9/11, Tim-Philipp Müller
<i><t.i.m@zen.co.uk></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Tim-Philipp Müller <t.i.m@zen.co.uk><br>Subject: Re: Help with Gstreamer and RTSP with Axis Camera<br>To: gstreamer-devel@lists.freedesktop.org<br>Date: Saturday, April 9, 2011, 10:49 AM<br><br><div class="plainMail">On Fri, 2011-04-08 at 19:12 -0700, Tom Hendrick wrote:<br><br>Hi,<br><br>> <br>> As a quick test, I am (..) just trying the following:<br>> <br>> Transmitter :<br>> -------------------<br>> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> filesink=txcap.ts<br>> <br>> I let this run for 20 seconds and control ^C out of it.<br>> <br>> Receiver:<br>> -------------<br>> gst-launch playbin uri=file://txcap.ts<br>> <br>> <br>> The problem is that when I run the gst-launch playbin=file://txcap.ts<br>> the video file
plays very fast and then closes. The quality also<br>> doesn't look as good as when I use "vlc<br>> rtsp://192.168.0.90/mpeg4/media.amp"<br>> <br>> I'm a beginner with gstreamer so I'm not sure how to modify the<br>> transmit and receive command lines to properly set the frame rate,<br>> codec, etc. Also another problem is that I want to see this live on<br>> the receiver, so setting gstreamer to run for a specified amount of<br>> time so that the header is written properly will not allow me to see<br>> this real-time on the receive side. Any suggestions?<br>> <br><br>This works I presume:<br><br> gst-launch-0.10 playbin2 uri=rtsp://192.168.0.90/mpeg4/media.amp<br><br>?<br><br>Note that rtspsrc outputs RTP packets, which you need to depayload using<br>an appropriate depayloader (rtpmp2tdepay? rtpmp4gdepay? rtpmp4vdepay?).<br><br>Writing RTP packets to file like you do now is not going to work.<br><br>
Cheers<br> -Tim<br><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="/mc/compose?to=gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div></blockquote></td></tr></table>