473,545 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

directshow in c#

Hi,
can I use directshow in c#???
dose Microsoft still support direct show sdk or there is a new technology
today???

what is the best way to draw on playing video and how can I do that???

Thanks
Jun 30 '06 #1
7 4233
There's a managed API for DirectX, which should allow you to get to
DirectShow. Google for managed DirectX, you should be able to find the
download on MS's site.

Andy

Dave wrote:
Hi,
can I use directshow in c#???
dose Microsoft still support direct show sdk or there is a new technology
today???

what is the best way to draw on playing video and how can I do that???

Thanks


Jun 30 '06 #2
"Andy" <aj*****@alum.r it.edu> wrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
There's a managed API for DirectX, which should allow you to get to
DirectShow. Google for managed DirectX, you should be able to find the
download on MS's site.


That's not directshow though is it?

Michael
Jun 30 '06 #3
"Dave" <be******@netvi sion.co.il> wrote in message
news:u9******** *****@TK2MSFTNG P03.phx.gbl...
Hi,
can I use directshow in c#???
dose Microsoft still support direct show sdk or there is a new technology
today???

what is the best way to draw on playing video and how can I do that???


My info might be a little outdated as I'm still using 1.1 but you can use
directshow in c# using com interop. There are example on the web.

Michael
Jun 30 '06 #4
Was I wrong in think DirectShow is a part of DirectX, just like
DirectInput is?

Michael C wrote:
That's not directshow though is it?

Michael


Jun 30 '06 #5
Playing video, mmm ... is this what you want?
http://msdn.microsoft.com/vstudio/ex...g/default.aspx

chanmm

"Dave" <be******@netvi sion.co.il> wrote in message
news:u9******** *****@TK2MSFTNG P03.phx.gbl...
Hi,
can I use directshow in c#???
dose Microsoft still support direct show sdk or there is a new technology
today???

what is the best way to draw on playing video and how can I do that???

Thanks

Jun 30 '06 #6
On Fri, 30 Jun 2006 16:57:44 +0200, Dave wrote:
can I use directshow in c#???
It depends on what you want to do. Microsoft provides a very limited access
to DirectShow via their AudioVideoPlayb ack managed library. I've never used
it but i suppose that all it allows you to do is... play audio and video
files.

DirectShow being based on COM, creating and controling DirectShow graphs
from C# is possible but involves a whole lot of COM-interop work.
Fortunately, there is an open source project aimed at creating managed
wrappers for all the DirectShow COM interfaces:
<http://directshownet.s ourceforge.net/index.html>

If you want to create DirectShow filters, then i'm afraid that you'll have
to do it in unmanaged C++. Microsoft recommends against the use of managed
code for filter development. Technically though, writing a DirectShow
filter in managed C++ or C# is possible, has been done and works. 2
examples:
<http://www.codeproject .com/cs/media/prototypingdsfi lters.asp?df=10 0&forumid=24517 1&fr=26>
<http://www.a2ii.com/tech/directx/tutorialDS12.ht m>

Here are some useful FAQs:
<http://tmhare.mvps.org/faqs.htm>
<http://www.gdcl.co.uk/q_and_a.htm>
dose Microsoft still support direct show sdk or there is a new technology
today???
You will find the answer to this question in the first FAQ above
what is the best way to draw on playing video and how can I do that???


I guess that you'll need to write a Transform filter and draw on the video
frames as they pass along. I'm not a specialist though so there might be
better solutions.
Jun 30 '06 #7
"Andy" <aj*****@alum.r it.edu> wrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Was I wrong in think DirectShow is a part of DirectX, just like
DirectInput is?


DirectShow is part of DirectX but afaik the managed DirectX did not include
DirectShow.

Michael
Jul 1 '06 #8

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

Similar topics

1
4289
by: agrsaurabh | last post by:
Hello Everybody, I have created an AVI Player using DirectShow. This player is working fine. I have also created a View Window (with class name CViewWnd) using CFrameWnd class. This view window is used in an application which plays its own customised files (of some other extensions) on this view window. Now:
0
2065
by: pps | last post by:
I've been away from MSFT s/w for a few years... I need to develop some filter and higher-level control code work for MCE 2005. Which development tool environment do I need to get in order to do this? I installed Visual Studio 2005 Express, but it doesn't include ATL (which the DirectShow samples use). So I'm ready to go shell out $$$ to...
4
2029
by: Tamir Khason | last post by:
Question: I have some custom video card with custom driver, which does not support DirectShow. How it possible (if it is) implement program using it within .NET enviroment? TNX -- Tamir Khason You want dot.NET? Just ask: "Please, www.dotnet.us "
0
1547
by: Nick Z. | last post by:
I need to use DirectShow and it is just a pain in the butt with C#. (since the managed version of dx doesnt have directshow) I'm thinking of different ways of getting DirectShow functionality. I just had this idea. What if I make a dll(?) in C++ that does all the DirectShow interaction and then I interop functions from this dll in my C#...
0
1953
by: sengkok | last post by:
hi, i am using the directshow in C# to built a karaoke system,but i am facing a problem with the audio play in the video file (DAT format), some of the video file , i can control the music and vocal play by using the BALANCE in the directshow. but some of the video file will only play the music and without the vocal . i have no idea why this...
2
2319
by: Andrew Bullock | last post by:
Hi, I'm trying to use direct show to grab arbitrary frames from a DV .avi. I'm using the PlayWnd code from this example: http://www.codeproject.com/cs/media/directshownet.asp Currently an IGraphBuiler is cast to an IVideoWindow, which is passed the Handle of a picturebox to display the video in.
1
11599
by: Michael A. Covington | last post by:
I asked about this several months ago and got some useful advice, but now that we've had 4 months of progress and turnover, let me ask again... What's involved in using DirectShow to edit video? I have a collection of AVI files and need to write a program that will extract portions of the AVI files and segment them together in a specified...
5
2702
by: Gustavo Arriola | last post by:
Hi! How I can reproduce a file of video using DirectShow? Thanks! Gustavo
4
26274
by: ink | last post by:
Hi All, I am trying to build an image capture user control using DirectShow to be used in an existing C# application. It needs to have a view finder/ preview window and be able to take still images.
0
7473
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...
0
7406
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...
0
7660
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. ...
1
7431
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...
0
7761
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5976
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...
1
5337
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...
1
1888
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.