开发者

play the range of big WMV files by using ASP.NET

开发者 https://www.devze.com 2022-12-17 11:15 出处:网络
I am developing a ASP.NET by using c#.net andhave manyWMV files and have to watch the range of the f开发者_JAVA技巧ile which I gave.The size offiles are too big alsothe users shouldn\'t download the a

I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the f开发者_JAVA技巧ile which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give . Is there anybody to help me ?


Unfortunately since WMV files have a header at the beginning and an index at the end you can't just use a FileStream to deliver partial files, for that "streaming" formats like MPEG1/2 or H.264 are much better.

For partial WMV file streaming I would investigate in

Microsoft Media Services

This will basically do the job for you, although if you want tight control over the offsets you want to stream from you will have to dynamically create playlists for your files (i.e. see Server side playlists)

0

精彩评论

暂无评论...
验证码 换一张
取 消