Windows Media
(1)
Silverlight
(1)
WMASFWriter
(1)
Vista
(1)
WMWriterPushSink
(1)
IIS
(1)
WMVEnc
(1)
ExpressionEncoder3
(1)

Publishing to Windows Media Services without Windows Media Encoder

Asked By Neeraj
10-Jan-10 04:46 AM
I want to publish the video from my DirectShow graph to Windows Media
Services live publishing point.
The graph will take care of capturing the video and encoding it using
windows media encoder DMO.
Is there any network sink filter for rendering the video to Windows Media
Services? I can write custom DirectShow filter if there is an API that can
take raw/compressed video samples and push it to the media server. I need to
run this on Vista for Windows Media Services 2008.

thanks

From: "Neeraj"You need to use the WMASFWriter filter.

Alessandro Angeli replied to Neeraj
10-Jan-10 02:53 PM
From: "Neeraj"


You need to use the WMASFWriter filter.

You can add the WMASFWriter after the WMVEnc DMO and
configure it to accept compressed input.
http://msdn.microsoft.com/en-us/library/dd743238.aspx

Otherwise you can remove the WMVEnc DMO and replace it with
the WMASFWriter (which will use the DMO internally for you).

In both cases, you need to configure the WMASFWriter with a
profile that matches your DMO output.
http://msdn.microsoft.com/en-us/library/dd743134.aspx

Afterwards, you need to replace the file sink with a
WMWriterPushSink
(http://msdn.microsoft.com/en-us/library/dd758047.aspx).
http://groups.google.com/group/microsoft.public.windowsmedia.sdk/msg/f6ca9b1a841393b5


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm

wrote:ibrary/dd743238.aspxary/dd743134.aspxgle.com/group/microsoft.public.

Neeraj replied to Alessandro Angeli
12-Jan-10 07:44 PM
ibrary/dd743238.aspx
ary/dd743134.aspx
gle.com/group/microsoft.public.windowsmedia.sdk/msg/...

Hi Alessandro,

Thanks for the solution. I plan my application to be compatible with
Windows Media Services 2008 and also use Smooth Streaming features.
Since WMASFWriter is quite old, how much reliable is it to use with
new services? Any thing I need to specifically care about while using
it for the new services?
Also does the new Windows Media Services H.264 for live streaming too?
how can I do this with WM ASF Writer?
Sorry for piling you up with lot of questions :)

regards,
Neeraj

From: "Neeraj"The WMASFWriter is not old.

Alessandro Angeli replied to Neeraj
11-Jan-10 02:18 PM
From: "Neeraj"


The WMASFWriter is not old. The WM protocols have not changed
since version 4.


Smooth Streaming and H.264 are *not* WindowsMedia, they are
Silverlight technologies that use MPEG-4 formats. Smooth
Streaming uses MP4 file fragments (with H.264 video) over
HTTP (that is, IIS and not WMS).


You cannot and AFAIK there is no other way to do it yourself.
You need to use ExpressionEncoder3 or similar product or go
through all the hoops of creating compatible MP4 and ISM
files yourself, without any help from system components.

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
Post Question To EggHeadCafe