C# - Adding Text Into A Video And Saving The Output?

Jun 17, 2009

What I'm trying to do is take a 'input' video file (I can make it whatever file type will make this the easiest) and then, through my code, add text to the video file. for example, it would take 'Sample1.mpg' and output 'Sample2.mpg'. It wouldn't show the video (I've found some tutorials that talk about overlaying text as the video plays; but not actually modifying the video file.

Basically, I'd like to be able to say, 'From seconds 1 to 200, draw 'Hi Mom' at position 0,0 with this font' and have that saved in the outputed video. Whenever you run the outputted video, with any player, you'd end up seeing the text; because it'd be part of the video file.I've heard claims like, 'DirectShow!' but I'd really welcome anything slightly more specific.

View 4 Replies


ADVERTISEMENT

Output Video With Direct Show To Another Soundcard

Aug 10, 2009

How to do this using DirectShowLib-2005... as there seems to be little source available

View 2 Replies

Record The Pc Screen And Output A Video File Of It?

Jan 12, 2008

Is it possible to write code to record the pc screen and output a video file of it?

View 3 Replies

Saving A Recorded Video In VB 2008

Mar 1, 2012

How To Save A Recorded Video In VB 2008? I'm having a problem on my code um i can't seem to save the video that i have recorded in my project. everytime the dialog that allows me to save and when i check the destination where i saved the video it won't appear so i don't know if it really recorded or it just won't save. and also the filename. whenever i add new song in the listbox for the song list [Code]

View 6 Replies

Capturing And Saving Video It With  Avicap32.dll And User32.dll?

Jun 15, 2009

I have a web cam connected through USB,I capturing and saving video it with avicap32.dll and user32.dll.But in the same time I need to starting other hardware and working with it trough COM port during capturing. And here appearing a problem, because then I send a command for start video capturing:

SendMessage(hWnd, WM_CAP_SEQUENCE, 0, 0) ' start video capture

the executing code stops at this line until I click to stop to capture. But in the capturing time I need to work with my hardware, to obtain the data from it, and after that to stop capturing.To make to work simultaneous video capturing and my hardware or its impossible to do that with avicap32.dll and user32.dll.

View 9 Replies

Adding Video Player In Visual Basic?

Feb 27, 2010

how can i add media player without controls and border in visual basic....

View 3 Replies

Asp.net - Adding Dynamic Message At End Of Flash Video

Apr 4, 2011

I am working on a Flash training video. I would like at the end of the video for a message to pop up with a dynamic confirmation code. I have the code for the confirmation code, but am having trouble creating something either at the end of the flash video or within the aspx page to trigger this message.

View 1 Replies

VS 2008 : Adding Frames To A Video File?

May 23, 2009

I want to make a screen recording program and I want to be able to add a picture to the video file every so often and the picture will be a frame. I already know how to capture the screen, so all I need to know how to do is capture a video of the screen.

View 6 Replies

VS 2010 Adding Video Clip To Form?

May 27, 2012

how to add a video clip into a form? My video clip will probably be in a .avi format.

View 1 Replies

VS 2010 Saving Data From Applications By Saving A Text File Via A Stream Reader As A String

Feb 12, 2012

Currently I am saving data from my applications by saving a text file via a stream reader as a string. I have come to a problem. In my current application, I have an array of the following structure:

[Code]...

View 7 Replies

Adding New Line To Console Output?

Jul 23, 2010

In console application we write the statement as

Console.WriteLine("the addition is {0}",i)

it gives the output addition is 50

Now my question is: I want the answer to appear like this addition is 50.How I will assign the output to the next line?

View 3 Replies

Strange Output During Compile When Adding Local Namespace To XAML

Mar 16, 2012

I'm attempting to create a bound WPF control; when I add a local namespace to the UserControl, I get strange output from the compiler. The header of the UserControl follows, with the offending line highlighted.[code]When that line is present, the compiler generates the following in the output:[code]

View 2 Replies

Adding New Row In DGV And Saving Row Content In Original XML

Feb 27, 2012

I want to be able to add values inside the last (default) row in the DGV and when I click save, the value will be save to the xml currently when I do I get error - "Object reference not set to an instance of an object."the error occurs in the red highlighted.[code]

View 8 Replies

Adding Then Saving A Row Into A Table Using Insert Through A Tableadaptor

Feb 3, 2010

I have 3 tables. Customer,item, and price, where price holds the customerid,itemid, and the price. This lets me set a different price for each item based on who is buying it. I am trying to add data to the price table from a form which gets a customerid and itemid, and the price they will be charged. The only table to be updated is the price table.

Private Sub SaveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveaspButton.Click
' cust and item are pulled in when the user inputs a name, the lookuptable is used to put into an unseen label

[Code]....

This does add a table in the table visual studios uses but wont save it to the main database. This means I can do a fill method and see the row while the program is running, but wont be there next time I run the program.

View 4 Replies

Saving Excel File Adding Sheet

Jun 2, 2011

I am working on some code to take a csv file, save it as xls, then chunk the data down into a series of new worksheets. However I am having problems with saving the changes and I really can't pin it down. The code is as below

[Code]...

View 2 Replies

VS 2010 - Adding And Saving New Items To 2 ComboBoxes?

Sep 25, 2010

I'm working on a program in which I have 2 comboboxes and have to be able to add new Items in both of them, now that all no problems at all but as soon as I close the program I loose all my Items. Is it possible to add a code which checks if an Item already exists and if so give a error message and don't add the new Item to the combobox?

View 4 Replies

Adding Multiple Textbox During Runtime And Saving It To Database?

Dec 1, 2010

I have a 3 textbox;fname, mname and lname.As soon as I click button "add entry", the fname,mname and lname will be save to database to its first name, middle name and last name column respectively.

I want to add another set of 3 textbox during runtime , when i click button "add textbox", so that there are all 6 textbox in all. And I can add 2 first name, 2 middle name and 2 last name at the same time to my database.

View 11 Replies

Saving / Adding ListBox Items To Programs Settings

Mar 13, 2011

I am trying to be able to add everything within a listbox to a program setting that can be re loaded when its opened up again, I have the part to load them upon opening, but I don't know how to make it add all the items within the listbox to the setting, so it has something to load.

This is to load them on startup:
For Each item As String In My.Settings.logs
log.Items.Add(item.ToString)
Next

View 4 Replies

Webcam Capture - Adding A Preview Stage Before Saving

Aug 17, 2011

[URL]

So like I said before, I have a webcam capture and inventory script which I put together from various sample code. It works great, but I need to add a preview pause/ to break apart the capture and the save functions.

Imports System.Runtime.InteropServices
Public Class Form1
Const WM_CAP As Short = &H400S

[Code].....

View 4 Replies

Output Formatted RTF Text To A Rich Text Box Control?

Feb 24, 2012

Okay, so what I want to do is directly output formatted RTF text to a Rich Text Box control in VB.NET. I don't want to find the text, select it and color it as it is not practical for what I'm doing. I've tried outputting RTF code but that isn't working either. Can I actually do this or will I have to write a dll?

View 1 Replies

VS 2010 View Text Output When Text Is Entered?

May 4, 2011

I have a javascript code that will output text in a separate textbox. Id like to try and do the same thing in my application now. Basically what I want to be able to do is type in a phone number and when the area code is entered to have it display the state.

Input textbox : 512
Output textbox : TEXAS

I have no idea if it is possible or how to do that.

View 30 Replies

Could Not Get The Text Output To Be Formatted Like A Table In Text-box

Jul 26, 2011

I was working on a project and could not get the text output to be formatted like a table in text-box or rich text-box in visual basic 2010. Here are the code i have tried.

For i = 0 To 17
If cartfull(i) Then
rtbReceipt.Text = rtbReceipt.Text & vbNewLine & amount_added(i)

[Code]......

View 5 Replies

Input Text Display Output Text?

May 4, 2011

Basically, I want to have a text box that will display text associated with the text input.

For Example:

input : 512
output : TEXAS

or

input : 659
output : ALABAMA

I have heard that it is possible to do this, and I would like to find out a way to. Even if I need a separate text file with the arrays, I would like to get this to work.

View 10 Replies

View Text Output When Text Is Entered?

May 5, 2011

I was have a code (shown below) but I am getting errors for the following line:

Code:
Dim line = lines.Where(Function(l) l.StartsWith(TextBox1.Text)).FirstOrDefault
ArgumentNullException was unhandled
Value Cannot Be Null.

[Code].....

View 1 Replies

PC1 To PC2 Txtbox.text And Video Triggering?

Dec 17, 2009

Have created a few stand alone projects but nothing major... Using a trial of VB Studio 2010 (.net 4)

a) I have two networked pc's ("PC1" and "PC2") with a solution on each which has a "textbox" and a "send" button. Just want to type "hello" in textbox on PC1 then hit send and it appears in PC2 textbox so that I can base if statements etc. on it.

something like:

//PC2.App2.textbox2.text = textbox1.text

on a button would be perfect but i'm guessing that's far too simple.

b) Video Triggering over network - pretty well sames as above, just want to hit button1 on PC1 and it plays "1.wmv" in "axwindowsmediaplayer1" on "PC2".

c) How can I play a .mov/vob/avi/mpg/flv in an "axwindowmediaplayer1" ? if not possible how do I go about playing videos of all types in my programs?

View 1 Replies

Inserte Pictures And Video - Can't Move The Program To Another Computer Because The Pathname For The Video Will Be Wrong

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

Monitoring 12 Video Feeds From Video Cameras - NEXT Or FORWARD Button On My Monitor Form

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

Create Audio Video Chat - Client Move His Or Her Webcam Video Where Want?

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

It Open A Bunch Of Tabs That All Go To A Link With A Video, And Then Have It Automatically Play That Video?

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

Get Video Thumbnail From A Video File (from A Directory In Hard Drive)?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved