How To Convert Uploaded Video And Get A Screen Shot From This File
Apr 21, 2010
I'm building a cms and I want users to be able to upload videos but I'm not familiar with video upload & conversion. Is there an example or has anybody coded a solution like this? I heard about ffmpeg but I don't know how to integrate it with asp.net.
As simple solution I can make my clients upload flv files but then I would still need to get a screenshot from that fvl.
View 2 Replies
Similar Messages:
May 26, 2010
In Java we can do it as follows:
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
import java.io.File;
...
public void captureScreen(String fileName) throws Exception {
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Rectangle screenRectangle = new Rectangle(screenSize);
Robot robot = new Robot();
BufferedImage image = robot.createScreenCapture(screenRectangle);
ImageIO.write(image, "png", new File(fileName));
}
How do we do this in .NET from a webapplication? Capturing the client's screen and sending it to the server all from within the application.
View 4 Replies
Mar 14, 2011
I'm trying to take screen shots of web pages programmatically. I may also require to take screen shots of full or partial page. Is there a way to do this?
View 5 Replies
May 28, 2010
is there any method on showing the image for the uploaded video files which are in flv format? i saw all the video in youtube got show the image of the video. how to do it?
View 4 Replies
Aug 31, 2010
Is there any method for finding the duration of an uploaded video without running any exe (ffmpeg.exe) in asp.net?
View 1 Replies
Oct 18, 2010
I've tried using directshowlib-2005 by installing k-lite mega codec pack. It can't find the duration of an mp4 file or f4v file (avi, wmv and flv has no problem). I use ImediaSeeking interface of directshowlib-2005 to find duration. But in case of mp4 and f4v the GetDuration method returns zero.
I know it is a codec problem, but I do not know which codec is to be installed to get duration of mp4 as well as f4v files.
The code I am using is shown below:
[Code]....
View 1 Replies
Aug 24, 2010
I have a web site where i can upload videos. Here i have a requirement that while uploading i should validate that user should not upload video with more than 1 minute duration.
So i doubts how we can implement this validation.
View 1 Replies
Feb 4, 2010
On a controller I am receiving a HttpPostedFileBase which was created by uploading a movie on a form. Is it possible on my controller to check the width and height of the video?
View 1 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
Dec 2, 2010
I'm trying to make a project like YouTube which will allow all video extensions to be uploaded , take a thumble from the vedio and play it in flv player I wrote my code using ffmpeg.exe and it woks great but my host can't support executable files i searched alot for dll with documentation but i couldn't find one
View 6 Replies
Jan 29, 2011
Using Microsoft.Web.Helpers package, I was able to create a kind of "Youtube" of my own. A very small application running in our local network where people can upload, watch, and comment on video uploaded, etc...). Unfortunately, there are some missing features to the screen I'm able to obtain using those helpers. There are particularly 2 features that I can thing of: If the user doesn't move the mouse for a few seconds, the menu and the mouse disappear. They appear again when the mouse is moved the Full screen option. How can I get those effects using the video helpers?
View 3 Replies
Feb 15, 2010
I want to convert video as it is uploaded to H.264 or an alternate HQ video to play in a flash player. I would like to support as many file formats as possible.
EDIT: Need to be compatible on a Windows shared hosting account.
View 3 Replies
Apr 8, 2010
How convert asp.net website for supporting with phone sreen ?
View 4 Replies
Jul 29, 2010
I want to have a web form where i browse any kind of video format file and convert it into the anyother video format using asp.net.Is it possible using asp.net? If yes then how can i do that and what builtin or third party components / controls has to use.
View 8 Replies
Jun 24, 2010
Is there anyway to convert any video that has been uploaded by the uplaod control to a flv fromat in a shared hosted enviroment or is there any dll etc to use ?.
View 8 Replies
Mar 18, 2012
I want to make a small project on video uploading, where user can upload any formate of video file & it get converted into flv formate & can play it..
I want to upload the video in SQL Database & can play it back from restoring from Database.
View 1 Replies
Nov 26, 2010
i have C# Winform program and i need to convert it to Webform. can i get any simple sample for how to show database grid on screen,
add new, update and delete ?
i try to show table on screen like this:
SQL = "SELECT * FROM MEN order by Lname";
dsView = new DataSet();
adp = new SqlDataAdapter(SQL, Conn);
adp.Fill(dsView, "MEN");
adp.Dispose();
GridView1.DataSource = dsView.Tables["MEN"].DefaultView;
View 1 Replies
Sep 20, 2015
How to convert english video format to hindi using asp.net ...
View 1 Replies
Jul 17, 2012
How to get the full path of the file that is selected using the fileuploader.
View 1 Replies
May 20, 2010
I would like to use HTML input file type in my aspx page to allow user to browse for a excel file and then read the content of the excel sheet programmatically.If I want to read the excel sheet I need the full path of the file to connect to the excel sheet using asp.net.I do not understand how can I get the full path of the file.I know I can get the filename using postedFile.FileName property.But I need the full path of the file.
View 2 Replies
Jul 26, 2010
i am uploading a file through file upload control , file size has greater then 4 MB, I have to give the proper alert msg to the user that file size exceeding the limit.how to do it , because at server side it is crashed on the IIS and not return to the server to check the file size validation.that how it is possible to validate the file size and give the proper alert messege
View 3 Replies
Jan 14, 2010
I need to calculate the file size of uploaded file in order to catch System.Web.HttpException: Maximum request length exceeded.
This is my code
[code]....
I changed the file size in web.config.
<system.web>
<httpRuntime maxRequestLength="10240" />
View 1 Replies
Feb 3, 2010
I'm hoping this is an easy one...I'm using Microsoft.Office.Interop.Word to convert uploaded word documents into previewable html files. I haven't implemented it fully, but I've played around with it enough that I think I have a plan that will work... My question revolves around
[Code]....
I'm not in love with the idea of opening word and closing it everytime there's an upload (which I hope is a lot of the time) I'd like to make this a shared object that loads at application start. I have 2 questions
that go along with this. 1. I imagine that winword could lock up and that would be a problem, right? 2. to save a document I use wordapp.ActiveDocument, this could have an issue as a shared object, right? I think I'm talking myself right out of this...
View 1 Replies
May 28, 2010
I am designing SAAS based application on .net MVC 2 platform. Left menu panel, header and footer are common for all pages. I want to avoid loading of these items on every single page. IN a sense I want to use AJAX at application level by refreshing content area ONLY on every click of menu item.
My question:
1)Will this be accomplised by having controls of all virtual web pages on one page and then control their hide and show behaviour depending on menu click? Is there any other better way?
2)What happens when we launch the app? Will it try to load all controls in one shot and hide it in backgrund? OR will it load controls of default page and then fetch what ever is requested via AJAX?
View 3 Replies
Mar 6, 2011
I want to keep the uploaded file name to make it possible to users to download the file under the same name. But how can I implement it? The one option I see is to store each file to folder with unique name (GUID, for example).
View 2 Replies