Questions tagged [directshow]

The Microsoft DirectShow application programming interface (API) is a media-streaming architecture for Microsoft Windows. Using DirectShow, your applications can perform high-quality video and audio playback or capture.

directshow
Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

DVB Recording of a channel

I'm trying to record a DVB-Channel with a DVB-T Tuner. I already did much research on this topic but I don't get really "information" what to do. Basically I'm already able to create a own Graph with ...
LatinChriz's user avatar
0 votes
1 answer
998 views

DirectShow video capture filter - IPersistPropertyBag::Load() returns E_ENVALIDARG

This one is driving me crazy. The Windows Mobile 6 sample CameraCapture works fine on all WM 6 devices tested. I have added the same graph construction to a large complex program. On some devices, ...
Ben's user avatar
  • 1
0 votes
1 answer
449 views

Webcam appearance order

I have developed virtual webcam (DShow filter) and now I want to make it 1st in the list of webcams in applications. I know that applications use DirectShow or VFW to enumerate video devices but how ...
Dalamber's user avatar
  • 1,009
2 votes
2 answers
2k views

Moving panel with directshow video renderer in it

I have a few panels with different directshow IVideoWindow handles bound to them so that the videos get shown inside the panels (WindowStyle properties are: Child,ClipSiblings,ClipChildren,Caption) ...
Ernő Simonyi's user avatar
3 votes
2 answers
6k views

Simulating a webcam stream

Is it possible to simulate a web-cam output so that other programs that use web-cams (for example Skype) will recognize it as a real web-cam?
Artium's user avatar
  • 5,207
0 votes
1 answer
337 views

Directshow and .NET Interop issue

I am facing a strange issue. I have a directshow based player that is wrapped as a COM object. I use this player in a C# form. Actually two instances so that two clips can be played side by side. ...
Saibal's user avatar
  • 812
0 votes
1 answer
1k views

Getting multiple video renderers in directshow.net in c#

I have 4 separate video devices connected to their respective video renderers and I'd like to show the video renderers in 4 separate windows/panels. With the IVideoWindow GetSecondRenderer() { ...
Ernő Simonyi's user avatar
1 vote
1 answer
1k views

DirectShow : IMediaSeeking::SetRate not working with H.264 streams

How can I set video playback rate when working with H.264 video streams with DirectShow? It looks like IMediaSeeking::SetRate dosen't work on H.264 video decoder. I tried the following decoders so ...
Rafale's user avatar
  • 11
1 vote
1 answer
1k views

Deinterlace tv tuner output in DirectshowNet

I am developing a tv tuner capture application in c#. I'm using DirectShowNet for it and my device is AverMedia Super 009. I am using capturegraphbuilder.renderstream() method and i'm using capture ...
ganesh's user avatar
  • 11
1 vote
1 answer
2k views

Capture Pin property window in Directshow c#

I'd like to grab some samples from a video stream with a sample grabber from a capture device. This works well for the default 640*480 resolution. I've seen a few examples codes (for some reason I ...
Ernő Simonyi's user avatar
1 vote
1 answer
2k views

Get native video resolution of a video file

I'm currently writing some custom EVR for a Media Foundation player. So far everything work, but i'm in need of finding the native resolution of the video file i'm rendering. I try to use the ...
Sirithang's user avatar
  • 145
0 votes
1 answer
594 views

Streaming grabbed audio sample (in BYTE) to Audio renderer Filter

I have written a program to take sample audio continously from microphone into a buffer using ISampleGrabber. I am quite sure of all other part of the program. But the below part to grab sample into ...
Aguk Kuga's user avatar
0 votes
1 answer
758 views

Difference Sink and Mux filter

Can someone let me know the differences in DirectShow? the difference Mux and Demux filter. the difference Sink and Mux filter. the difference Source and Splitter filter. TIA
Infinity Challenger's user avatar
0 votes
1 answer
310 views

Custom DirectShow filter: difficulty passing variables to host app

My goal is to create a DirectShow filter that passes audio samples to my game. For now, it saves a few data members from the WaveFormatEx structure into private variables. I have accessor functions in ...
drunkmonkey's user avatar
2 votes
2 answers
2k views

setting timestamps for audio samples in directshow graph

I am developing a directshow audio decoder filter, to decode AC3 audio. the filter is used in a live graph, decoding TS multicast. the demuxer (mainconcept) provides me with the audio data demuxed, ...
Aviad Rozenhek's user avatar
3 votes
2 answers
6k views

best way to build graph for MPEG2 transport stream

on windows 7 the windows media player supports .ts files very well, in the sense that windows media player knows how to handle such files without any additional codec packs. however if I try to use ...
Aviad Rozenhek's user avatar
0 votes
1 answer
3k views

OpenCV videoInput.h Capture speed different than write speed

I am trying to write recording software that would write a video stream coming in the computer to an avi file. I am using OpenCV and accompanied videoInput.h to handle the directshow code. Just in ...
Kerigan's user avatar
  • 23
1 vote
2 answers
2k views

Finding out when the samplegrabber is ready in DirectShow

I am continuing work on my DirectShow application and am just putting the finishing touches on it. What the program is doing is going through a video file in 1 second intervals and capturing from the ...
Seb's user avatar
  • 3,474
0 votes
2 answers
544 views

Microsoft StreamBufferEngine support two sources to one sink?

Is it possible to have a single Stream Buffer Sink feed two Stream Buffer Source's? What I would like to do is have three graphs. The first is my capture graph, feeding into a Stream Buffer Sink. The ...
David Paxson's user avatar
0 votes
3 answers
4k views

.Net sdk for video editing like Windows Movie Marker

i am currently working on .net application which contains one audio & video file. audio file is split as in to small section as per database entries. then we have to merge this files on video file ...
abhishek's user avatar
7 votes
1 answer
6k views

Using DirectShow to capture frames and OpenCV to Process

I have made two different solutions for Video-to-Image Capturing and was wondering if I could intertwine the best of both worlds. I am currently using DirectShow to load in an AVI file and capture ...
Seb's user avatar
  • 3,474
2 votes
1 answer
1k views

2 videos with DirectShow in c#

I would like to have 2 video windows playing a (same file for now) video. As I'm still new to c# and DirectShow I'm having problems with this and haven't found any working examples for multi-video ...
Ernő Simonyi's user avatar
2 votes
1 answer
2k views

Property page for custom Directshow filter

I managed to create a custom DirectShow transform filter, register it, and export it in a DLL. It now works properly in both GraphEdit and a C++ test program. My next goal is to create a custom ...
fulguroblastor's user avatar
0 votes
1 answer
2k views

directshow disable activemovie window in C++ console application

I am creating a video frame output program in a c++ console application using direct show. I have the video loading in and playing fine, however, the video pops up in an ActiveMovie Window. Is there ...
Seb's user avatar
  • 3,474
1 vote
1 answer
869 views

How can I adjust the video to a specified size in VMR9 renderless mode?

I want to adjust the video to display on a specified window, for example 320*240. I must use VMR-9 Renderless mode to render to a surface. I am using the IVMRMixerControl9->SetOutputRect() method to ...
Nickolas's user avatar
  • 790
2 votes
3 answers
5k views

Using a custom DirectShow filter (DLL, registered)

I've written a small transform filter (derived from TransInPlaceFilter baseclass), and managed to make it work properly in a Directshow graph, entirely coded in C++. I basically followed the 5 first ...
fulguroblastor's user avatar
1 vote
2 answers
4k views

Capture images from a webcam in delphi

I am looking for a way to capture images from my webcam using directshow, preferably I want to use HD resolutions if possible, and avoid CPU spikes at 60-100%. can someone shoot me in the right ...
Plastkort's user avatar
  • 957
0 votes
1 answer
482 views

Saving frames in a directshow filter

I have an application that relies on a C++ DirectShow transform filter, for the purpose of analyzing what is going on step by step I want to save each frame from the camera that the filter processes. ...
John Traynor's user avatar
2 votes
3 answers
3k views

DirectShow - what is it?

What is Microsoft's DirectShow, and how does it relate to: codecs? containers? And what is the exact difference between codecs and containers?
lital maatuk's user avatar
  • 6,101
0 votes
1 answer
2k views

How do I set the properties of a DirectShow Filters

Ok I have this 3d tv Transformation Filter. I can easily configure its properties by using GraphEdit, right click on its properties and set whatever I want. Now I want to set the properties ...
Woof's user avatar
  • 1
0 votes
1 answer
2k views

Add Watermark to Capture stream

I am using DirectX.Capture and Direct Show. Using existing project http://www.codeproject.com/KB/directx/directxcapture.aspx?msg=2490488 want to add water mark is it possible? if yes how?
Afnan Bashir's user avatar
  • 7,329
2 votes
1 answer
514 views

Is it possible to use the h264 and aac encoders that ship with windows 7 from directshow?

I see that windows 7 ships with an aac encoder and an h264 encoder. I'm writing a directshow application that needs to do video encoding. I think: "Great! Now I don't have to license a video encoder!",...
bobpoekert's user avatar
4 votes
3 answers
2k views

DirectShow/WPF Threading issue

I am writing an app using WPF and DirectShow and have run into a sticky issue. My application utilizes DS through static methods Start() and Stop() in a static class written using DirectShowNet (a C# ...
Kevin's user avatar
  • 41
0 votes
1 answer
1k views

Seeking key frames using IMediaSample DirectShow.Net

As far as I know, inorder to check if a frame is a key frame or not, I have to check the IMediaSample::IsSyncPoint() method, which returns 0 (S_OK) if the frame is a key frame, or false in the other ...
jysh's user avatar
  • 1,511
2 votes
2 answers
2k views

c# DirectShow example shows black screen, but sound is OK

DirectShowLib.DVB-T example "DTVViewer" plays audio, but doesn't play video, I think it's because of H.264 video compressor, which is used in our Digital television and "DTVViewer" is trying to ...
bikt's user avatar
  • 173
3 votes
3 answers
1k views

DirectShow - Unable to create new threads

I am having some strange issues integrating a DirectShow graph into an existing application. A couple things to cover first: The graph's purpose is to bring raw video from a FrameGrabber which has ...
DeusAduro's user avatar
  • 6,071
2 votes
3 answers
1k views

Fading a video clip to black

I have a requirement to play a video file in C# (with audio) then to be able to fade out the video to a black screen then fade in another video. I've looked at DirectShow & DirectShowNet however ...
X100's user avatar
  • 21
1 vote
1 answer
3k views

Seeking keyframes using DirectShowNet

My task is : I create a graph, attach a SampleGrabber to it, and grab the keyframes using the IMediaSeeking interface after building the graph. The following is what I have done : In the Main method :...
jysh's user avatar
  • 1,511
1 vote
1 answer
2k views

simpest way to get audio/video data from directshow

I compiled the DirectShow sample player (from the Windows SDK's "Samples\multimedia\directshow\players\dshowplayer" folder). Everything works well but it renders directly to the screen and the audio ...
Warpin's user avatar
  • 7,023
0 votes
2 answers
507 views

Memory Issues with Video Transitions in DirectShow Editing Services

I've encountered an odd, apparently memory-related issue when using DES to transition between overlapping video clips or still images, and I'm curious to know whether other DES users have found the ...
russ's user avatar
  • 1
2 votes
2 answers
587 views

This code for applying a CBR filter to an ASF Writer doesn't work, why?

I am trying to apply a CBR profile to an ASF Writer to reduce latency for a video/audio streaming. This is what I've done till now: Using Media Encoder, I generated a default CBR profile Saved the ...
Paul Andrews's user avatar
1 vote
2 answers
1k views

How does DirectShow decide between two codecs with the same merit value?

Given two codecs with the same merit value, how does DirectShow decide which one to use through the 'intelligent connect' mechanism?
amit's user avatar
  • 2,241
1 vote
1 answer
546 views

General question about DirectShow.NET, DirectShow and Windows Media Format

I searched and googled for an answer but couldn't find one. Basically I'm developing a webcam/audio streaming application which should capture audio and video from a pc (usb webcam/microphone) and ...
Paul Andrews's user avatar
0 votes
1 answer
1k views

How to overlay audio file on .wmv video file using c#?

I want to record video and audio files using C#. After recording of audio + video i want to merge them. There can be only one video file and 10 audio file. I want this ten files to overlay on one ...
Vipul jain's user avatar
3 votes
3 answers
5k views

video call in c#

I want to make a similar application to Skype, and the main problem is working with video and audio. The first problem is how to get a bytes array of the video (to be specific, I need to get bytes ...
miki's user avatar
  • 380
1 vote
1 answer
2k views

Display streaming video in desktop app

I have a Windows native desktop app (C++/Delphi), and I'm successfully using Directshow to display live video in it from a 'local' video capture device. The next thing I want to do is display video ...
Roddy's user avatar
  • 67.4k
0 votes
1 answer
587 views

is there a way to change the default output file from avi to mp4 in directshow?

it is already generating avi file format, i want to change the output format
user avatar
3 votes
2 answers
6k views

Using Microsoft DTV-DVD Video Decoder to play H264 video

I am trying to play an H264 video with graphedit on Windows 7 32bit. Graphedit is unable to render the file. I tried to mount the graph manually using the Microsoft DTV-DVD Video Decoder (also know as ...
Rafale's user avatar
  • 65
1 vote
1 answer
2k views

How do I use SampleGrabber to build a spectrum/visualizer for audio?

I am currently building an application that uses the DS sdk, and I need to figure out how to obtain the amplitude constantly from the audio source to draw a visualizer or spectrum of some sort. I've ...
steve.s.in.florida's user avatar
2 votes
1 answer
941 views

DVB-T tune request parameters

I'm working in GraphEdit to capture video from a Pinnacle PCTV card, in preparation for writing a program that will do the same, among other things. What, precisely, is the meaning of the tune ...
dkb's user avatar
  • 551

1
33 34
35
36 37
41