Re: Simultaneous playback during encoding with IWMWriter

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Fri, 19 Dec 2008 01:39:19 -0800 (PST), Serge Korolev wrote:

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]
.



Relevant Pages

  • Mixing reading and writing to a text file
    ... The task seems simple as I have complete control over the file format. ... The problem I have is with writing the state information back to file. ... overwrite the first dozen characters that specify state. ... My first question is: can I freely mix Text_IO and Direct_IO at all? ...
    (comp.lang.ada)
  • Re: SMTP questions
    ... like server, email address, etc.)? ... The only change I made to the sample code was the change I made to get ... I've actually thought about writing a news client at some point. ... message per file format. ...
    (comp.lang.basic.powerbasic)
  • Re: Personal Information Manager friendly to LaTeX?
    ... Does there exist a Personal Information Manager that uses the .adr ... Am I to believe that everyone who uses latex for letter writing just ... I use the KOMA-Script scrlttr2 class for writing letters. ...
    (comp.text.tex)
  • Re: How to read binary data
    ... read the tutorial on Sun's website). ... I don't know the exact file format, ... Sometimes you might find short fields, pad fields etc ... Writing out the file format and making sure it ...
    (comp.lang.java.programmer)
  • Re: Lets get it all together with GEDCOM
    ... capable of writing out data files.... ... It is available to developers as a standalone module but it cannot _write_ proprietary data files because that would be a copyright violation. ... proprietary format would also arise from reading it, ... copyrightable aspect of a file format, ...
    (soc.genealogy.computing)