<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Nicola, Thanks so much!<br><br>When I do:<br><br>gst-launch-0.10 -e rtspsrc<br>location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !<br>mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp<br><br>and then playback with<br><br>gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !<br>ffdec_mpeg4 ! xvimagesink<br><br><br>It works great. Do you think this uses a lot more processing power than using something like mencoder or openRTSP to just copy the stream and save it to file?<br><br>Thanks so much for your help<br>Tom<br><br>--- On <b>Sat, 4/9/11, Mailing List SVR <i><lists@svrinformatica.it></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Mailing List SVR <lists@svrinformatica.it><br>Subject: Re: Help with Gstreamer and RTSP with Axis
Camera<br>To: "Tom Hendrick" <sdtom182@yahoo.com><br>Cc: "Discussion of the development of and with GStreamer" <gstreamer-devel@lists.freedesktop.org>, t.i.m@zen.co.uk<br>Date: Saturday, April 9, 2011, 8:57 PM<br><br><div class="plainMail">Sorry the right pipe is the following:<br><br>gst-launch-0.10 -e rtspsrc<br>location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !<br>mpeg4videoparse ! matroskamux ! filesink location=/tmp/test.mkv<br><br>and then playback with playbin or any stardard player<br><br>or <br><br>gst-launch-0.10 -e rtspsrc<br>location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp ! rtpmp4vdepay !<br>mpeg4videoparse ! gdppay ! filesink location=/tmp/test.gdp<br><br>and then playback with<br><br><br>gst-launch-0.10 filesrc location=/tmp/test.gdp ! gdpdepay !<br>ffdec_mpeg4 ! xvimagesink<br><br>Nicola<br><br>Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom Hendrick ha scritto:<br>> Thanks so much,<br>>
When I run:<br>> <br>> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> rtpmp4vdepay ! matroskamux ! filesink location=test.mkv<br>> <br>> I get : streaming task paused, reason not-negotiated (-4)<br>> <br>> when I run : <br>> <br>> gst-launch rtspsrc location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> rtpmp4vdepay ! gdppay ! filesink location=test.gdp<br>> <br>> Control ^C out of it, and then:<br>> <br>> gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !<br>> autovideosink<br>> <br>> It works! but the quality of the image is much lower than when I run<br>> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> <br>> <br>> Is this because of the muxer, what else can I try?<br>> <br>> thanks<br>> Tom<br>> <br>> <br>> <br>> --- On Sat, 4/9/11, Mailing List SVR <<a ymailto="mailto:lists@svrinformatica.it"
href="/mc/compose?to=lists@svrinformatica.it">lists@svrinformatica.it</a>> wrote:<br>> <br>> From: Mailing List SVR <<a ymailto="mailto:lists@svrinformatica.it" href="/mc/compose?to=lists@svrinformatica.it">lists@svrinformatica.it</a>><br>> Subject: Re: Help with Gstreamer and RTSP with Axis Camera<br>> To: "Discussion of the development of and with GStreamer"<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>> Cc: <a ymailto="mailto:t.i.m@zen.co.uk" href="/mc/compose?to=t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>, "Tom Hendrick" <<a ymailto="mailto:sdtom182@yahoo.com"
href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>><br>> Date: Saturday, April 9, 2011, 7:25 PM<br>> <br>> You need a muxer try this:<br>> <br>> gst-launch rtspsrc<br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> rtpmp4vdepay ! matroskamux ! filesink location=test.mkv<br>> <br>> then you'll be able to play the video with playbin.<br>> <br>> You can also try:<br>> <br>> gst-launch rtspsrc<br>>
location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> rtpmp4vdepay ! gdppay ! filesink location=test.gdp<br>> <br>> and then:<br>> <br>> gst-launch filesrc location=test.mkv ! gdpdepay ! decodebin2 !<br>> autovideosink<br>> <br>> regards<br>> Nicola<br>> <br>> <br>> <br>> Il giorno sab, 09/04/2011 alle 10.33 -0700, Tom Hendrick ha<br>> scritto:<br>>
> <br>> > I tried:<br>> > <br>> > gst-launch rtspsrc<br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > rtpmp4vdepay ! filesink=txcap.ts<br>> > <br>> > and I didn't get the link error and it saved to a file.<br>> > <br>> > When I try to play it with gstreamer using: <br>> > <br>> > gst-launch playbin uri=file://txcap.ts, or gst-launch-0.10<br>> playbin2<br>>
> uri=file://txcap.ts, <br>> > <br>> > it plays too fast and the lower half of the each frame has<br>> some weird<br>> > block distortions.<br>> > <br>> > When I do:<br>> > mplayer txcap.ts it also plays too fast but I don't see the<br>> weird<br>> > block distortions on the lower left half of each frame, but<br>> when I do<br>> > mplayer -fps 1 txcap.ts it plays fine.<br>> > <br>>
> <br>> > When I do gst-launch playbin<br>> uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> > it shows the video feed just fine without that distotion in<br>> the lower<br>> > half. I'd like to make the saved file work with gstreamer<br>> because I<br>> > had some cache problems with mplayer on the receiver in the<br>> past.<br>> > <br>> > Could it have anything to do with the fact Axis uses MPEG-ES<br>> formats? <br>> > Any
other ideas?<br>> > <br>> > Thanks<br>> > Tom<br>> > <br>> > --- On Sat, 4/9/11, Tom Hendrick <<a ymailto="mailto:sdtom182@yahoo.com" href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>> wrote:<br>> > <br>> > From: Tom Hendrick <<a ymailto="mailto:sdtom182@yahoo.com" href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>><br>> > Subject: Re: Help with Gstreamer and RTSP with Axis<br>> Camera<br>>
> To: <a ymailto="mailto:t.i.m@zen.co.uk" href="/mc/compose?to=t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>, "Discussion of the development<br>> of and<br>> > with GStreamer"<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>> > Date: Saturday, April 9, 2011, 5:13 PM<br>> > <br>> > Thanks Tim,<br>> >
<br>> > I can see a live feed from the Axis camera when I<br>> do:<br>> > <br>> > gst-launch-0.10 playbin2<br>> > uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> > <br>> > <br>> > I can't figure out how to modify my transmit and<br>> receive<br>>
> commands given that I need to depay. I've read up<br>> on the<br>> > gstreamer site and checked other forums but still<br>> can't figure<br>> > it out. When I do "gst-launch rtspsrc<br>> > location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > rtpmp4gdepay ! filesink=txcap.ts" I get an error<br>> saying<br>> > "streaming task paused, reason
not-linked (-1)". <br>> > <br>> > <br>> > Do you know how I would modify them, here they are<br>> again?<br>> > <br>> > gst-launch rtspsrc<br>> > location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > filesink=txcap.ts<br>> > <br>>
> gst-launch playbin uri=file://txcap.ts<br>> > <br>> > Thanks<br>> > Tom<br>> > <br>> > <br>> > --- On Sat, 4/9/11, Tim-Philipp Müller<br>> <<a ymailto="mailto:t.i.m@zen.co.uk" href="/mc/compose?to=t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>><br>> > wrote:<br>>
> <br>> > From: Tim-Philipp Müller <<a ymailto="mailto:t.i.m@zen.co.uk" href="/mc/compose?to=t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>><br>> > Subject: Re: Help with Gstreamer and RTSP<br>> with Axis<br>> > Camera<br>> > To: <a ymailto="mailto:gstreamer-devel@lists.freedesktop.org"
href="/mc/compose?to=gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>> > Date: Saturday, April 9, 2011, 10:49 AM<br>> > <br>> > On Fri, 2011-04-08 at 19:12 -0700, Tom<br>> Hendrick wrote:<br>> > <br>> > Hi,<br>> > <br>>
> > <br>> > > As a quick test, I am (..) just trying the<br>> > following:<br>> > > <br>> > > Transmitter :<br>> > > -------------------<br>> > > gst-launch rtspsrc<br>>
><br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > > filesink=txcap.ts<br>> > > <br>> > > I let this run for 20 seconds and control<br>> ^C out of<br>> > it.<br>> > > <br>> >
> Receiver:<br>> > > -------------<br>> > > gst-launch playbin uri=file://txcap.ts<br>> > > <br>> > > <br>> > > The problem is that when I run the<br>> gst-launch<br>> > playbin=file://txcap.ts<br>>
> > the video file plays very fast and then<br>> closes. The<br>> > 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<br>>
sure how to<br>> > modify the<br>> > > transmit and receive command lines to<br>> properly set<br>> > the frame rate,<br>> > > codec, etc. Also another problem is that<br>> I want to<br>> > see this live on<br>> >
> the receiver, so setting gstreamer to run<br>> for a<br>> > specified amount of<br>> > > time so that the header is written<br>> properly will not<br>> > allow me to see<br>> > > this real-time on the receive side. Any<br>> > suggestions?<br>> >
> <br>> > <br>> > This works I presume:<br>> > <br>> > gst-launch-0.10 playbin2<br>> > uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> > <br>> >
?<br>> > <br>> > Note that rtspsrc outputs RTP packets, which<br>> you need<br>> > to depayload using<br>> > an appropriate depayloader (rtpmp2tdepay?<br>> > rtpmp4gdepay? rtpmp4vdepay?).<br>> > <br>>
> Writing RTP packets to file like you do now<br>> is not<br>> > going to work.<br>> > <br>> > Cheers<br>> > -Tim<br>> > <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>> ><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>> > <br>> > <br>>
> -----Inline Attachment Follows-----<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>> ><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><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>> ><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>> <br>> <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>