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)
- How can I set webcam framerate in ver 2.2.5 HOT 2
- FindHull Integer overrun HOT 2
- GetPinCapabilitiesAndConfigureSizeAndRate() does not release streamConfig HOT 1
- problems with 3 cameras HOT 2
- NewFrame event doesn't fire after stop and start again in Windows service HOT 4
- ignoring 12bit Videoformat fails ... obviously a typo <= instead of >= HOT 1
- ProcessImage support for 32bpp
- GC.KeepAlive for UnmanagedImages HOT 2
- Subtraction of double with Complex has wrong output HOT 1
- Access Violation in Clone() for ROI subimage aligned with bottom of original image
- Keep Aspect Ratio HOT 1
- Add Deep Reinforcement Learning to MachineLearning namespace
- Export to GitHub HOT 4
- Missnig packages on NuGet HOT 1
- Patch for memory leak in Video.FFMPEG's VideoFileWriter::Close() HOT 1
- Optional standard gradient calculation in Sobel filter
- getting timestamp with avireader method
- AForge.Net VideoCaptureDevice.VideoCapabilities doesn't work.
- Convolution filter with threshold doubles frequency of 'zero' values
- "ApplyMask" and "MaskedFilter" filters doesn't work correctlly HOT 6
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.