Finding Duration Of An Uploaded Video?
Aug 31, 2010Is there any method for finding the duration of an uploaded video without running any exe (ffmpeg.exe) in asp.net?
View 1 RepliesIs there any method for finding the duration of an uploaded video without running any exe (ffmpeg.exe) in asp.net?
View 1 RepliesI'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]....
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.
My asp.net(c#) method looks as follows:
[Code]....
I got the duration with the above method. But my problem is i can't delete the physical file
after my operation. I used
File.Delete(FilePath);
While performing this action i got an exception as follows:
"The process cannot access the file because it is being used by another process."
My Os is windows 7(IIS 7)
in my application i want to display the duration time of the video ( that is time of the video) in asp.net
View 2 RepliesI have a uploader on my page which saves a video file, and then i call ffmpeg to convert it to a .flv standard. The problem is, i need to pull the video duration in from the file, and the ffmpeg output even says it, but when i tell the parameters to do the ffmpeg -i filename > fileinfo.txt it still doesnt take that information.
how i can pull this type of information?
Example of what i was trying:
[Code]....
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 RepliesOn 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 RepliesI 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.
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.
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 RepliesIm working on a page which will display videos, on that page there will be other related videos, the requirement is to allow the user to watch up to 4 videos at a time, if you chose to watch only 1 video, then it takes up the allotted space, if you chose 2 videos then the space is divided in 2 and so on, we are still working out the specs on the size that will work..
basically i need assistance on how i can display the individual videos based on the users selection. Right now we have a page that is setup displaying charts( i know not the same thing) but those charts are
[code]....
which seem to be a decent size for the 4 smaller video clips..
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 am deciding to output cache my page and i need to set duration as never expiring. how can i achieve this? Also if i do not specify any location, where will the cache get stored? client or server? Ram or hard disk ?
View 4 RepliesI have an load of images on my form with the purpose that if the user holds the mouse on it, (s)he gets a tooltip with some information. The image is a questionmark.The users are now asking if the duration of this tooltip can be extended so they actually can read all of the tekst.So it would be great if a TooltipExtender could be created that can be connected to a image control (or any other)
View 2 Repliescreated a project in c3.net of online exam wan to set time duration on server side
View 1 RepliesI am using MSACCESS as back end.And as we can get database back up in the SQL server after particular time.I want that kind of back up in MS ACCESS.How can i get it..
View 5 RepliesI am uploading audio files in asp.net using FFMPEG.My question is how can i get the duration of the file(in seconds).
View 3 RepliesUserControl: How to set Output Cache duration programaticaly?
View 2 RepliesI have an application I'm currently working on that requires Administrators to be able to track the views of a ticket and it's duration.
I've got the tracking of the number of views by users sorted out, I have a table that contains a TicketID, UserID and a DateOpened. Each time a user visits the page, a new row will be inserted.
However, the way I would like to track the duration of views is by having a DateClosed field in the table which will allow me to work out view duration in the code as opposed to storing the time directly.
I can't use Google Analytics or anything Third Party for the task either due to internal policy as it's an intranet application.
I want to increase the tooltip duration of textbox.
View 3 RepliesI am writing page to calculate the duration of dates between two ajax calender it is work outside the form view but when i but it inside form view
and if the format for the days is dd/MM/yyyy it is not work in correct way every time
this is the code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>