T O P I C R E V I E W |
woolfik |
Posted - Nov 27 2014 : 13:56:27 I have one form where is capture image from many devices. It can be integrated camera and IP camera. When I put this code: ImageEnView1.IO.CreateAVIFile(fileName, 10, 'DIB ' ); it record stream from integrated camera but when I run stream from IP camera this function CreateAVIFile create file but this file has size is 0. How can I capture and save image from this two cameras on one form?
Second question is this: When I run this: ImageEnView1.IO.CreateAVIFile(fileName, 10, 'DIB ' ); 7 second of movie has size about 70mb. Is there any chance to compress this stream? |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Dec 02 2014 : 22:54:31 Hi
It looks like you are using TIEJpegAcquireStream to retrieve content from an IP camera, but nowhere do you call SaveToAVI (except for your DirectShow code which is not used by TIEJpegAcquireStream).
You must call SaveToAVI each time you add a new frame to ImageEnView.IEBitmap.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
woolfik |
Posted - Dec 02 2014 : 12:27:04 In attach is my pas and dfm file
attach/woolfik/2014122122652_AVMed.zip 7.49 KB |
xequte |
Posted - Dec 01 2014 : 21:20:45 Hi
You don't show your code from capturing from the IP camera, but CreateAVIFile only creates a video from images loaded into a TImageEnIO.
You would be better off to use one of the other capture methods such as DirectShow or MMF. See the demos in the \VideoCapture\ folder for more info.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|