GBPVR file writer
GBPVR file writer can allow recordings to be played back while they're still in-progress.
how to implement the function, memory mapped file or other methods? can someone give me some suggestion?
Its like Microsoft file writer, plus lots of other small changes I needed.
I've write a file writer like Microsoft file writer, it work fine.
but it can't allow another progress read the file while recording is in-progress.
Can you give a clue how to create the file which allow reading and writing simultaneity.
any suggestions will be greatly appreciated!
When you open your file, just set the share permissions.That only the writing side of things though....There is much more to reading an in progress recording. The default Microsoft filters will only read the duration of the recording when playback first starts, and never again. It'll stop when it reaches that point. To get around this you'll need to make your own MPEG-2 Demultiplexer, which is a big job.
yes, writing a mpeg demux filter is time-consuming. fortunately I have enough time to do it.
I'd like to the difference between normal mpeg demux and my own demux that I will write. my thought is implementing the Imediaseeking interface and mainly rewriting the function---GetDuration() 、 GetStopPosition() and etc.
is that right?
thank for your help!