473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Streaming media and SQL Server 2005

Hi,
Is it possible to store media files (like windows .wmv) on SQL Server 2005
and stream it back to the client via media server (not just download it)?

Regards,
Manuel Alves
Apr 13 '06 #1
5 3226
Hello Manuel,

As I know, there are some way to save a binary file in SQL server:

http://support.microsoft.com/kb/317043
How to read and write a file to and from a BLOB column by using chunking in
ADO.NET and Visual C# .NET

But I am not sure if there is way to connect media server to SQL database.
I suggest you may post this question in a media server newsgroup, for
example:

microsoft.public.windowsmedia.server

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 14 '06 #2
Hi,
Thank you. I'll try the correct newsgroup. By the way, I already use SQL
Server to store and retrieve small binary files (under 100Kb) using VB.NET
(winforms and ASP 2.0), and I was just wondering about streaming (much
larger files and streaming <> just retrieve).

Best regards,
Manuel Alves

"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:OC**************@TK2MSFTNGXA01.phx.gbl...
Hello Manuel,

As I know, there are some way to save a binary file in SQL server:

http://support.microsoft.com/kb/317043
How to read and write a file to and from a BLOB column by using chunking
in
ADO.NET and Visual C# .NET

But I am not sure if there is way to connect media server to SQL database.
I suggest you may post this question in a media server newsgroup, for
example:

microsoft.public.windowsmedia.server

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 14 '06 #3
As I know, SQL server can save a binary file less than 2 GB. But larger
file may cause slow performance when there are multiple requests.

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 17 '06 #4
Thanks,
Besides the fact that sql server won't be as good as the file system for
storing big files like this it lacks the capabilities of the media server.
I've got an answer from microsoft.public.windowsmedia.server. Thank you all
for your time.
--- from microsoft.public.windowsmedia.server:
Hi,
Is it possible to store media files (like windows .wmv) on SQL Server 2005
and stream it back to the client via media server (not just download it)?
Yes, you can do that I suppose. It's a lot of work though for no gain.
I already use SQL Server to store and retrieve small binary files (under
100Kb) using VB.NET (winforms and ASP 2.0), and I was just wondering about
streaming (much larger files and streaming <> just retrieve).
In your scenario, you're using SQL server to store vast amounts of
data and hitting it really hard. Then you're getting WMS to transfer
the same data over the network. Probably you'd have to assemble some
sort of stream writer to mimic a WMS proxy

I can't see why you'd want to do all that work when you can simply use
SQL server to create the playlist dynamically (using the XML writer)
from a stored list of file locations on the server ?

Cheers - Neil

"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:RQ*************@TK2MSFTNGXA01.phx.gbl... As I know, SQL server can save a binary file less than 2 GB. But larger
file may cause slow performance when there are multiple requests.

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 17 '06 #5

He would probably want to use SQL Server 2005 to organize but not store
the media.

That is, have a table with

TITLE
YEAR
FILENAME

That points to the media which can be displayed on a web page.

When the user clicks on the hyperlink, it streams the media through
media server.

Manuel Alves wrote:
Thanks,
Besides the fact that sql server won't be as good as the file system for
storing big files like this it lacks the capabilities of the media server.
I've got an answer from microsoft.public.windowsmedia.server. Thank you all
for your time.
--- from microsoft.public.windowsmedia.server:
Hi,
Is it possible to store media files (like windows .wmv) on SQL Server 2005
and stream it back to the client via media server (not just download it)?

Yes, you can do that I suppose. It's a lot of work though for no gain.

I already use SQL Server to store and retrieve small binary files (under
100Kb) using VB.NET (winforms and ASP 2.0), and I was just wondering about
streaming (much larger files and streaming <> just retrieve).

In your scenario, you're using SQL server to store vast amounts of
data and hitting it really hard. Then you're getting WMS to transfer
the same data over the network. Probably you'd have to assemble some
sort of stream writer to mimic a WMS proxy

I can't see why you'd want to do all that work when you can simply use
SQL server to create the playlist dynamically (using the XML writer)
from a stored list of file locations on the server ?

Cheers - Neil

"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:RQ*************@TK2MSFTNGXA01.phx.gbl...
As I know, SQL server can save a binary file less than 2 GB. But larger
file may cause slow performance when there are multiple requests.

Regards,

Luke Zhang
Microsoft Online Community Support

================================================ ==
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================ ==

(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Apr 17 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of...
3
by: tom | last post by:
I need a C#, peer-to-peer solution for streaming video from a webcam on one box to a client application on the other box. Can someone please help me with this? I can read video from a webcam easy...
0
by: ashish | last post by:
hi All, I am trying to come up with an application which can protect media files, and stream them to the user once the user is authenticated. I want the application managed authentication. I...
8
by: poorna | last post by:
hi all i want to upload the video files to the server.. then i encode all the video files into flv files ... and then i am go to streaming ... in the mean while i create the thumbnail image...
2
by: hzgt9b | last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0, BACKGROUND I have a window forms based application that contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is...
8
by: Amjad | last post by:
Hi i am writing a application where i want to browse video file and copy data into stream and send that stream over network...I have develop P2P windows application where i successfully transfer...
8
by: Tony K | last post by:
Is streaming audio capable in asp.net 2.0 / AJAX? What I mean by streaming audio is: ability to play one or more songs back to back...or maybe even let the user select several songs to play and it...
2
by: donnyf | last post by:
Hi guys. I've put together a website ( http://worldwidemediaproject.com ) that is a database of internet streaming tv/radio stations from around the world. I have built the site with all users in...
2
by: Bubbs | last post by:
hi, Lemme give u a little background on my problem. Ive created a client and server applications that receive and stream live time values. The client software is a clock that receives the time and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.