Comments (8)
Original comment by [email protected]
on 26 Aug 2007 at 6:39
- Changed state: Accepted
- Added labels: Project-Video
from aforge.
the issue is explaied at the end of this article: http://msdn2.microsoft.com/en-
us/library/ms781973.aspx
i was playing with the code on a sample app i made myself and if you comment
these 3
lines on VideoCaptureDevice.cs the issue disapears...with a new video window
apearing wich is what i havent figured out yet hehe, but i gess thats a start
// configure video window
IVideoWindow window = (IVideoWindow) graphObject;
window.put_AutoShow( false );
window = null;
hope that helps a bit, ill keep looking further and let you know
Original comment by [email protected]
on 6 Oct 2007 at 8:55
from aforge.
ok, i think i got it.
comment these lines in VideoCaptureDevice.cs
// render pin
//graph.Render( Tools.GetOutPin( grabberBase, 0 ) );
...
// configure video window
//IVideoWindow window = (IVideoWindow) graphObject;
//window.put_AutoShow( false );
//window = null;
thing is, when you call "graph.Render(Tools.GetOutPin(grabberBase, 0))" your
telling
direct show to complete the graph for you from that point on with whatever
works for
your system, wich in this case i gess directshow says, hey, this graph needs a
way
to visualize the video, duh. and then DS creates a nice little preview filter
for us
wich as far as i know we dont need cause we are using the grabber to get our
frames.
so, if we dont tell the graph to "render" or complete itself we dont get a
preview
filter wich we dont need and is whats causing the freeze. since we no longer
have a
preview filter the last 3 lines i commented arent really doing anithing at this
point so we might as well take them out.
im no directshow guru but this makes sense to me and, at least on my test app,
it
works. let me know if it makes sense to you.
Original comment by [email protected]
on 6 Oct 2007 at 9:10
from aforge.
Thank you for your investigation and comments. I will check this approach as
soon as
I return from a trip and let you know about the results.
Original comment by [email protected]
on 6 Oct 2007 at 11:53
from aforge.
Original comment by [email protected]
on 17 Oct 2007 at 4:21
- Changed state: Started
from aforge.
Remove Render() methods call of IGraphBuilder interface. The methods was
completing
graph with additional filters required for rendering, which were causing video
stopping in the case of screen saver or workstation locking. Since we use
Sample
Grabber and we do our own rendering, the call was not actually required.
Available in revision 382. Will be released in 1.5.1 version.
Original comment by [email protected]
on 17 Oct 2007 at 4:26
- Changed state: Fixed
from aforge.
Original comment by [email protected]
on 18 Feb 2008 at 12:37
- Changed state: Verified
from aforge.
Original comment by [email protected]
on 19 May 2008 at 6:08
- Changed state: Released
from aforge.
Related Issues (20)
- Unable to detect object after changing the angle of abject which was different while training object. (getting diff. dimentions) HOT 4
- Add support for 32-bits ARGB images in the CornersMarker filter HOT 4
- Slow performance of PermutationChromosome.CreateChildUsingCrossover HOT 5
- Rotation Invariant Template Matching in c#.net HOT 3
- PointedColorFloodFill causing Stack Overflow HOT 4
- Deadlock with out-of-order calling of VideoSourcePlayer.WaitForStop and VideoSourcePlayer.SignalToStop. HOT 3
- AForge.Math.FourierTransform.FFT unhandled exception HOT 4
- MJPEGStream could handle incorrect boundary values HOT 3
- XML documentation files are not included on default installation HOT 2
- IAMCameraControl support and Microsoft LifeCam frame size fix HOT 5
- Blob Detection problem with certain aspect ratio rectangles. HOT 7
- Conversion between IntPoint/DoublePoint and .net Point/PointF HOT 4
- IsQuadrilateral can return true on U-shaped blobs. HOT 1
- *Point.DistanceToLine method HOT 13
- Converting an Image between Rectangular and Polar Coordinates HOT 7
- Blob no longer has a constructor? What happened? How does a blob get instantiated with data? HOT 4
- Find line intersections HOT 3
- Math.Tools.IsPowerOf2 returns true when given 0. HOT 3
- Contrast issue HOT 2
- Distance and Similarity metrics HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aforge.