Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Simultaneous playback during encoding with IWMWriter

HTVi
TV Discussion Newsgroups

Simultaneous playback during encoding with IWMWriter
Serge Korolev <skorolev[ at ]gmail.com> 12/19/2008 9:39:19 AM
Hello,

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?

Serge
Re: Simultaneous playback during encoding with IWMWriter
"Chris P." <msdn[ at ]chrisnet.net> 12/19/2008 4:56:34 PM
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]

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen