<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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 <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: "Discussion of the development of and with GStreamer" <gstreamer-devel@lists.freedesktop.org><br>Cc: t.i.m@zen.co.uk, "Tom Hendrick" <sdtom182@yahoo.com><br>Date: Saturday, April 9, 2011, 7:25 PM<br><br><div class="plainMail">You need a muxer try this:<br><br>gst-launch rtspsrc 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 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 scritto:<br>> <br>> I tried:<br>> <br>> gst-launch rtspsrc 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 playbin2<br>> uri=file://txcap.ts, <br>> <br>> it plays too fast and the lower half of the each frame has 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 weird<br>> block distortions on the lower left half of each frame, but when I do<br>> mplayer -fps 1 txcap.ts it plays fine.<br>> <br>> <br>> When I do gst-launch playbin
uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> it shows the video feed just fine without that distotion in the lower<br>> half. I'd like to make the saved file work with gstreamer because I<br>> had some cache problems with mplayer on the receiver in the past.<br>> <br>> Could it have anything to do with the fact Axis uses MPEG-ES 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 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 of and<br>> with GStreamer" <<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 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 receive<br>> commands given that I need to depay. I've read up on the<br>> gstreamer site and checked other forums but still 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 saying<br>> "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<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 <<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 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
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>>
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<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 gst-launch<br>> playbin=file://txcap.ts<br>> > the video file plays very fast and then 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 sure how to<br>>
modify the<br>> > transmit and receive command lines to properly set<br>> the frame rate,<br>> > codec, etc. Also another problem is that I want to<br>> see this live on<br>> > the receiver, so setting gstreamer to run for a<br>> specified amount of<br>> > time so that the header is written 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 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 is not<br>> 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>> <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>> <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>> <a
href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br></div></blockquote></td></tr></table>