472,805 Members | 1,391 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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
3 1978
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Pallas | last post by:
Hi all, I've produced some high-def videos and I want people to be able to watch them on my website, but I may want to prevent downloads and I certainly want to prevent them from editing them....
3
by: triplejump24 | last post by:
i LOVE doing c++ programming, but i never can get myself started! Once i figure it out, its fun but anyways here it goes... Im given a file c:\temp\hwk8input.txt, which contains the records of the...
0
by: WORKING IN FAITH | last post by:
three years I LOVE You Monica More options 1 message - Collapse all WORKING IN FAITH View profile More options Nov 13, 11:29 am three years I LOVE You Monica
3
by: =?Utf-8?B?THVpcyBEaWF6?= | last post by:
when i go to websites that have video clips when i click to run them i get a green display in the video window though i do have sound on the video clip just no picture just a green display where...
1
by: varun123 | last post by:
hi i am new to this.... i am working on website which is not compatible for audio/video files now. now i need to put it up some audio/video files.... i am working with c#.net and access as back...
1
by: spurnaye | last post by:
i have checked the DOM tree and every thing is working fine... The same works fine in mozilla firefox... I m here by pasting the screen shot taken in the internet explorer.. The code i have...
0
by: bogorman | last post by:
Am trying to add a "video" to a webpage which is based on a template containing a javascript menu. The site has hundreds of pages all based on this template and the menu works fine The page can be...
1
by: Rami | last post by:
I came accross a code (some prepared program) that plays a certain video on any button click selected window on the PC. When it stops playing the video, the original window diplays again its...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.