Hi
We are developing an application where a capture card captures video from camera and store them on the hard drive as AVI file. The encoding is done on the capture card itself (hardware encoding).
For better managability the files are kept 5 minutes in size. When client requests streaming an archived file with some timestamp, the application starts streaming the AVI from the frame which matches the requested timestamp.
My problem is that when a client requests a timestamp which falls into an current AVI file which is still being written by the application. The application does not release the file for streaming until it reaches 5 min size.
Is there anyway I can read the file while the application is still adding data to it?
Thanks
Jignesh
We are developing an application where a capture card captures video from camera and store them on the hard drive as AVI file. The encoding is done on the capture card itself (hardware encoding).
For better managability the files are kept 5 minutes in size. When client requests streaming an archived file with some timestamp, the application starts streaming the AVI from the frame which matches the requested timestamp.
My problem is that when a client requests a timestamp which falls into an current AVI file which is still being written by the application. The application does not release the file for streaming until it reaches 5 min size.
Is there anyway I can read the file while the application is still adding data to it?
Thanks
Jignesh