Get Video File Duration?
Jan 20, 2009
I have created my own application for organising my video library. when the application starts a datagridview displays all of the videos in my database. i can't get it to display the duration of each video. i assumed i'd be able to loop through each row in the datagridview and use the FileInfo class to look up the properties of each file and get the duration from there because if you look at the properties of any .avi and then click on Details you can see the duration of the video but i can't figure it out.
View 6 Replies
ADVERTISEMENT
Jan 4, 2012
I need to find the duration of a video file. I am not talking about this. LenOfVideo = AxWindowsMediaPlayer1.currentMedia.durationThis will give the duration of a video when it is playing, I want to know the duration of ALL the video's in my List of video's so i can display it in the selection for the user. The currentmedia.duration will only give the duration when you play it and i have about a 100 media clips to play..
View 2 Replies
Jun 25, 2011
i want to use code to get the video duration, then I need to upload to servermy os is WINDOW SERVER 2007, anycode can support it?
View 3 Replies
Mar 23, 2010
how can i create a video duration bar so that if i add a video in listbox the duration bar should automatically increas its total duration and display the duration on it....just like in any video editing software...
View 1 Replies
Nov 29, 2010
how can i get time duration of ".wmv" video file (it would be gr8 if it could work for all other also) file using vb.net
View 1 Replies
Jan 19, 2010
how can I Retreiving the duration of a video file without using the media player
View 1 Replies
Jun 8, 2011
I am trying to create a textbox that will display the total duration of all video files in a listbox. I am not using the windows media player in the project, I just want to show total duration of the listbox items. I have tried looking for snippets because I'm new to programming and I have also tried my luck at creating a class with no success. If anyone could show me some sample code or tell me what it will take to accomplish my goal it would be greatly apperciated. I am coding with Visual Basic 2010 express.
View 1 Replies
Jul 21, 2011
I would like to create thumbnails into a VB (2005 or 2010) form from video files.
I have a directory (in my hard drive) with video files (.mpg).
How to show video thumbnails for each video file?
My VB code (for images) is attached below and I want to convert it in order to manage video files.
Private Sub ThumbButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles ThumbButton.Click
Dim imagepath As String
[Code].....
View 2 Replies
May 14, 2012
I want to retrieve the duration, frames, fps and dimensions (height x width) of a .mov/.avi files..Can any one say how can i get these...PBL (Visual Studio 2010 Professional, Win 7 64 bit Ultimate)
View 4 Replies
Jun 21, 2010
according to the formula given by DdoubleD i resolve DSS audio file duration problem, but this time some dss file is more compressed and duration of these file different according to size of file. IS there is any technique in .net 2005 so that i can include any third party's player and find duration and other thing I tried to include DLL of these player but not compatible with .net..DSS file is basically dictation by doctor(olympus recorder is use to record dictation and it save these file in .dss format) I already included WMP.dll for MP3. But .dss is creating problem.
View 1 Replies
May 10, 2010
I made a media player and it works well but the duration tag says
00:00 and that's not right heres my code:
[code]...
View 3 Replies
Mar 11, 2010
i want to retrieve duration of audio file like .wav .dss .mp3 using vb.net code...
View 2 Replies
May 9, 2010
I am trying to get a file attribute which is the Duration of a media file to display with length and name in my list box
I'm using:
Private Sub OpenFileDialog1_FileOk(ByVal sender
As Object,
ByVal e As System.ComponentModel.CancelEventArgs)
[Code]....
View 6 Replies
Feb 15, 2011
Anyways, i have coded a video downloaded and i want to include a converter as a separate exe file. But obviously people may have different file directories so a simple piece of code i have used won't work. This is what i have: Also where would i place the exe file?
View 3 Replies
Jun 15, 2011
im the beginner of .net, im doing the project to save and retrive the files in asp.net with c# , i done saved the files to sql in binary format, and i dont know how to retrive the file in grid view, also i dont know how to play the video file in gridview,
View 1 Replies
Dec 13, 2011
I m trying to create media player .i want to add an swf file in current running video file at the top of my video player or bottom of my video.
View 2 Replies
Dec 7, 2011
can anyone please explain to me how I get the file path to an embedded video resource file I have?Currently I know how to get this while debugging, but I am unsure how to refer to it when built.It needs to work no matter where the application files are.[code]
View 3 Replies
Jun 22, 2010
I have a vb.net project which i have inserted pictures and video. I inserted a video clip using the Windows Media Player control and it does work. The issue i have is that i can't move the program to another computer because the pathname for the video will be wrong. I know i could change the pathname when i move it but this is not practical because i need to present this program. Does anybody know how to make the video accessible no matter what location the program is at?
View 6 Replies
Dec 24, 2009
I am monitoring 12 video feeds from video cameras. Now I have more than 12 cameras, I have 134. But I will only monitor 12 cameras at a time. By Monitoring I mean, I have 12 small video screens on the form that I can see the video. The way I know which cameras are active, so I can monitor them is by a boolean value in a sql database. I run a Store Procedure in my program, and spit out the results in a XML file. I then read the XML file in a loop. This XML file will have a list of the camera names I need to monitor.
So that is for 12 video feeds. Now, I want to have a NEXT or FORWARD button on my monitor form. So when I click this it will give me the next group of cameras, 13 to 24. Now if I only have15 cameras that are active, that means the first group is 1 to 12, then the second group is 13 to 15 cameras. So I will only have 3 to monitor on the second grouping. One thought I had was to have another field in my table to mark as already as an active monitor, so when I run the SP, i will not select that row. But I need to select 12 at a time. Or I can make a number of xml files, one xml file for each grouping of 12, but I need to figure out how I can select the next group without re-selecting the first group. I have no code at the moment, I'm on my non-programming computer.
View 4 Replies
Oct 17, 2011
I creat audio video chat and when calling receivng video and client video is together...I want that client move his or her webcam video where want...as I know it name DROP&DRAP but I`m not know how to do it...
View 5 Replies
Jul 7, 2009
I was wondering if it was possible to have a program open Firefox, and have it open a bunch of tabs that all go to a link with a video, and then have it automatically play that video?
View 4 Replies
Jun 22, 2010
i want to make a video streaming server or a Video Lan chat programe in VB.net
View 1 Replies
Dec 5, 2009
How can i record a video via webcam in visual basic application and then display the video on user's request either live or recorded video.
how to develop video webcam recording application.
View 4 Replies
Jul 12, 2010
i want to buffer a video file on client side when it request.. what syantax i use to buffer the video the video in client's media player
View 1 Replies
Oct 20, 2010
is it possible to use avicap32 to capture video with a web cam and save the video as a wmv format instead of avi one
View 1 Replies
Aug 4, 2009
Imports System
Imports System.IO
Imports System.Security
Imports System.Security.Cryptography
[code]....
The above code is used by me to encrypt .avi files and it worked very well but the problem is that if the size of my video file is greater than 200 mb memory overflows probably as the code copy the whole input file into ram and then process it hence it put limitation of hardware,is there any better way to do it so that files > 200 mb could me encrypted in PCs with 1gb ram?
View 5 Replies
Sep 26, 2010
know the source code format when i want to open a video file in vb.net?
View 7 Replies
Feb 26, 2007
Visual Basic has a function that allows a video from a webcam to be saved as .AVI file which inherently is too large for data transfer over the internet. I would like to know if there is a function that allows the video to be saved as a .WMV, or a .FLV file so its smaller and allowed to be transfered over the net. Here is a snippet of the code i am using
[Code]...
View 2 Replies
Dec 15, 2011
I have written a code from which using a web camera one can record a video and save it onto the HDD but now according to a client requirement he needs to play that video and capture still images from the video and save it onto a picture box's and here is where i am having issues.
1)when i use windows media player to play the recorded video i don how to capture the image from the video by triggering an event
2) also i need to know if i can play the video on picturebox tool(i tried using the winmm.lib and Mci but it din work out for me)
View 2 Replies
Mar 29, 2006
there are a number of sources (ONE, TWO and THREE) which show how to use VB6 to create a video file from BMPs?
View 6 Replies