Questions tagged [wpf-mediakit]

WPF MediaKit is a WPF control for the DirectShowLib to play or record media, videos especially.

WPF MediaKit is a WPF control for the DirectShowLib to play or record media, videos especially.

41 questions
2
votes
1 answer

How can I use WPF MediaKit, or a similar program, for rendering from a DirectShow filter graph created with DES on to a WPF control?

I have developed a simple video editor using C# and DirectShow.net. As of now, I have a DirectShow filter graph built using DirectShow Editing Services. My application controls the graph, runs, pauses and stops the playback in a preview window as…
Alexander Perls
  • 123
  • 2
  • 9
2
votes
0 answers

How load and play videos with WPFMediaKit without faults?

I’m trying to write a media playout software which rotates the contents. The program uses the WPFMediaKit.dll and DirectShowLib-2005.dll. Before I send out the sign to the screen, I load some media, the MediaOpened event handler pauses it and later…
V. Andris
  • 35
  • 4
2
votes
0 answers

VideoCaptureElement NewVideoSample event never fired

I'm trying to use WPF-MediaKit VideoCaptureElement to preview a web cam video, and to decode QR code if one is in a frame, therefore I need to get access to each frame recorded by web cam and according to documentation it requires…
2
votes
1 answer

Accessing camera of windows 8 tablet

I'm trying to write code to access the camera function of a Windows 8 tablet in a WPF application. The threads I've found all seem to point to using DirectShow.Net or MediaKit. Neither of these projects have been updated in over 3 years. Is still…
Dan
  • 1,222
  • 2
  • 17
  • 33
2
votes
0 answers

WPFMediaKit XAML error

I am trying to view a webcam in WPF. I have added the reference in my XAML as follows: xmlns:WPFMediaKit="clr-namespace:WPFMediakit.DirectShow.Controls;assembly=WPFMediaKit" and then inserting the control as…
user2334434
  • 91
  • 1
  • 1
  • 4
1
vote
0 answers

Can't Capture webcam video using WPFMediaKit

i have simple code to capture webcam video ans store it in file but it does nothing and didn't give me any error i use WPFMediaKit and this is my code IFilterGraph2 filterGraph; ICaptureGraphBuilder2 captureGraphBuilder; …
Ma7moud El-Naggar
  • 548
  • 1
  • 6
  • 18
1
vote
2 answers

Creating a universal video player (XP, vista, 7)

Im trying to create a media player (in C# .net 4.0) that will work on windows XP (SP3), vista and 7. Normally I would just go the easy way and use WPF's own MediaElement, but since that relies on Windows Media Player 10 or newer, that wont work as…
ruNury
  • 173
  • 2
  • 8
1
vote
1 answer

WPF-MediaKit cant render some H264 video on my project but it can elsewhere

I'm trying to use the MediaUriElement from WPF-MediaKit, it works fine for every format I've tested except with the H264 format. Picture: Left: My application, Right: WPF Mediakit Sample application Whats strange is that WPF mediakit in my…
zaza
  • 892
  • 1
  • 18
  • 37
1
vote
0 answers

More than two webcam stream using the WPFMediaKit is not working

I'm using WPFMediaKit for my project to display 4 webcams simultaneously on the same screen. I first, using the WPFMediaKit, tried running two webcams. It worked like a charm. But when I try to load more, only two of them works. I'm in a fix. I…
Kumar Ravi
  • 429
  • 2
  • 20
1
vote
1 answer

WPF Webcam Integration

I am trying to get webcam integration working with a WPF application. There have been a few questions here about getting a webcam functioning in WPF, in this case for image capture. Many people recommend the VideoCaptureElement from the WPF…
devdigital
  • 34,151
  • 9
  • 98
  • 120
1
vote
0 answers

WPFMediaKit HDMI Capture card no sound

I'm using WPFMediaKit for my school project to capture video from HDMI USB Capture card. However there is no sound, it can display the screen only. How to activate the sound/audio from the HDMI signal ? On the other hand, Can I record selected…
cl img li
  • 11
  • 2
1
vote
1 answer

Why does WPFMediaKit VideoCaptureElement created by code land ever in MediaFailed?

I add a VideoCaptureElement to a window in runtime but when I run this code it fires MediaFailed. But if I add the same element in XAML then it works fine, I can see the video from the laptop camera. Am I doing anything wrong? Please help! public…
1
vote
1 answer

how to prevent WPF MediaKit MediaClosed fired

I have a WPF window, there is a ContentPresenter inside it, and two User Controls (one host MediaUriElement, the other host other things) and two buttons (to switch between User Controls). When I switch to MediaUriElement User Control, I assign a…
James Hao
  • 765
  • 2
  • 11
  • 40
1
vote
0 answers

Get frame rates list and pixel format from capture device? (WPF MediaKit)

I can get a list of resolutions supported by the capture device (from VideoInfoHeader and BmiHeader). But I can not figure out how to get a list of frame rates. Similarly, I'm looking for how to set a pixel format (for example uyvy422). Is it…
Lupa
  • 62
  • 7
1
vote
1 answer

How to enable audio when using VideoCapturePlayer?

I am trying to integrate a live feed in my WPF application using DirectShow device. Both audio and video is working fine in VLC. I have integrated VideoCapturePlayer from the WPF-MediaKit in a simple application and i am able to see live video feed…
moeed
  • 11
  • 1
  • 2
1
2 3