Chris Marchal [MSFT]
Guest
|
Posted:
Fri Sep 03, 2004 4:34 pm Post subject:
RE: XP Stream Buffer Engine and Windows Media Encoder and Fo |
|
|
The Stream Buffer Engine (SBE) functionality needs a third party MPEG2
encoder to create the MPEG2 data. It does not do the encoding itself. The
dvr-ms file format may be loosly based on the ASF format but they are not
the same. You cannot convert WMV to dvr-ms just to get an MPEG2
alternative.
From your description below it would make sense to have two encoding
channels as you have accces to the live source. This will preserve quality
(transocding from WMV to MPEG2 or vice versa would degrade quality).
You can use the the Format SDK directly to take the raw live samples and
create a WMV that uses the Windows Media codecs. You could also do this
with DirectShow and the ASFWriter filter which may be simpler.
You will also need an MPEG2 compression codec. DirectShow would probably
be the best choice to take the live source, encode it and write it out as
an AVI. You could use the Format SDK to create a custom streams to contain
the MPEG2 data but there would be no real advantage in doing so.
Chris Marchal
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Hi Everyone,
I was wondering if there was a relationship between the
StreamBufferEngine that Windows XP Media Center uses and
the Windows Media Encoder SDK?
I was asked to see if the Windows media encoder or format
SDK could create an mpeg-2 stream. While looking around I
found the Stream Buffer Engine documentation but I did not
see a relationship with the media9 SDKs. It looks like
the stream buffer engine produces a mpeg-2 stream with
mpeg-1 layer II for audio, which is what I need.
I have an application that encodes live video for web
broadcast and allows the producer to cut up the broadcast
into smaller video segments for later on-demand viewing.
It is these segments that I want to have available as wmv
and mpeg-2.
Is there a way to convert the wmv files to the *.dvr-ms
file format using the SDKs?
Thanks in advance for your responses. |
|