Re: [Live-devel] Buffering an H264 Video Stream

2014-11-04 Thread Ross Finlayson
> I get this part now, but what I still don't get is how to pass incoming data > from RSTPClient to H264VideoStreamFramer. The constructor for it is: > > H264VideoStreamDiscreteFramer::createNew(UsageEnvironment& env, FramedSource* > inputSource) { > > A FramedSource input, but RSTPClient is

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-04 Thread Chris Richardson (WTI)
Hey Mark, I think the main point of confusion here is the difference between LIVE555 server-side concepts and client-side concepts. You are trying to write a client, and normally on the client side you wouldn’t be using H264VideoStreamDiscreteFramer because that is a *server-side* concept.

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-04 Thread Mark Bondurant
t& env, FramedSource* inputSource) { A FramedSource input, but RSTPClient is not a FramedSource. Don't see any framed source in it. From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, November 03, 2014 3:35 PM To: LIVE555 Streaming Media -

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-04 Thread Mark Bondurant
is not a FramedSource. Don't see any framed source in it. From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, November 03, 2014 3:35 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Buffering an H264 Video Stream

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-04 Thread Mark Bondurant
Sorry for the absence, but I have about a dozen hats to wear. From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Jeff Shanab Sent: Monday, November 03, 2014 4:46 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Buffering an H264 Video St

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Jeff Shanab
4 3:35 PM > *To:* LIVE555 Streaming Media - development & use > *Subject:* Re: [Live-devel] Buffering an H264 Video Stream > > > > Also, part of the problem here, I think, is that you seem to be confused > by what the class “H264VideoStreamFramer” does. This class takes

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Mark Bondurant
el-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, November 03, 2014 3:35 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Buffering an H264 Video Stream Also, part of the problem here, I think, is that you seem to be confused by what the class

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Jeff Shanab
Understanding the RTSPClient code is the first requirement! it succinctly and completely shows the minimum needed. Strobe is an interesting word but I get what he means, It is a pull system. The FAQ has a great explanation of this. The getNextFrame calls the source to the left(with the provided c

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Ross Finlayson
Also, part of the problem here, I think, is that you seem to be confused by what the class “H264VideoStreamFramer” does. This class takes as input an unstructured H.264 byte stream, and parses it into discrete H.264 NAL units. It *does not* combine multiple H.264 NAL units into a single ‘acces

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Ross Finlayson
> In the example program you have the ourRTSPClient with a StreamClientState > object attached. You "strobe" the session object to cause the client to pump > frames through. I don’t know what you mean here. I don’t use the word “strobe” anywhere in the code or documentation. Please stop makin

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Mark Bondurant
You need to create a filter and insert it into the chain. I had this exact scenario and what I had was my own filter that handled the incoming frames. All my frames were small POD classes with a bit of meta data and a buffer holding the frame. I had a pool of these of different sizes and they

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Mark Bondurant
m. From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Monday, November 03, 2014 1:38 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Buffering an H264 Video Stream I need to keep a constant 3 second buffer of an H26

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Jeff Shanab
You need to create a filter and insert it into the chain. I had this exact scenario and what I had was my own filter that handled the incoming frames. All my frames were small POD classes with a bit of meta data and a buffer holding the frame. I had a pool of these of different sizes and they were

Re: [Live-devel] Buffering an H264 Video Stream

2014-11-03 Thread Ross Finlayson
> I need to keep a constant 3 second buffer of an H264 video stream. It's for > security cameras. When something trips the camera, I replay the 3 seconds and > then 6 more to see the event (One hopes I'll catch some ghosts or mountain > lions, but really it's to catch car thieves!). With mpeg i