Re: [Live-devel] Capturing video from device

2008-09-04 Thread Ross Finlayson
So the deliverFrame() should handle what is needed to get the encoded data from my encoder. and doGetNextFrame() should call deliverFrame(). 1. Does deliverFrame() should be blocking tillit acquire new frame data? No, neither "doGetNextFrame()" nor "deliverFrame()" should block (because that

Re: [Live-devel] Capturing video from device

2008-09-04 Thread Yedidia Amit
Thanks Ross, It helps a lot. So the deliverFrame() should handle what is needed to get the encoded data from my encoder. and doGetNextFrame() should call deliverFrame(). 1. Does deliverFrame() should be blocking tillit acquire new frame data? 2. who initiate the call: Does the ecoder notify th

Re: [Live-devel] Capturing video from device

2008-09-04 Thread Ross Finlayson
I am imlementing live RTSP video streaming server which capture video from live camera, encoded it in hardware and its output are NAL units. I noticed the DeviceSource template and got some questions about using it. 1. Does my flow should be DevideSource::doGetNextFrame -> H264Framer

[Live-devel] Capturing video from device

2008-09-04 Thread Yedidia Amit
Hi, I am imlementing live RTSP video streaming server which capture video from live camera, encoded it in hardware and its output are NAL units. I noticed the DeviceSource template and got some questions about using it. 1. Does my flow should be DevideSource::doGetNextFrame -> H264Frame