This is the magic of gstreamer pipelines :) Take a look at http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp which has gstreamer clients and servers for RTP. You have to have all the parameters correct and play around to get a reliable stream sometimes.


On Fri, May 31, 2013 at 2:39 AM, Fabio Cecamore <fcecamor@gmail.com> wrote:
Maybe the stream is broken sometimes, but with others program work like
a charm (VLC, iSpy..)

Maybe I should insert some command to say him to ignore broken stream..
but I don't know how to.

Any one have others solution for me ?

I repeat the question:
I've a HD H264 IP cam and i'm searching the way to use with motion..

Thanks

> Hmm I haven't seen that before, it works no probs for me, it's just the
> CPU usage that is the issue.
>
> Cheers,
>
> # Ben Kilah
> # Web Developer
> # Xtramedia.Net
>
> On 31/05/2013 8:33 AM, Fabio Cecamore wrote:
> > Thank you, with this I finally installed all, the problem is the
> > instability of GStreamer..
> > with this command:
> > gst-launch rtspsrc location=rtsp://192.168.0.253/ch0_0.h264  ! decodebin
> > ! v4l2sink device=/dev/video0
> > some times work, some times don't.
> >
> > - If work I get this output (and error):
> > root@...:~# gst-launch rtspsrc
> > location=rtsp://192.168.0.253/ch0_0.h264  ! decodebin ! v4l2sink
> > device=/dev/video0
> > Impostazione della pipeline a PAUSED ...
> > La pipeline č viva e non necessita il PREROLL ...
> > Impostazione della pipeline a PLAYING ...
> > New clock: GstSystemClock
> >
> > ** (gst-launch-0.10:2329): CRITICAL **:
> > gst_v4l2sink_sync_overlay_fields: assertion `v4l2_ioctl (fd,
> > VIDIOC_G_FMT, &format) >= 0' failed
> > (but using motion for access at /dev/video0 all work!)
> >
> >
> > - If don't work (same command)
> > root@...:~# gst-launch rtspsrc
> > location=rtsp://192.168.0.253/ch0_0.h264  ! decodebin ! v4l2sink
> > device=/dev/video0
> > Impostazione della pipeline a PAUSED ...
> > La pipeline č viva e non necessita il PREROLL ...
> > Impostazione della pipeline a PLAYING ...
> > New clock: GstSystemClock
> > ERRORE: dall'elemento
> > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: Errore
> > interno nel flusso di dati.
> > Informazioni di debug aggiuntive:
> > gstbasesrc.c(2550): gst_base_src_loop ():
> > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3:
> > streaming task paused, reason not-linked (-1)
> > Execution ended after 134572701 ns.
> > Impostazione della pipeline a PAUSED ...
> > Impostazione della pipeline a READY ...
> > Impostazione della pipeline a NULL ...
> > Caught SIGSEGV accessing address 0x28
> > Spinning.  Please run 'gdb gst-launch 2342' to continue debugging,
> > Ctrl-C to quit, or Ctrl-\ to dump core.
> >
> > Like you can see is with exactly same command. Sametime work, other not..
> > Very hard to understand..
> >
> > Google is not good with me today :(
> >
> > Il 30/05/2013 17.48, motion-user-request@... ha scritto:
> >> Message: 3
> >> Date: Thu, 30 May 2013 16:47:28 +0100
> >> From: Roman Gaufman<hackeron@...>
> >> Subject: Re: [Motion-user] Some way to use cam with VLC (H.264) stream
> >> To: Motion discussion list<motion-user@...>
> >> Message-ID:
> >>    <CAAs9BZOosZ2fHMVLC4kccuPRuBLJo-aMqWydPPNth-BAZZXgrw@...>
> >> Content-Type: text/plain; charset="utf-8"
> >>
> >> Maybe this? <https://github.com/umlaeute/v4l2loopback
> >
> > ------------------------------------------------------------------------------
> > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> > Get 100% visibility into your production application - at no cost.
> > Code-level diagnostics for performance bottlenecks with <2% overhead
> > Download for free and get started troubleshooting in minutes.
> >http://p.sf.net/sfu/appdyn_d2d_ap1
> > _______________________________________________
> > Motion-user mailing list
> > Motion-user@...
> >https://lists.sourceforge.net/lists/listinfo/motion-user
> >http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >
>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2



--
Steven P. Goldsmith