Display The Duration Time Of The Video?
Feb 8, 2010in my application i want to display the duration time of the video ( that is time of the video) in asp.net
View 2 Repliesin 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 query like i want to show the time information in custom format like(1min 06sec) from date .I have a filed Duration in database and when i am binding my data control then in item i want to display in above format(1min 06 sec),so is it possible?
View 3 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]....
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)
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.
I 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]....
created 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 RepliesALTER PROCEDURE [dbo].[backup_database]
(
@DbName VARCHAR(250),
@dbpath VARCHAR(500)
)
AS
DECLARE @Currentdate VARCHAR(10)
DECLARE @Currenttime VARCHAR(15)
BEGIN
BEGIN TRY
SET @Currentdate =CONVERT(VARCHAR(10),GETDATE(),105)
SET @Currenttime = REPLACE(RIGHT('0'+LTRIM(RIGHT(CONVERT(varchar,getDate(),100),8)),8),':','-')
SET @dbpath = @dbpath +'' +@Currentdate+'_'+@Currenttime+'_'+@DbName +'.' + 'bak'
PRINT @dbpath
BACKUP DATABASE @DbName TO DISK = @dbpath
END TRY
BEGIN CATCH
SELECT
ERROR_NUMBER() as ErrorNumber,
ERROR_MESSAGE() as ErrorMessage
PRINT 'Backup Could not be taken for '+@DbName+''
END CATCH
END
I want to run the above procedure at an interval of 8 hours.
I use media player control to play mp3 files in asp.net application. I want to find When the playing process gets end and the total time require to finish the file using javascript.
[Code].....
How find out time duration in asp.net using drop down list Control? Result will display in textbox.
View 13 RepliesI want to terminate the session after specific time. So how can solve it.
View 3 RepliesDuring debug builds I would like to show the duration it took, server side, to generate a page in the pages footer.
So for example if a page takes 250ms server side I would like that displayed in the footer, in debug builds. How can I achieve this in an ASP.NET MVC project?
I want to create a site like youtube.
I am upload the file at server side successfully.
But now i want to take a Snap of the Video file at a time of uploading.
I want to find whether an uploaded mov file is a video or not through asp.net(c#) code. This is to prevent uploads after changing the extension to .mov.
View 1 RepliesI have the account in the youtube and i uploaded some video on that account. Now i want to display that video in my web site by using the embed link.
View 5 RepliesA customer has a site written in ASP.NET and C# (.NET4 VS2010). I have been asked to link videos into some pages. The videos are hosted on vimeo and are flagged as private so general public can not view them (on vimeo.com). The user has stipulated that if an unregistered user (unregistered on the customers site) views a video they should only see the first 5 minutes. After those 5 minutes they should be prompted to register or log in. I'm fine with forms authentication in ASP.NET.
At this stage I do not know what type of account the customer has on vimeo, I am waiting for that information. I do not have any code examples to add.
Ideally I need to prevent users from downloading (either directly or by some other way) videos maybe by obfusticating the actual urls in some way.
What I was wondering is if controlling the length of a video being viewed from vimeo, especially in the registered/unregistered user context on an ASP.NET site.
One of client requires to share and view the .PPT(Microsoft PowerPoint Slides) files online as video, on his web application. I know there are lots of control that plays video online but I want to know is there any active x or api that will recognize the ppt and play it as a video file or do i need build everything from scratch ? For reference you can view [URL].
View 4 Repliesi am trying to implement search engine so i have video segment as well so i want to display video like youtube from database..
View 1 RepliesI need to do to the following:
Find if the current time falls within hourly ranges and display the start hour and end hour of that range in labels.
Examples:
If the current time is 8:46am, label startTime would return "8am" and label endTime would return "9am"
If the current time is 10:01pm, label startTime returns "10pm" and label endTime returns "11pm"
If the current time is 12:59am, label startTime returns "12am" and label endTime returns "1am"
I have been working with the C# TimeRange class but not getting what I need.
Our customer has several security cameras at their site. These cameras transmit rtmpe streams that can be accessed by using the proper url. The video itself is flv. What the customer want is the ability to view these cameras on a website, both from internet explorer, and windows mobile 6.5. How can we do this, is there some kind of component we can use that we simply can parse the rtmpe url to, and it will go fullscreen and show the video? We need to handle input as well, both from mouse and a remote control, and we planned to use javascript for that. But for now, our biggest concern is how to play the stream.
View 1 RepliesI need to show a popup as a video using jquery.
the vedio is a html page itself. i need to call this page inside a div or panel of another page on this page i need to provide popup
for ex:
page1.html has the video( this vedio run in flv-flayer)
page2. i have code as follows
<body>
<center>
<div id="button"><input type="submit" value="watch the video" /></div>
</center>
<div id="popupContent">
<a id="popupContactClose">x</a>
<h1>vedio</h1>
<div ></div>
</div>
<div id="backgroundPopup"></div>
</body>
by clicking watch the video in page to i can get pop up it is ok... but how can i include html page - page1.html in to that pop up using JQUERY.
i mean there shold be a way to include this vedio in div of that page 2
Here i have a problem while displaying the video in .net by using webcam control. My need is to display the DateandTime along with the Video and when i capture the video along with image the date and time should display.
View 4 RepliesHow can one display You Tube Video on .aspx page. I had created one table in DB containing URL details but couldn't make out how to show them. I have to display one button on whose click all Video listing are to be displayed and on click of any video, Video should be displayed.
View 6 Replies