On Fri, 19 Dec 2008 01:39:19 -0800 (PST), Serge Korolev wrote:
[Quoted Text] > I'd have to write a hardware specific codec to write to Windows Media > file format. SDK's UncompAVItoWMV sample was a good start point though > I've encountered one issue which doesn't permit me to comply with the > software requirements: > > - Writing content should be available for playout in a editing system. > A file is being written in a share mode and can be opened by any > DirectShow or WM player but the only thing you can do with it is to > send file in Play from its start position. > > Is there a way to encode WMV files with repositioning compatibility > available during recording?
No. It's a limitation of many file formats that they require an index in order to seek. The index is written at the end of the file, so until the file is complete you cannot seek. In theory if you wrote your own ASF parser you could do guesstimate seeking (not accurate especially with VBR) however the Microsoft parsers nor any 3rd party one I've seen has this feature.
-- http://www.chrisnet.net/code.htm [MS MVP for DirectShow / MediaFoundation]
|