Stream .flv Files From SQL Database?
Dec 9, 2010
I want to store .flv files in the database and not in the file system.
This is what I can do right now: Successfully convert .wmv and .mpeg to .flv with ffmpeg. Store images in SQL Server and show them on my page with an httphandler. Same with .avi and .mpeg videos. (It's up to the user's software if he can view it though) Play .flv files in the browser if the file is located in the file system and not in the database.
What I can't do is: Stream .flv videos to JW Player directly from the database. (Stored as binary data)
I've searched the internet for two days now but I can't get it to work. It feels as if I'm almost there though. The JW Player opens up and starts to "buffer", but nothing happens.
I know there's no easy answer but if anyone has done this before, or something similar, I'd like to know how you did. I feel I've got too much code to post it all here.
View 3 Replies
Similar Messages:
Jun 18, 2010
I have a working solution on an IIS6, which I made using this guide: FLV Flash video streaming with ASP.NET 2.0, IIS and HTTP handler
The app is basically a FLV Player, but streaming is essential to it.
Now, one of our customers is running IIS7 and the streaming doesn't work.
View 2 Replies
Feb 9, 2010
I have a simple web site with two pages. One displays a list of files, and the other streams a file when it's clicked in the list. All was fine in production for 6 months, but now I have to move the site to Windows 2008/IIS7. I have it mostly working, but the files don't open properly (in Firefox) because my content-type header is being ignored. On the production site (IIS6) the headers are (using Fiddler):
HTTP/1.1 200 OK
Date: Tue, 09 Feb 2010 16:00:51 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Content-Disposition: attachment; filename="myfile__foo.pdf"
Content-Length: 236841
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: -1
Content-Type: application/octet-stream
but on the test IIS7 server I get:
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 236841
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
Content-Disposition: attachment; filename="myfile__foo.pdf"
Fiddler also reports a protocol violation and says "Content-length mismatch: Response Header claimed 236841 bytes, but server sent 238378 bytes."
My code looks like this:
[code]....
View 1 Replies
Feb 22, 2011
I have an excel file in my Response Output stream. I can Open the stream as a file after a prompt, but it doesn't seem I can save it directly to a specified folder on my client.
View 1 Replies
Dec 9, 2010
Has anybody been able to stream .flv videos from a database to a flash player?
I currently store videos (.avi, .mpeg, .wmv) and images in my database and I can stream these pretty good. I'm using a httphandler to do this.
But I can't get .flv videos to stream to the browser. If I don't upload the .flv file to the database but store it in the filesystem, everything works great.
Is it even possible to send a byte stream from the database to the flashplayer in the browser? I think it could have something to do with the headers of the .flv?
Can I do this or should I keep the videos in the file system?
View 3 Replies
Mar 29, 2013
How to save video file in sql . and play on web page in asp.net c#.
View 1 Replies
Sep 6, 2010
How to save stream as image and store the image in temp files?
View 4 Replies
Jun 16, 2010
I have a folder with png images that are not shared or public (the folder is outside my application folder). Now I want my users to be able to view thoose images only if they are logged in (different users, different images). All images have a name that correspond to the users id. My idea is to stream thoose images into the asp:Image control, is that possible? How do I do that? Other (better) solutions?
View 6 Replies
Jul 19, 2010
i will be passing the xml file like this:
[code]....
error:
Error 1 The best overloaded method match for 'System.Xml.Linq.XDocument.Load(string)' has some invalid arguments
cannot convert from 'System.IO.Stream' to 'string'
View 2 Replies
Apr 16, 2010
I need to populate a database (SQL Server) with some data from a templated excel document.Here are some approaches:
A) User upload a file.xls or file.csv that the server reads, checks and updates the database (cons:the uploaded file might be too big. file.* needs to be in correct format)
B) User downloads a tool.exe to read and upload file.xls (cons: maintenance of the tool.exe)
C) Use of a web service in excel? (don't know how to do it) but
this article might give you a hint
Which one is the best to use? Are there any others?
View 4 Replies
Jan 30, 2010
how to store files (pdf and word files) into sql database and how to display that files with an option of "save" , "open" window from sql data base when user click. i am doing project using c# + asp.net web application
View 1 Replies
Sep 28, 2010
in my project i would like to save pdf files in database, how to save pdf files in database ? along with that i would like to create create a search page to search for pdf files with PDF file names , how to accoplish these things
View 3 Replies
Apr 15, 2010
how to upload .txt files to sql database using asp.net(C#)
View 1 Replies
Apr 14, 2010
I'm now working on a application which needs some pdf files (size 200kb -1Mb) to be stored into Mysql database.
View 2 Replies
Aug 16, 2010
Have a question about the best approach for file storage in a SQL database. I have a table called Widgets, and each row in the Widgets table can have multiple files. I also have another table called Extensions, and again each record in this table can have many files.
Here is what I am considering:
Approach #1:
[Code]....
That approach is very simple and easy to use, but I feel that I could merge the two file tables into one, then use lookup tables:
Approach #2:
[Code]....
The thing is, there are no duplicate or shared files between the two types of objects. So even though I feel better about approach #2, I am concerned that I may be adding additional complexity (and using more server resources to perform the joins), than needed.
View 1 Replies
Dec 16, 2010
am able to download single files which is coming as bytes from database..how to go with multiple files....
View 4 Replies
Nov 15, 2010
need complete ASP.Net with C# code to upload pdf ,word and image files ,save and also retrieving files from and to a SQL database directly.I need to have a webform which uploads different typesof files from hard drive to SQL database and also I want to retrive,delete,save these files in database
View 2 Replies
Jan 27, 2010
I am getting the error while importing the dbf files to access database.It giving "External table is not in the expected format"
View 4 Replies
Mar 20, 2010
in my system folder(E:\santhu) i have flat files(.txt and .doc ) .my problem is how to read those files automatically one by one and store the data(records) in to database?
View 8 Replies
Feb 17, 2011
I have a web application that allows users to upload files which are stored in a database. Users can then search for files and click a link to download them. Clicking the link opens a new window which retrieves the file from the database and offers the user the chance to open the file or save it.
All of the users within our organisation use IE 6, yet while some can click a link and download the file, others can't. The new window simply opens for a split second, then closes. If it was all users I would think it might be the application, but as it is only some I am tempted to think it is a browser issue.
View 2 Replies
Mar 14, 2011
I am new to Visual Studio 2010 and ASP.Net, and when I first connected my SQL Server to Visual Studio it created huge files full of my SQL classes (maybe this was LINQ classes), and I accidently deleted/corrupted those files, and now I want it to create those classes again. Can someone tell me how I can do that?
View 5 Replies
Feb 22, 2010
I am completely new to this and a I apologize if I am postihng this in the wrong area.Here is what I am trying to do. Upload or "store" EXCEL files on my server and then have a "FORM" clients can fill out in order to see the info I uploaded in excel format.I was thinking that I should use either HTML or ASP to build the form and then MYSQL to store the data.What would be the best way for me to get the excel data stored on my server and then have a page with a FORM for clients to go to and be able to see the data from the excel file?I also want the form to have drop down selection boxes so that the client can chose which data from the excel file they want to see.
View 1 Replies
May 17, 2010
My team working in asp.net projects Here we have to upload Excel contents to Database We are using linq.
View 2 Replies
Oct 5, 2010
I need to connect to 3 remote databases from my local machine and restore 3 .bak files, one for each database.I am new to asp and sql server and am finding SQL Server Management studio quite confusing. I cannot find any options to connect remotely or restore a database from .bak.
View 3 Replies
May 7, 2015
If you can I want Upload multiple files in database like this....
View 1 Replies