C# - Upload Stream And Play Video?
Feb 9, 2010
I 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]....
View 2 Replies
Similar Messages:
Mar 29, 2013
How to save video file in sql . and play on web page in asp.net c#.
View 1 Replies
Mar 8, 2010
i want to upload video file and then paly it on asp.net page.
View 6 Replies
Oct 5, 2010
i am developing web portal, which suppose to upload video in sql2005 and should be able to retrieve that video on request and play in aspx page with windows media player.
View 1 Replies
Jul 2, 2011
I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??
View 2 Replies
Dec 16, 2010
I 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 Replies
Jan 3, 2011
I have successfully build the required interface to upload images and videos within my MVC application. When I upload an image it will be displayed successfully in my application. But When I upload a video it will upload successfully, but an "X" will be displayed in the view. and when i click on this "X" the real player application will open and play the video. But what I need is to be able to play the video within my application?
View 6 Replies
Aug 6, 2010
How do yo play a video with silverlight?
does Visual Studio come with a video player component build in? or do I need to make a video player?
View 2 Replies
Jan 24, 2011
iam 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 Replies
Dec 8, 2010
i 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 Replies
Jan 28, 2010
I wants to a play a video on page loading. On pageload the video was not display. But i refresh the page then video play. After that also play ...
What is the problem on page loading?
View 1 Replies
May 12, 2010
Method 1:(does not work on IE, works on Firefox, the downloadatt.aspx load video from document server and ouput)
<object width="320" height="240" autoplay="false" controller="true" scale="ASPECT" src="http://localhost/TestVideo/DownloadAtt.aspx">
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
Method 2 works
<object classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='player' width="320" height="240" standby='Please wait while the object is loaded...'>
<param name='src' value="http://localhost/TestVideo/DownloadAtt.aspx" />
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
</object>
But the problem is that I do not know the video format, so I can not predefine object's classid.
I prefer method 1(since I do not need to worry about the video format), But it does not work on IE, I used to point the src to an ISAPI dll which does the same thing as DownloadAtt.aspx(below) and it works. Now I change to Asp.net, it does not work. :(
Does anybody know how to make the method 1 work?
File DownloadAtt.aspx:
[Code]....
View 9 Replies
Mar 6, 2011
I want to play the video file from my repository into the web browser using asp.net/c#.
View 3 Replies
Feb 12, 2010
i have used "embed" tag for Flv file, Flash Player for "swf" file and "object tag for other files.. everything working fine with IE but in Mozilla only swf files working properly.. way to play video of any type in IE and Mozilla both
View 2 Replies
Jan 7, 2010
I want to play videos through handler which are installed in my database table. I have written code in handler file and Its working in IE but not working in firefox and safari. Please take a look at my code belove and tell me where I am doing wrong and what should I do to working in both browser.
[Code]....
Setting in my web.config file to class hanlder.
[Code]....
View 8 Replies
Jan 29, 2010
I'm wth Asp.net, c#. How Can I do Audio ,Vedio streaming for a web page?
View 1 Replies
Apr 18, 2010
how to play wave sound and video by asp.net c#
View 2 Replies
Sep 12, 2010
How could i paly a video & audio file on an asp.net page so that the file is determined on the run time
View 2 Replies
Jan 29, 2010
i have one confusion. i have added following code to my aspx page for playing video:
[code]....
now here i have one cofusion. i want to play video dynamically. how i can set "../Downloads/Videos/Video2_Part3" Dynamically??
can i do with this approarch, or i have to go for some alternative??
View 6 Replies
Feb 5, 2010
I want to give the videos Upload and Play feature in website, and i want to use youtube for play the uploaded video.
So please suggest me how to upload videos and store these video in sql database and how to link these video to youtube.
View 1 Replies
Feb 15, 2010
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.
View 4 Replies
Dec 17, 2010
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]....
View 1 Replies
May 7, 2015
I 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 ...
View 1 Replies
Mar 29, 2011
I am new to video streaming.
I want to play a live video in aspx page.
How to do that.
View 2 Replies
May 15, 2010
I need this video to play automatically. It would be nice, this code can play videos from other sources like yahoo etc.. Is it also possible to use HTML5, instead of jquery?
View 4 Replies