Extract Information From A Video File?
Nov 8, 2009Extract information from a video file?
View 5 RepliesExtract information from a video file?
View 5 Repliesi have this assignment (task sheet attached) but i dont know exactly where should i complete from. i need to extract information from a text file. it involves a complex string manipulation. here is the code that i already did but i am not sure how can i extract the information i need from the appendix in the yask sheet. [code]
View 4 RepliesI was looking for some stuff online, and i was looking through my reference sheets for vb.net, but it seems in the code i have found, there is declare in methods. Below is an example i am talking about. The thing is, that i dont recognize it and believe that it is an earlier version of Visual Basic ( 6 or earlier) which used it. Should i just keep looking for different code?
Public Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal _
lpSubKey As String, phkResult As Long) As Long
Goal: Find information on how to implement a method which will check if a certain DSN exists, and then if it does, extract the information and use the information for connection purposes.
extract frame from the video to image (either bmp or jpeg is ok). The image should be in original size....><""
View 1 RepliesIs possible extract audio from video and save into file wave?
View 1 RepliesI'm looking for a way to extract .jpg files from .wmv files at given intervals. For instance, if a clip is 1 minute long and I ask for 6 thumbnails, it will give me one every 10 seconds.Can anyone point me in the right direction for anything that may already exist for extracting single frames from video?
View 1 Repliesam using visual basic 2010 express and i have managed to place the path to a file in a text box. how can i extract just 1 item from the path.ie my path is url.i wish to extract mine (nothing else) and put it into textbox2.
View 8 RepliesI 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].....
I have two cases to extract information from the IDataReader object
Case - 1 - Length, calculates ordinal and then parse string
public static string GetString(IDataReader rdr, string columnName)
{
int ordinal = rdr.GetOrdinal(columnName);
[Code]....
Which technique should be preferred and why and if any specific context ?
I am attempting to extract information about a work location from the IADsUser object. Other IADsUser methods like IADsUser::LastName or IADsUser: :EmailAddress return a string.I thought IADsUser::PostalAddresses returned a variant (array of strings) and I have attempted to extract the infromation, but I have had no success so far. I can find very little documentation on how to extract this information.I have provided some code below to try and make it clear what I am trying to do.[code]I am not sure how to print out objects properly in VB6. I am not concerned whether or not a particular IADsUser has the information I am looking for; I have error handlers in place to check for this. I removed them to make the code easier to read.
View 1 RepliesIs it possible to send information to a USB Video game controller in VB.Net? The kind of information I want to send to it is information causing the device to think that a button is pressed on the controller when it really is not. Or even better, is it possible to make a USB wire that connects to your computer and another USB port on something such a computer and send information that a video game controller would send to the other computer or whatever? Basically what I want to do is emulate a guitar hero controller sending the data of the buttons being pressed to an xbox 360 console.
View 6 RepliesI have a relatively simple Listview that suddenly needs (due to new requirements) to have it's 'layout' extracted to a DataTable so that a common routine can convert it to an Excel spreadsheet for export purposes.The ItemTemplate is just a series of Table Rows with some text, data-bound labels and textboxes with validators in the cells.Usually, when trying to pull out a particular value (like what was entered into a text box), I use the ListViewItem's .FindControl method.
For Each objItem As ListViewItem In lvwOptions.Items
Dim objTextHrsLabor As TextBox = CType(objItem.FindControl("txtHrsOptByLabor"), TextBox)
decHours = CDec(objTextHrsLabor.Text)
Next
In this case, however, I'm trying to take all the data displayed - all the 'rows and columns' of the table that was created.Inside the ForEach / Next loop of ListViewItems, I started a ForEach/Next loop of Controls for each instance's controls but I got some really strange results returned (like controls that had a couple of table cells in them).
I get the sense I'm headed in the wrong direction. All I want is for the nicely-formatted 5-line, 6 column table to be converted to a 5-line, 6-column data table.
I need to write a program in visual basic 2008 that allows the user to enter in information about a video into textboxes and from there it needs to be sved to a file. The user also has the option to search for a video in the collection by name and the info for that video should go to the textboxes. how i can do this?
View 2 Replieswhat i am trying to do is extract information beween two tags in some html from the source of a website. The contents of the text between the two tags will always be different. the code i currently have is;
[Code]...
I am using VB2005 and trying to put an application together.What it needs to do is retrieve information from a binary file, possibly alter that information, and put it back into a new file.The file is a .wav file with data appened to the end. There is an additional section at the end of the .wav file which stores xml data.I have found that if I open this in a hex editor and make a 1:1 swap on any of the bytes that the application that the file is for can still read the XML.If I tried to add or remove characters from the XML then it would not read. I located a header byte and incremented it to resolve this.
This worked as an excellent bandage to do conversions where the data always needed to be changed to the same thing.What I have been asked to do is build logic that allows for different things to happen depending upon what data is contained within the file.The method that I am currently trying to impliment is:
Read through the file with a system.io.binaryreader
Searche for a bytestream that will signal data is coming
For example:
If System.IO.File.Exists("C: est estread.wav") Then
Dim findit() As Integer = New Integer() {&H3C, &H55, &H73, &H72, &H44, &H65, &H66, &H30, &H31, &H30}
Dim i As Integer[code].....
And then extract all the data till the end of element marker "<" It seemed like there should be a better way and I was looking for some insight. If I proceed with this method, I will have to read the file one time to gather the information and then a second time to write it all out with the header modified for length.This is my first experiene with working with binary files in this way.Also,I've been experiementing with building a string and slapping it back in at the end using the binarywriter.write(string) method.I noticed that it was putting in header characters before the string.These seem to change if I change the length of the string.At one point it was d0 07. Later it became e7 07. Does anyone know of a way to prevent this header from being inserted?
I tried a for each loop to grab all of the characters from the string, convert them to a byte array and deposit the byte array into the file, but the header remained the same. When I write the byte array generated from a system.io.binaryreader I do not get this header.
The info i need extracted is formatted:
<TD><A HREF="http://xxxxx.com/xxxxxx/index.html"><IMG SRC="../xxxxx/thumbnails/xxxxx.jpg"> </A></TD>
<TD>=== <B><A HREF="http://xxxxxxxxx.com/xxxxxxxx/index.html">LINE 0</A></B> ===<BR>
<FONT SIZE="2" COLOR="#400080">
[code]....
how do i extract the info between TD=== and /a and Line 1,2, and 3 and store it into a database from a live website?
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 Repliesim 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 RepliesI 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 Repliescan 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 RepliesI 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 RepliesI 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.
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 RepliesI 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 RepliesI need to parse some text to extract the name/path of an image file inside an X file. The part of the file looks something like this:
TextureFilename {
"C:\\Users\\USER\\Documents\\Map\\Textures\\Grass01.dds";
}
[code].....
i want to make a video streaming server or a Video Lan chat programe in VB.net
View 1 RepliesHow 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.
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 RepliesI've got an application that passes commands to a terminal window and saves all the output to a text file Here is one of the commands my application passes to the terminal
MyProcess.StandardInput.WriteLine("host " + device)
The output of which is
"HostA has address Y.Y.Y.Y"
this along with a whole bunch of other text is saved to a text file...my question is how do I find the sting "HostA has address Y.Y.Y.Y" in that text file and then extract the IP address and assign it as a string variable?
How can I parse a text file and extract the data to excel file. The text file is in the following format
CustomerInformation
Tim Alen
596 George Town
[Code].....