467,858 Members | 1,657 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,858 developers. It's quick & easy.

Working With Video In ASP.NET?

hi.

i thought there would be volumes on this topinc on the internet, but i
am having a tough time finding what i am looking for.

i am trying to learn how to move a video from a cam corder or some
device to the PC and then upload it to my web site, storing it on the
server. i am looking for:

1. an explaination as to which destination is better - BLOB in SQL or
local FileSystem?
2. code or links to code that show how to go about providing the upload
from the user's
pc to my web site (dealing with size, upload time, etc).

anything else that i may not be aware of when dealing with video.

thanks for your time and advice.
regards.

Dec 3 '06 #1
  • viewed: 1824
Share:
3 Replies
1) best to store the file location and other info in the database, and the
video file itself on the filesystem.
2) You upload a video the same way you would upload any other file - with
HtmlInputFile or (in ASP.NET 2.0) the FileUpload Control.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"pbd22" wrote:
hi.

i thought there would be volumes on this topinc on the internet, but i
am having a tough time finding what i am looking for.

i am trying to learn how to move a video from a cam corder or some
device to the PC and then upload it to my web site, storing it on the
server. i am looking for:

1. an explaination as to which destination is better - BLOB in SQL or
local FileSystem?
2. code or links to code that show how to go about providing the upload
from the user's
pc to my web site (dealing with size, upload time, etc).

anything else that i may not be aware of when dealing with video.

thanks for your time and advice.
regards.

Dec 3 '06 #2
To add to Peters advice, as video files can be very large indeed, you might
want to use ftp to upload them to your server as it has less impact on your
http traffic which is listened for on a different port.

Also, always try if you can to store the actual video files on a different
server than the one your serving your web pages from as sending them to
people can hog your CPU and application unless your using some sort of
streaming server, and downloads will eat your bandwidth up very easily.
Consider limiting the bandwidth to a given application in your webserver if
you can't use different servers, and serve your pages from one app, and the
video files from another:
http://www.microsoft.com/technet/pro....mspx?mfr=true

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:09**********************************@microsof t.com...
1) best to store the file location and other info in the database, and the
video file itself on the filesystem.
2) You upload a video the same way you would upload any other file - with
HtmlInputFile or (in ASP.NET 2.0) the FileUpload Control.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"pbd22" wrote:
>hi.

i thought there would be volumes on this topinc on the internet, but i
am having a tough time finding what i am looking for.

i am trying to learn how to move a video from a cam corder or some
device to the PC and then upload it to my web site, storing it on the
server. i am looking for:

1. an explaination as to which destination is better - BLOB in SQL or
local FileSystem?
2. code or links to code that show how to go about providing the upload
from the user's
pc to my web site (dealing with size, upload time, etc).

anything else that i may not be aware of when dealing with video.

thanks for your time and advice.
regards.


Dec 3 '06 #3
ok, thanks both.
i did as you suggest, i set up a second box as an FTP server and it
stores
the videos in its hard drive (about 300GB).

i am wondering, tho. if the people are doing the uploads from the
upload page on
my web server and the video is getting stored in my FTP server, is that
still going to effect the HTTP traffic on the web server?

John Timney (MVP) wrote:
To add to Peters advice, as video files can be very large indeed, you might
want to use ftp to upload them to your server as it has less impact on your
http traffic which is listened for on a different port.

Also, always try if you can to store the actual video files on a different
server than the one your serving your web pages from as sending them to
people can hog your CPU and application unless your using some sort of
streaming server, and downloads will eat your bandwidth up very easily.
Consider limiting the bandwidth to a given application in your webserver if
you can't use different servers, and serve your pages from one app, and the
video files from another:
http://www.microsoft.com/technet/pro....mspx?mfr=true

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:09**********************************@microsof t.com...
1) best to store the file location and other info in the database, and the
video file itself on the filesystem.
2) You upload a video the same way you would upload any other file - with
HtmlInputFile or (in ASP.NET 2.0) the FileUpload Control.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"pbd22" wrote:
hi.

i thought there would be volumes on this topinc on the internet, but i
am having a tough time finding what i am looking for.

i am trying to learn how to move a video from a cam corder or some
device to the PC and then upload it to my web site, storing it on the
server. i am looking for:

1. an explaination as to which destination is better - BLOB in SQL or
local FileSystem?
2. code or links to code that show how to go about providing the upload
from the user's
pc to my web site (dealing with size, upload time, etc).

anything else that i may not be aware of when dealing with video.

thanks for your time and advice.
regards.

Dec 8 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by triplejump24 | last post: by
reply views Thread by WORKING IN FAITH | last post: by
3 posts views Thread by =?Utf-8?B?THVpcyBEaWF6?= | last post: by
1 post views Thread by Rami | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.