Video Stream Sugestions Anyone?
Dec 16, 2010I am looking to add video stream into my web application for webcams.owever, I have never used the .NET framework to do so. Any ideas were I should start?
View 9 RepliesI am looking to add video stream into my web application for webcams.owever, I have never used the .NET framework to do so. Any ideas were I should start?
View 9 Repliesiam going to make a web site that display online live video stream.in other words, there is event in my company and this event will be display in my website by video camera using asp.net . i dont know how to do is there a special camera should i use it, how to connect this camera to my site
View 4 Repliesi want to stream TV channel to my family and few friends at another country over internet. I dont know what to do. But i have a rough idea that to capture the channel with a TV card and then broadcast it over internet.This means that i'm not the only user, it's a multiuser broadcast.
View 4 RepliesI have to make an interface to upload large videos up to 30MB then stream and convert it into FLV format and then play it in a browser... this is required on my site in the "Video Gallery" module. My web application is in C# and ASP.NET. I can also use jQuery.
I have to send the video file in chunks then merge it at the server, stream it, create thumbnail for the video and then play it.
I found some code but it is all in PHP. I haven't found any C#, ASP.NET code.
Finally I got the code to upload the video file in chunks... like create its thumbnail and display the video in a browser.
Here is code to upload the video in chunks.
Upload button click
protected void btnUploadVideo_Click(object sender, EventArgs e)
{
UploadVideoFile obj = new UploadVideoFile();
string FileName = fuUploadVideo.FileName;
string DestPath = Server.MapPath("Videos");
[Code]....
I need the ability to stream live audio/video on my churches website. I have checked many sources online and cannot find anything that mathches my needs just right. I do not want a 3rd party software. I do not want to use the new silverlight 4 as i need to be able to deploy this now. I am on a shared hosting account so I do not have full access to the server. I know this limits the options greatly but I know there also has to be a way to do it.
Also the main need is to stream a single audio/video source but it would also be beneficial to have this a 2 way system for youth groups discussions. So the ability for the church to stream one video and the youth that are signed on can also stream there audio/video back so possibly a webcam chat type setup would be best.
I have this httpHandler that reads a varbinary(MAX) field from the database and stream it as an FLV video. Now, how do I implement sequential access in this handler? I need it to read bytes in chunks and stream it.I call the id of the video that is to be played, e.g ViewFilm.ashx?id=5I know I'm supposed to add CommandBehavior.SequentialAcces in the ExecuteReader(), but the rest I can't get to work.I also read that someone had a problem with this but does it concern me?[URL]
[Code]....
How to save video file in sql . and play on web page in asp.net c#.
View 1 RepliesI am using this article (Upload Save Retrieve and Play MP4 Video files with live streaming from Database in ASP.Net using C# and VB.Net)...
When I am playing video,getting a error (200 stream not found netstream.play.streamnotfound, clip '[clip] FileCS.ashx?id=1') over the player ...
i have a application which use to store video in sql databasei want to have a function which should have return type of video so that i can pass it to player in next page, for that i have retrived it as byte stream but dont know how to return it as video file.if i am going wrong then suggest me some other way.Note video are based on authentication so no way to switch to file system
View 1 RepliesI 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 Repliesi 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'
Now i'm currently trying to code a basic website as a project and i've run into problems regarding a search video function. having searched through the forum i still could not find a solution.What i intend to do is to have a video search web service in my website, perhaps something like this:http://www.google.com/uds/solutions/...rch/index.html. however from my limited understanding the codes provided is unable to work with VS2005? Is there a basic template that i could follow and implement for a video search function for youtubes video?
View 8 RepliesWhat is the best and easiest-to-use video player for popular video extension in asp.net?
View 1 RepliesI want to post few videos on a website but i don't want to use youtube or any other website.
I want to have an in-build player on the webpage with video in it - how to accoplish that ?
When using a modal popup extender along with an embedded video, the popup is hidden behind the video in IE but works as expected in FF.I've tried manually setting the z-index of the popup to a huge number and the z-index of the video object to 1 but this makes no difference.
I've put the code for a sample page below.
[Code]....
I want know how to add video in mvc 2.0 using Video tag in Html 5 .I am trying to add video using video it display Erro video tag is not defined please help me How to add video in MVC 2.0
View 3 Replies1) I notice that the module gets it's data in chunks. This is problematic for me because I'm using a regex to find and replace. If I get a partial match in one chunk and the rest of the match in the second, it will not work. Is there any way to get the entire response before I do my thing to it? I have seen code where it appends data to a string builder until it uses a matches on an "" end tag but my code must work for more that just (xml, custom tags, etc). I don't know how to detect the End Of Stream or if that is even possible.
View 1 RepliesAssume we have the access to sth.avi on [URL] with a direct link.
e.g : [URL] Also we have a website => www.dl2.com.
Now, we wanna let some users to download sth.avi from [URL], but we don't have enough space on [URL] to save sth.avi. Is it possible in ASP.NET for us to read sth.avi from www.dl.com as streaming file and share it without saving the file on our domain.
P.S: I don't wanna share this link [URL], actually I wanna share something like this link [URL]
I'm trying to return an xml string from a IHttpHandler to a like this: context.Response.Write(xml); When I receive the response in my .aspx.cs I try to load the document as follows: var xml = XDocument.Load(xmlString); but I get an Illegal Characters in Path error message. I've also tried
context.Response.Write(context.Server.HtmlEncode(xml));
and
var xml = XDocument.Load(Server.HtmlDecode(xmlString));
but I get the same message. Is there any way I can return XML from my IHttpHandler?
I have made a WCF web service that streams a 200 mb zip file. how i can read this stream at my client and then give option to the user to download that
View 1 RepliesI 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.
byte[] bytes = new byte[uploader.UploadedFiles[0].InputStream.Length];
uploader.UploadedFiles[0].InputStream.Read(bytes, 0, bytes.Length);
var storedFile = new document();
string strFullPath = uploader.UploadedFiles[0].FileName;
string strFileName = Path.GetFileName(strFullPath);
storedFile.document_id = Guid.NewGuid();
storedFile.content_type = uploader.UploadedFiles[0].ContentType;
storedFile.original_name = strFileName;
storedFile.file_data = bytes;
storedFile.date_created = DateTime.Now;
db.documents.InsertOnSubmit(storedFile);
db.SubmitChanges();
If:
Reading from a stream in a single call to Read is very dangerous. You're assuming all the data will be made available immediately, which isn't always the case. You should always loop round, reading until there's no more data.
How should I change the above code to make it 'less dangerous'?
I have a website built in ASP.NET 2.0 and a Windows Server 2003 server streaming live videos with Windows Media Services.
To play the content i usually embed a Windows Media Player in my page and make it open the publication URL (let's say http://my.server.com/live), and it works fine.
The problem is that when no stream is playing, an empty stopped player appears and i don't like that
So i'd like to check in my (VB) code if there's actually something being streamed BEFORE i open the player, and display a 'no active stream right now, please try later' message instead.
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.
public void ZipExtract(Stream inputStream, string outputDirectory)
{
using (ZipFile zip = ZipFile.Read(inputStream))
{
Directory.CreateDirectory(outputDirectory);
zip.ExtractSelectedEntries("name=*.jpg,*.jpeg,*.png,*.gif,*.bmp", " ", outputDirectory,
ExtractExistingFileAction.OverwriteSilently);
[Code]....
I try to read zip archive from stream and extract files. Got the following exception in the line "using (ZipFile zip = ZipFile.Read(inputStream))" : ZipEntry::ReadDirEntry(): Bad signature (0xC618F879) at position 0x0000EE19. how to handle this exception?