<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Nicola,<br><br>I forgot to mention that I have the Axis camera set at 10kbps with the default resolution of 640 x 480 and a low frame rate of 1fps<br><br>with the sync=false setting, it sometimes takes a few seconds for movement from my hand to show up on the playback, and sometimes the motion is very fast when it does show my hand moving (much faster than I was moving it) any other ideas?<br><br>Thanks,<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: "Discussion of the development of and with GStreamer" <gstreamer-devel@lists.freedesktop.org>, "Tom Hendrick"
<sdtom182@yahoo.com><br>Date: Saturday, April 9, 2011, 10:27 PM<br><br><div class="plainMail">Try "xvimagesink sync=false" should do the work,<br><br>Nicola<br><br><br>Il giorno sab, 09/04/2011 alle 14.51 -0700, Tom Hendrick ha scritto:<br>> Hi Nikola or anyone else,<br>> <br>> In the end I will be working with named pipes with the video file<br>> being saved by gstreamer from the axis IP camera.<br>> <br>> When I make a named pipe using mkfifo test.gdp<br>> and then do:<br>> <br>> gst-launch-0.10 -e rtspsrc<br>> location=rtsp://root:pass@192.168.2.127/mpeg4/media.amp !<br>> 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 perfectly with the camera bitrate set at 100kbps and I see<br>> the
live video feed from the camera.<br>> <br>> With the camera set at 10kbps, it starts, and I see the gst-launch<br>> playback window with the vide feed but it updates extremely slow. I<br>> see a message in the command line saying <br>> <br>> <br>> There may be a timestamping problem, or this computer is too slow.<br>> WARNING: from element /GstPipeline:pipeline0/<br>> GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.<br>> Additional debug info:<br>> gstbasesink.c(2686): gst_base_sink_is_too_late<br>> (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:<br>> There may be a timestamping problem, or this computer is too slow. <br>> <br>> <br>> Does anyone have advice on additional parameters I may need to use?<br>> Unfortunately I have a need to work at 10kbps. At this low of bitrate<br>> I have problems with mplayer and mencoder. <br>> <br>> However even at
10kbps, the following works fine<br>> <br>> gst-launch playbin uri=rtsp://192.168.0.90/mpeg4/media.amp <br>> <br>> <br>> Thanks<br>> Tom<br>> <br>> <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:lists@svrinformatica.it" href="/mc/compose?to=lists@svrinformatica.it">lists@svrinformatica.it</a>, "Discussion of the development of<br>> and 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, 9:11 PM<br>> <br>> 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 !<br>> 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<br>> power than using something like mencoder or openRTSP to just<br>> copy the stream and save it to file?<br>> <br>> Thanks so much for your help<br>> Tom<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>><br>> 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<br>> Camera<br>> To: "Tom Hendrick" <<a ymailto="mailto:sdtom182@yahoo.com" href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>><br>> Cc:
"Discussion of the development of and with<br>> 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>> <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>> Date: Saturday, April 9, 2011, 8:57 PM<br>> <br>> 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<br>> 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<br>> location=/tmp/test.gdp<br>> <br>> and then playback with<br>> <br>> <br>> gst-launch-0.10 filesrc location=/tmp/test.gdp !<br>> gdpdepay !<br>> ffdec_mpeg4 ! xvimagesink<br>>
<br>> Nicola<br>> <br>> Il giorno sab, 09/04/2011 alle 13.14 -0700, Tom<br>> Hendrick ha scritto:<br>> > Thanks so much,<br>> > When I run:<br>> > <br>> > gst-launch rtspsrc<br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>>
> rtpmp4vdepay ! matroskamux ! filesink<br>> location=test.mkv<br>> > <br>> > I get : streaming task paused, reason<br>> not-negotiated (-4)<br>> > <br>> > when I run : <br>> > <br>> > gst-launch rtspsrc<br>> 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 !<br>> decodebin2 !<br>> > autovideosink<br>> > <br>> > It works! but the quality of the image is much<br>> lower than
when I run<br>> > gst-launch playbin<br>> 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<br>> <<a ymailto="mailto:lists@svrinformatica.it" href="/mc/compose?to=lists@svrinformatica.it">lists@svrinformatica.it</a>> wrote:<br>> > <br>> > From: Mailing List SVR<br>> <<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<br>> with Axis Camera<br>> > To: "Discussion of the development 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>> > 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"<br>> <<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>> ><br>>
location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > rtpmp4vdepay ! matroskamux ! filesink<br>> location=test.mkv<br>> > <br>> > then you'll be able to play the video with<br>> playbin.<br>> > <br>> > You can also try:<br>>
> <br>> > gst-launch rtspsrc<br>> ><br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > rtpmp4vdepay ! gdppay ! filesink<br>> location=test.gdp<br>> > <br>> > and then:<br>>
> <br>> > gst-launch filesrc location=test.mkv !<br>> gdpdepay ! decodebin2 !<br>> > autovideosink<br>> > <br>> > regards<br>> > Nicola<br>> > <br>>
> <br>> > <br>> > Il giorno sab, 09/04/2011 alle 10.33 -0700,<br>> Tom Hendrick ha<br>> > scritto:<br>> > > <br>> > > I tried:<br>> > >
<br>> > > gst-launch rtspsrc<br>> ><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<br>> saved to a file.<br>> >
> <br>> > > When I try to play it with gstreamer<br>> using: <br>> > > <br>> > > gst-launch playbin uri=file://txcap.ts, or<br>> gst-launch-0.10<br>> > playbin2<br>> > > uri=file://txcap.ts, <br>>
> > <br>> > > it plays too fast and the lower half of<br>> the each frame has<br>> > some weird<br>> > > block distortions.<br>> > > <br>> > > When I do:<br>> >
> mplayer txcap.ts it also plays too fast<br>> but I don't see the<br>> > weird<br>> > > block distortions on the lower left half<br>> 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<br>> that distotion in<br>> > the lower<br>> > > half. I'd like to make the saved
file<br>> work with gstreamer<br>> > because I<br>> > > had some cache problems with mplayer on<br>> the receiver in the<br>> > past.<br>> > > <br>> > > Could it have anything to do with the fact<br>>
Axis uses MPEG-ES<br>> > formats? <br>> > > Any other ideas?<br>> > > <br>> > > Thanks<br>> > > Tom<br>> > > <br>> > > --- On Sat, 4/9/11, Tom
Hendrick<br>> <<a ymailto="mailto:sdtom182@yahoo.com" href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>> wrote:<br>> > > <br>> > > From: Tom Hendrick<br>> <<a ymailto="mailto:sdtom182@yahoo.com" href="/mc/compose?to=sdtom182@yahoo.com">sdtom182@yahoo.com</a>><br>> > > Subject: Re: Help with Gstreamer<br>>
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<br>> 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,<br>> 5:13 PM<br>> > > <br>> > > Thanks Tim,<br>> > > <br>>
> > I can see a live feed from the<br>> Axis camera when I<br>> > do:<br>> > > <br>> > > gst-launch-0.10 playbin2<br>> > ><br>>
uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> > > <br>> > > <br>> > > I can't figure out how to modify<br>> my transmit and<br>> > receive<br>> > > commands given that I need
to<br>> depay. I've read up<br>> > on the<br>> > > gstreamer site and checked other<br>> forums but still<br>> > can't figure<br>> > > it out. When I do "gst-launch<br>> rtspsrc<br>>
> ><br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > > rtpmp4gdepay ! filesink=txcap.ts"<br>> I get an error<br>> > saying<br>> > > "streaming task paused, reason<br>> not-linked (-1)". <br>>
> > <br>> > > <br>> > > Do you know how I would modify<br>> them, here they are<br>> > again?<br>> > > <br>> > >
gst-launch rtspsrc<br>> > ><br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > > filesink=txcap.ts<br>> > > <br>> > > gst-launch playbin<br>> uri=file://txcap.ts<br>>
> > <br>> > > Thanks<br>> > > Tom<br>> > > <br>> > > <br>> > > --- On Sat, 4/9/11, Tim-Philipp<br>>
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<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>> > > Subject: Re: Help with<br>> Gstreamer and RTSP<br>> > with Axis<br>> > > Camera<br>> > > To:<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,<br>> 2011, 10:49 AM<br>> > > <br>> > > On Fri, 2011-04-08 at<br>> 19:12
-0700, Tom<br>> > Hendrick wrote:<br>> > > <br>> > > Hi,<br>> > > <br>> > > > <br>>
> > > As a quick test, I am<br>> (..) just trying the<br>> > > following:<br>> > > > <br>> > > > Transmitter :<br>> >
> > -------------------<br>> > > > gst-launch rtspsrc<br>> > ><br>> ><br>> location=rtsp://192.168.0.90/mpeg4/media.amp !<br>> > > > filesink=txcap.ts<br>> >
> > <br>> > > > I let this run for 20<br>> seconds and control<br>> > ^C out of<br>> > > it.<br>> > > > <br>>
> > > Receiver:<br>> > > > -------------<br>> > > > gst-launch playbin<br>> uri=file://txcap.ts<br>> > > > <br>> >
> > <br>> > > > The problem is that when<br>> I run the<br>> > gst-launch<br>> > > playbin=file://txcap.ts<br>> > > > the video file plays<br>>
very fast and then<br>> > closes. The<br>> > > quality also<br>> > > > doesn't look as good as<br>> when I use "vlc<br>> > > ><br>>
rtsp://192.168.0.90/mpeg4/media.amp"<br>> > > > <br>> > > > I'm a beginner with<br>> gstreamer so I'm not<br>> > sure how to<br>> > > modify the<br>>
> > > transmit and receive<br>> command lines to<br>> > properly set<br>> > > the frame rate,<br>> > > > codec, etc. Also<br>> another problem is that<br>>
> I want to<br>> > > see this live on<br>> > > > the receiver, so setting<br>> gstreamer to run<br>> > for a<br>> > > specified amount of<br>>
> > > time so that the header<br>> is written<br>> > properly will not<br>> > > allow me to see<br>> > > > this real-time on the<br>> receive side. Any<br>>
> > suggestions?<br>> > > > <br>> > > <br>> > > This works I presume:<br>> > > <br>>
> > gst-launch-0.10 playbin2<br>> > ><br>> uri=rtsp://192.168.0.90/mpeg4/media.amp<br>> > > <br>> > > ?<br>> > >
<br>> > > Note that rtspsrc outputs<br>> RTP packets, which<br>> > you need<br>> > > to depayload using<br>> > > an appropriate depayloader<br>>
(rtpmp2tdepay?<br>> > > rtpmp4gdepay?<br>> rtpmp4vdepay?).<br>> > > <br>> > > Writing RTP packets to<br>> file like you do now<br>> > is not<br>>
> > going to work.<br>> > > <br>> > > Cheers<br>> > > -Tim<br>> > >
<br>> > ><br>> ><br>> _______________________________________________<br>> > > gstreamer-devel mailing<br>> list<br>> > ><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>> ><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<br>> Follows-----<br>> > > <br>> > ><br>> _______________________________________________<br>> > > gstreamer-devel mailing list<br>> > ><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>> ><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>> > > 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>> ><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>> <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>_______________________________________________<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>