Is there any way of discovering which DirectShow filter in a graph sent a DirectShow event? - directshow

The IMediaEvent and IMediaEventEx do not say which filter in a graph sent the retrieved DirectShow event. Is there any way of finding this information. In particular for graphs where one of the filters in the graph sends an EC_ERRORABORT event?
Ideally would be nice to have something suitable for production systems but hacky solutions that will work just for in house debugging would also be useful.

No, with EC_ERRORABORT event code you just have HRESULT value to possibly help you.
UPD. With certain luck DirectShow Spy can shed some more light.

Related

Get composed frames from Qt WaylandOutput

I'm starting to look into the Qt WaylandCompositor and I am wondering if it is possible to get access to the composed frame of a WaylandOutput, preferably rendered off-screen. So that I can implement something similar than the Weston remoting plugin for streaming the composed scene to other devices.
Looking into the topic, I found the QWaylandView that offers access to a QWaylandBufferRef, but I guess this can be only used for a surface that is input to the composer... Is there something similar for the QWaylandOutput?
About the off-screen rendering, I found QOffscreenSurface, but I found no way so far on how to tell the output to use the OffscreenSurface instead of the window binding.
Does anyone have ideas on how to approach this?
Any help is deeply appreciated.

How to choose right design solution for application?

Currently i am creating a design for a new enterprise application. Right now we have a lot of different proprietary solution and we wanna create a new one to switch from them all.
Briefly it is a kind of data destribution system. We have a lot of clients who needs a lot of different data.
What do i want:
1) Common REST API service
2) Some synchronoyu(async?) enviroment to send task and get data back. On image below you could see i think to use spring kafka request/reply template. It helps to scale my application in future.
3) Different typec of calculators for every kind of data
I search a lot how to do the second point the best way but didn't find any ready solutions or advices. Is it good to use kafka here? Maybe some one could give me advice about best practice in such situations.
Plz, send me links for articles or something else, because it will be a big application and i wanna start to create it rightly from the beginning.

How to embed a survey on my page with real-time result graph after each answer?

I would like to embed a survey on my page so that I have a graph showing after each answered question. The graph would include that answer as well. Is there an engine that allows me to do this or is it easier to write the script myself?
Thanks!
If you're looking for real-time broadcast updates take a look at http://www.realtime.co/developers/demos/demo/poll built using the Realtime Framework (the company I work for).

Line graph in ASP.NET using Datasource

I am somewhat a beginner in ASP.NET (C#), and I would like to know if it is feasible to draw a line chart of a time-series using data from a SQL table (SQL Server).
I haven't found any control that allows for a drawing of a time-series (i.e. Time as X-axis variable).
Also, I would like for the user to be able to hover over the chart and see data, as demonstrated in the following link:
link
Could anyone please enlighten me as to what is the best way to achieve such a result?
Thank you!
You have quite a few options, Reporting Services provides all sorts of graph and charting mechanisms. A personal favourite of mine is JQPlot. The bonus of the latter is that it's free!
Have you tried the Microsoft Chart controls.
have a look at ScottGU Blog here
I have used it and it works really well. The best part is that itès free ;)
HTH

Is there any example to show how to write a DirectShow transform filter?

I want to capture a current frame and its previous one to do analysis and produce a new frame to show. Is it to say I must write a transform DirectShow filter? But I am a newbie to DirectShow. I was confused by MSDN's lots of documents. So I wonder if there is any simple example to show how to do it.
Thanks.
Cook
In the directshow samples that come with the Platform SDK you, at least, always USED to get examples on how to make all sorts of filters. I can't believe they would have removed that. It made DirectShow almost usable :)
This may help:
Writing Transform Filters
EZRGB24 Filter Sample

Resources