473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to create a AVI movie file with c# ?

Hi all

I d like to save my screen capture into a avi file. I know how to do
that in VC++ but i am a complete newbie with c#.

any ideas ? advice ? sample ?

ben
Nov 15 '05 #1
3 6098
FredBen,

There aren't any managed APIs that will allow you to do this in .NET out
of the box. Your best bet is to still do it the way you would do it in
VC++, using the P/Invoke layer and COM interop to interact with whatever
code you were using in C++.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"FredBen" <fr****@netcomuk.co.uk> wrote in message
news:25*************************@posting.google.co m...
Hi all

I d like to save my screen capture into a avi file. I know how to do
that in VC++ but i am a complete newbie with c#.

any ideas ? advice ? sample ?

ben

Nov 15 '05 #2
here you have some code

http://www.codeproject.com/csharp/steganodotnet4.asp

Paco
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió
en el mensaje news:%2****************@TK2MSFTNGP11.phx.gbl...
FredBen,

There aren't any managed APIs that will allow you to do this in .NET out of the box. Your best bet is to still do it the way you would do it in
VC++, using the P/Invoke layer and COM interop to interact with whatever
code you were using in C++.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"FredBen" <fr****@netcomuk.co.uk> wrote in message
news:25*************************@posting.google.co m...
Hi all

I d like to save my screen capture into a avi file. I know how to do
that in VC++ but i am a complete newbie with c#.

any ideas ? advice ? sample ?

ben


Nov 15 '05 #3
You can do this using managed DirectX9, you can find the documentation
and the SDK here:
http://www.microsoft.com/directx/


fr****@netcomuk.co.uk (FredBen) wrote in message news:<25*************************@posting.google.c om>...
Hi all

I d like to save my screen capture into a avi file. I know how to do
that in VC++ but i am a complete newbie with c#.

any ideas ? advice ? sample ?

ben

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Peter Tawdross | last post by:
Hello I need (at work) to create any type of movies, i have set of frames, but i don't know how to use them to create a movie. Peter Tawdross
4
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large)...
6
by: jonathanztaub | last post by:
I have a DVD CD. * Is it possible to embed it within an html page? * Does the user has to have windows media player or any other program associated with it? * How exactly do I use the <embed>...
7
by: Kilian A. Foth | last post by:
I just found this amazing video puzzle game written with the pygame library, which promises to be infinite fun - but I can't get it to decode any video file I own, except the game's own example...
1
by: torbs | last post by:
I have a problem when I use javascript to get the length and position of a movie I recieve from a rtsp stream. The length and position is extremely high and not the actual length and position of...
1
by: giangiammy | last post by:
hi all, tryng python with pygame, I get the followinf error: faberdanaio.py:28: RuntimeWarning: use movie: No module named movie animation = pygame.movie.Movie("images/film.mpeg") Traceback...
8
by: Karl Groves | last post by:
Does anyone out there know of a way to capture a frame (at random, if possible) of a movie file with PHP? TIA -- Karl Groves www.karlcore.com
10
peeaurjee
by: peeaurjee | last post by:
hi! I am working as a Network Admin in a well reputed company in dubai. A few days before my boss gave me an swf file to make changes. This swf file contains the Company Information in menus and...
3
by: suresh_nsnguys | last post by:
Respected sir/madam, right now i am displaying movie (.wmv) file using <embed> and <object> tags inside <div> tag. Everything is working fine. ...
7
nathj
by: nathj | last post by:
Hi, I'm stuck. Obviously I'm stuck or I wouldn't be posting a new question. I have a php script that takes information from a database and outputs it to the screen. The information in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.