Raw custom format stream

May 13th, 2010 - 02:59 am ET by Sam | Report spam
My goal is to play stream created with WMF SDK to give to Windows Media
Service(WMS) to unicast thru RTSP.

My assumption is, since the stream is custom stream with ASF container, if I
want to play the rtsp stream in silverlight, I have to write ASF parser. So I
was wondering, is there any way to create raw packet stream without ASF
container or any other container? So that I need not write ASF parser in
silverlight managed code.

Thanks.
email Follow the discussionReplies 5 repliesReplies Make a reply

Similar topics

Replies

#1 Alessandro Angeli
May 13th, 2010 - 12:50 pm ET | Report spam
From: "Sam"

My goal is to play stream created with WMF SDK to give to Windows
Media Service(WMS) to unicast thru RTSP.

My assumption is, since the stream is custom stream with ASF
container, if I want to play the rtsp stream in silverlight, I have
to write ASF parser. So I was wondering, is there any way to create
raw packet stream without ASF container or any other container? So
that I need not write ASF parser in silverlight managed code.



RTSP/RTP does not sends ASF packets but raw data. However, AFAIK
Silverlight does not support RTSP/RTP but only HTTP-based protocols, in
which case the whole ASF file is sent to the client.

// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
Replies Reply to this message
#2 Sam
May 14th, 2010 - 07:40 am ET | Report spam
"Alessandro Angeli" wrote:

From: "Sam"

> My goal is to play stream created with WMF SDK to give to Windows
> Media Service(WMS) to unicast thru RTSP.
>
> My assumption is, since the stream is custom stream with ASF
> container, if I want to play the rtsp stream in silverlight, I have
> to write ASF parser. So I was wondering, is there any way to create
> raw packet stream without ASF container or any other container? So
> that I need not write ASF parser in silverlight managed code.

RTSP/RTP does not sends ASF packets but raw data. However, AFAIK
Silverlight does not support RTSP/RTP but only HTTP-based protocols, in
which case the whole ASF file is sent to the client.

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


.




Thanks for the reply.

So if I send custom ASF stream created using WMF SDK to WMS, the WMS will
remove the ASF container and stream raw data to the RTSP clients (say VLC)?
Is it so?

I tried the above setup with mpeg4 packets; custom asf stream to WMS and
unicast from there. If I use MMS protocol in VLC, it is playing properly. But
if I use RTSP protocol, the video is coming blurred. Any idea?

And for playing RTSP stream in silverlight, I am using Silversuit.
Replies Reply to this message
#3 Sam
May 17th, 2010 - 06:09 am ET | Report spam
"Alessandro Angeli" wrote:

From: "Sam"

> My goal is to play stream created with WMF SDK to give to Windows
> Media Service(WMS) to unicast thru RTSP.
>
> My assumption is, since the stream is custom stream with ASF
> container, if I want to play the rtsp stream in silverlight, I have
> to write ASF parser. So I was wondering, is there any way to create
> raw packet stream without ASF container or any other container? So
> that I need not write ASF parser in silverlight managed code.

RTSP/RTP does not sends ASF packets but raw data. However, AFAIK
Silverlight does not support RTSP/RTP but only HTTP-based protocols, in
which case the whole ASF file is sent to the client.

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


.




I found following article.

http://msdn.microsoft.com/en-us/lib...05764.aspx

I am not getting what does following two line mean in RTSP section in above
link:

# The encapsulation of Advanced Streaming Format (ASF) packets in RTP is
proprietary.
# The description of the ASF file, called ASF encapsulated in SDP, is
proprietary.

Any idea?
Replies Reply to this message
#4 Sam
May 17th, 2010 - 06:24 am ET | Report spam
"Alessandro Angeli" wrote:

From: "Sam"

> My goal is to play stream created with WMF SDK to give to Windows
> Media Service(WMS) to unicast thru RTSP.
>
> My assumption is, since the stream is custom stream with ASF
> container, if I want to play the rtsp stream in silverlight, I have
> to write ASF parser. So I was wondering, is there any way to create
> raw packet stream without ASF container or any other container? So
> that I need not write ASF parser in silverlight managed code.

RTSP/RTP does not sends ASF packets but raw data. However, AFAIK
Silverlight does not support RTSP/RTP but only HTTP-based protocols, in
which case the whole ASF file is sent to the client.

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


.




I found following link
http://msdn.microsoft.com/en-us/lib...05764.aspx

It says in RTSP section:

# The encapsulation of Advanced Streaming Format (ASF) packets in RTP is
proprietary.
# The description of the ASF file, called ASF encapsulated in SDP, is
proprietary.

Is this related? Any lights on this?
Replies Reply to this message
#5 Sam
May 19th, 2010 - 05:01 am ET | Report spam
"Alessandro Angeli" wrote:


RTSP/RTP does not sends ASF packets but raw data. However, AFAIK
Silverlight does not support RTSP/RTP but only HTTP-based protocols, in
which case the whole ASF file is sent to the client.



Alessandro, please reply.

The RTSp stream coming from WMS has "video/X-ASF-PF-3" MIME type.
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search