How To Find A Mov (quick Time Format) File A Video Or Not
Nov 17, 2010I 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 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 two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc.
Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
Anyone know how to format a TIME COLUMN in SQL 08 to regular time and not military time? VB.net
View 2 RepliesI 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.
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]....
Asp.Net Pipeline
Transaction Management in .Net/Sql Server
I have 2 fields being displayed in a Gridview, StartTime, EndTime. I want to create a 'Time" column which shows the elapsed time in HH:MM format. (StartTime - EndTime) This was all generated with VS2008, table is pulled from an SQL Query.
View 1 RepliesI 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.
in my application i want to display the duration time of the video ( that is time of the video) in asp.net
View 2 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.
I am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
View 5 RepliesIm trying to format time to this 10:00 AM. I tried:
Eval("doma","{0:d}")Eval("doma", "{0:HH:mm}") Eval("doma", "{HH:mm}")Eval("doma", "{0:HH:mm tt}")
But it tells me:Exception Details: System.FormatException: Input string was not in a correct format.I think the problem might be that I'm use TIME form in SQL 2008 and maybe its expecting a long date/time format, maybe? But in any case it still should format at time, right?
is there a format for time only in mysql
View 2 RepliesSometimes I get a datetime with a time sometimes it's just the date. Of course if it's just the date I I want to format with "dd.MM.yyyy" and if it has a time "dd.MM.yyyy HH:mm".. This is in a repeater, so I thought may be it's possible without a simple if statement?
View 3 RepliesI want to have a dropdownlist control for selecting time in hh:mm format. I'm not sure how to achieve this. I do not want any third party controls.
I want to populate the ddl with time in hh:mm format.
How Can I add watermark on video file, What is the best way? I know we can easily do on image. BUt I want on video file.
View 4 RepliesOne 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 have a form that will accept and save a MP4 video file. I need to be able to get the dimensions of the video as well. This will be running on a server running ASP.NET 2.0 so any external libs must be able to be placed in the Bin folder as they can not be installed on the server.
how to get the information? If the same lib would let me transcode the video to flv that would be a huge bonus.
Update: The server is XP Service Pack 2 with .NET Framework (2,0,50727,0)
i want code to downlaod a video file using asp.net with c#
View 3 RepliesServer Error in '/MedTegraSL.Web' Application.
Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
Source Error:
[Code]....
Source File:
c:ProductiveTeamsMedTegraPresentationMedTegraSLMedTegraSL.WebMainMaster.Master Line: 16 Assembly Load Trace: The following information can be to determine why the assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.
[Code]....
Stack Trace:
[Code]....
I have time, for e.g 33 hr 40 mins 50 secs . i would like to convert it to a date time format.
for e.g I have used Convert.ToDateTime("33:40:50"), but in this case when you converting to date time, hour should be less than 24, otherwise it will fire an exception.
I have a literal on my webform. It displays date from a database as 3/26/2011 but I want it to display the date as 26-Mar-2011
How do I do this with VB.NET?
I have time data coming from database as '081500' for 8.15 am. Now, in the asp.net display, i need to format it as 08:00. I do not need the millisecond. I tried by using DataFormatString
View 2 RepliesI am having following value, I want to display only time value in 24 hours format,let me know how can I do this?
DateTime StartDate = DateTime.Parse(item["Start Date"].ToString());
In my application i need the time format the text box should accept as hour as 0 to 24,minute as 0 to 60 and second as 0 to 60.so when i will give hh:mm:ss then it will take 0 to 24:0 to 60:0 to 60 only not more then that.
View 6 Replies