473,663 Members | 2,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using DirectX in C# for video display

HI
I am wiriting application in C# to get Live video from (DVR) Digital
Video recorder.DVR vendor has given us dll file to connect to DVR and
get video frames. I am taking each frame converting to C# bitmap
graphics and displaying in picturebox.Even though I am getting the
proper video it is very slow, I am dropping some frames. I want to use
directX to buffer video frames and display it.Can anybody help me on
this.Can you give me source code example or aritical links? I have
already installed DirextX 9b SDK on my computer. I am very new to
DirectX!!! or can you suggest me other alter
Nov 16 '05 #1
0 1459

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

Similar topics

1
2031
by: Aaron Lovi | last post by:
Hi, I'm a noob trying to use managed DirectX (VC# 2003, DX9.0 Apr 2005 SDK). I used to use OpenGL with QT and VC++6.0, but I was a relative newcomer to that as well. When I used OpenGL, my understanding was that if you used display lists, your vertices would normally be held in memory on the video card. Now, with managed DirectX, I am looking at code that looks like this:
0
439
by: sandy_pt_in | last post by:
HI I am wiriting application in C# to get Live video from (DVR) Digital Video recorder.DVR vendor has given us dll file to connect to DVR and get video frames. I am taking each frame converting to C# bitmap graphics and displaying in picturebox.Eventhough I am getting the proper video it is very slow, I am dropping some frames. I want to use directX to buffer video frames and display it.Can anybody help me on this.Can you give me source...
1
1835
by: Patrick Ireland | last post by:
I have installed the lastest DirectX SDK on my machine. However, when I try to build their VB.NET example of an audio/video player, the build gets errors associated the the DirectX namespaces for audio and video components. I use the defaults to load the DirectX SDK as I did when I initially installed the .NET software. It appears to me that the build can not find the components. What files contain the .NET DirectX namespaces? Where...
6
6926
by: Christopher Kurtis Koeber | last post by:
Dear All, I want to create a high-speed imaging application and I am currently sing the built-in GDI+ imaging controls, methods, etc. However, on Bob Powell's website, he said to check out DirectX to do this. But I am not well versed in C++ or C#, I am relatively new to those languages, I have more experience and therefore am more comfortable in Visual Basic. Can I use DirectX in Visual Basic.Net or will I have to learn C# or C++. I want...
2
5092
by: smalltownworld | last post by:
Anyone got an idea of capturing a screen without api and or opengl/directx? Was thinking about reading from primary display driver memory but not sure if it can be parsed into an image . . . Any thoughts?
1
2703
by: Jerry Spence1 | last post by:
I'm struggling to get started on this subject as I can find out so little information about DirectX I have some IP Cameras and I am trying to display the video and also save the file, and I am hearing that DirectShow may have the answer. However, after downloading the latest DirectX SDK it says that DirectShow is now obsolete but it doesn't say what I should be using. I am thinking that I need to set up some tcp network streaming to...
4
3315
by: mariusz | last post by:
Hi All, I have a problem with component DirectX.AudioVideoPlayback.Video. Following part of code works good but I have one problem. The movie is allways on the top left corner of the display. Size of the movie has change according to size of the PictureBox but position of the movie is allways the same: top left corner. How can I change position of the movie? Protected Overrides Sub OnResize(ByVal e As System.EventArgs)...
2
2308
by: Z.K. | last post by:
I was wondering if someone could tell me why I get this message and how to prevent it. If I hit continue, it runs fine, but want to know what I am doing wrong so I won't get this error in the future. also what is the file Clock.vshost.exe; my application is Clock.exe. Z.K. 'Clock.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Super_Wizard\My Documents\Visual Studio
11
3455
by: raylopez99 | last post by:
I just downloaded the apparently free SDK for DirectX 9, all 200+ MB of it, but as I read about WPF I wonder: is DirectX obsolete? Should I even bother learning how to use it? After all, the end user must have the DirectX library installed on their PC before they can use any video playing program you write. Does WPF even use DirectX? Or are the functions of DirectX (mostly video and graphics stuff, possibly accelerated via software...
0
8436
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8858
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8548
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.