9,867,109 members (39,657 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
227 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 5
Page Size:
10
·
25
·
50
Author filtered by: Maxim Kartavenkov
[x]
Re: how to Grab single frame?
by
Maxim Kartavenkov
Forum Message
12 May 2013
Hello, You can check DxGrapper application in samples it uses SampleGrabber filter to hook frames with specified format. You can create your own filter and connect it to the output pin. You can c
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Using an existing Video Capture device as source
by
Maxim Kartavenkov
Forum Message
6 May 2013
Yes, you can contact me in there.
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: Using an existing Video Capture device as source
by
Maxim Kartavenkov
Forum Message
6 May 2013
You should perform capture from real device inside filter using separate graph and make output from that. Maxim.
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: TextoverFilter doesn't work on integrated webcam but does work for external USB webcam
by
Maxim Kartavenkov
Forum Message
3 May 2013
One camera supports the colorspace requires for filter another one - not. You are not inspecting the results of an operations that's why you not getting any errors. Maxim.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Virtual Web cam and pre-recorded videos
by
Maxim Kartavenkov
Forum Message
25 Apr 2013
I think you should better to read DirectShow documentation.
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: Virtual Web cam and pre-recorded videos
by
Maxim Kartavenkov
Forum Message
21 Apr 2013
Hello, You can do playing media files inside filters like in particular application so you can update output camera buffer from the played file active frame. Regards, Maxim.
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: How to use in WPF
by
Maxim Kartavenkov
Forum Message
21 Apr 2013
Hi, Right now I have no sample code for WPF but you can check the WPFMediaKit. Maybe later I extend my library with helper classes for WPF. Regards, Maxim.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Set Camera Properties at Runtime
by
Maxim Kartavenkov
Forum Message
21 Apr 2013
Hi Mario, Sorry for late responce I was on vacations. Some properties you can't change at runtime that's why you received error message. For "Ximea" cameras I hardcode some properties which are no
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Excellent Work...
by
Maxim Kartavenkov
Forum Message
4 Apr 2013
Welcome.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
How to instantiate a COM dll
by
Maxim Kartavenkov
Answer
3 Apr 2013
license:
CPOL
In additionallyHow to initialize object from existing DLL without registering see my answer here: importing com dll dynmaically[^]The CoCreateInstance and CoCreateInstanceEx used if case you object registered in a system or on remote PC. Once your object is OLE control or document which...
General Programming
»
Uncategorised Quick Answers
»
General
C++
COM
A problem about directX texture.
by
Maxim Kartavenkov
Answer
30 Mar 2013
license:
CPOL
1. GetFrontBufferData does not recommended to use as it slow.2. You are getting screen into system memory and what for you copy it back to the texture?3. You copy via Locking which is not good.To solve your issues see:This API D3DXLoadSurfaceFromSurface usd to copy from one surface to...
General Programming
»
Uncategorised Quick Answers
»
General
DirectX
Bitmap
Texture2D
Compare FileVersionInfo GetVersionInfo to a double
by
Maxim Kartavenkov
Answer
26 Mar 2013
license:
CPOL
Better converting not to double but to DWORD or ULONGLONG (in .NET it uint and ulong).And make high version part to be at high bit order so you can compare that 2 numbers only.In .NET it will looks:public uint GetVersion(string _version){ uint uiVersion = 0; string[] aVersion =...
General Programming
»
Uncategorised Quick Answers
»
General
SQL-CE
C#
SQL-Server
Forms
VisualStudio2012
Multiple Windows Media Players in VB
by
Maxim Kartavenkov
Answer
26 Mar 2013
license:
CPOL
You can play one file via DirectShow and use Inf Tee Filter on video stream with multiple video renderers, or use one VMR9/EVR with custom allocator presenter and present target surface on couple render targets at the same time. So you will need to control one graph and one file playback only...
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB10
Re: Propertydialogs crash
by
Maxim Kartavenkov
Forum Message
26 Mar 2013
Not sure but probably some additional release called and as result the object already released then _Release called. If you research more and provide more details I can check and solve that if it my i
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
UDP Broadcasting with Multiple Ethernet Interfaces!
by
Maxim Kartavenkov
Answer
26 Mar 2013
license:
CPOL
You should create UDP socket for each NIC and bind to every adapter.See my answer here:UDP broadcast on multiple ethernet interfaces/adapters[^]
General Programming
»
Uncategorised Quick Answers
»
General
C++
how to detect the services in vc++
by
Maxim Kartavenkov
Answer
25 Mar 2013
license:
CPOL
That is very easy, you just need to use 2 WinAPI: OpenSCManager and EnumServicesStatus. First one is used to obtain service control manager handle, and the second one to enumerate services based on given status and type.Regards,Maxim.
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VS2005
C++
C++
Visual-Studio
VC++
Services
How to Compile an EXE file with ASP.NET (server side) ondemand
by
Maxim Kartavenkov
Answer
25 Mar 2013
license:
CPOL
You can build the .NET source code dynamically and compile it on server side without problemsFor that you can use one of CodeDomProvider classes example CSharpCodeProvider or VBCodeProvider fill the CompilerParameters structure and call...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
execution
Re: Color Space Converter
by
Maxim Kartavenkov
Forum Message
25 Mar 2013
Hi, Chris Sure I know why the Color Space converter can be inserted. Main reason: The filter have output format which is not compatible with renderer and changing it not allowed by the filter. Ex
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Are the instance of classes or structures equal to pointer of those in c++ ?
by
Maxim Kartavenkov
Answer
24 Mar 2013
license:
CPOL
In additionally to previous answers.A a; // object created in stackA * pa = &a; // But it still have a pointer and you can get it next way// Now if you call any method of the those 2 instances you call it on same object.a.Method();pa->Method();// And set property performed also on...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Class
structures
Pointer
File system Minifilter Driver
by
Maxim Kartavenkov
Answer
24 Mar 2013
license:
CPOL
That will be not so simple for you to start with drivers.The major documentation which you should use is WDK. Not worry if it will be hard to read at start but as you have objective to learn it you will win.Getting started with drivers development[^]The main part of it for you is IFS....
General Programming
»
Uncategorised Quick Answers
»
General
C++
How to edit the filter property from our application?
by
Maxim Kartavenkov
Answer
24 Mar 2013
license:
CPOL
I already anwering you abt that you should know filter interface which used to control it properties. After query that interface froom your filter object and use it methods to modify filter settings.IBaseFilter * _filter; // initialized by CoCreateInstanceIFilterControl * _interface;//...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
how to set resolution of web cam
by
Maxim Kartavenkov
Answer
24 Mar 2013
license:
CPOL
It is not only biWidth and biHeight necessary to set for the resolution change.In additionally to parameters which require to change (this in case you uses the format which you get previously) you should set the biSizeImage = biWidth * biHeight * biBitCount / 8.Note: you can't set the...
General Programming
»
Uncategorised Quick Answers
»
General
VS2008
C#
WPF
Visual-Studio
Howto display details of OLE Compound Document in File Explorer?
by
Maxim Kartavenkov
Answer
24 Mar 2013
license:
CPOL
Well, this bcs of your system does not know abt your files.You should just specify handlers for that in registry:HKCR\{your extension} - in here you can put the information abt your extension and how it should be handled (including opening displaying in shell and so on)Actually I think...
General Programming
»
Uncategorised Quick Answers
»
General
Windows
Registry.
File/Shell
OLE
Re: I could not find H264Encoder filter in graphedit
by
Maxim Kartavenkov
Forum Message
24 Mar 2013
Don't worry abt that warnings. Search by filter name which you can see in source code in Legacy AM Filter Category. Note: the filter builded explicit as 32-bit so you should use 32-bit GraphEdit
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
Re: Save property page settings
by
Maxim Kartavenkov
Forum Message
22 Mar 2013
Also keep in mind that Save called 2 times: 1st to determine the size of required for data to be saved and 2nd is for an actual data saving. Maxim.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Already defined .obj problem.
by
Maxim Kartavenkov
Answer
22 Mar 2013
license:
CPOL
You should declare variables in .h files but initialize them in .cpp file.Otherwise you include header 2 times and then it is initialize 2 times.Note: do not forget to use #pragma once or via definition avoid doublbe declaration.//example: .h#pragma once// declare variable so...
General Programming
»
Uncategorised Quick Answers
»
General
VC++
How to set the screen capture region using DirectShow?
by
Maxim Kartavenkov
Answer
22 Mar 2013
license:
CPOL
You should know COM interface for that filter which if used for configuring it via property pages. If filter have typelibrary embedded you can easy see the controlling interface (for example in OLE COOM Object viewer tool by choosing load typelibrary in menu), if filter does not expose...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
Re: Save property page settings
by
Maxim Kartavenkov
Forum Message
21 Mar 2013
Sure it not will be called bcs you have not saved anything - what you are want to load in that case?
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Communication between C++ and Delphi
by
Maxim Kartavenkov
Answer
21 Mar 2013
license:
CPOL
Shared memory used mostly for interprocess comunications.But for you comunicate in same process.There are a lot of ways for such comunications that implemented much easy. (NOTE: interprocess mechanisms are also works within single process)You can make call back function and pass the...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Threading
Delphi
Message
Re: Save property page settings
by
Maxim Kartavenkov
Forum Message
20 Mar 2013
My classes already have embedded ability for that. You should read article proper - there is even topic for that. Maxim.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
How to get the Average Time Per Frame?
by
Maxim Kartavenkov
Answer
15 Mar 2013
license:
CPOL
You should get connected media type of your renderer and get information from VIDEOINFOHEADER structure.double GetFPS(IBaseFilter * _filter){ double _fps = 0; if (_filter) // Check if the filter passed { IEnumPins * _enum; // Query Enum pins if...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
directshow
VC++
Re: while (true) MyVote++;
by
Maxim Kartavenkov
Forum Message
14 Mar 2013
Your file played fine, and seems you not testing nor in my that I told you to do application nor in winamp. But it may not played for you as some applications check for data size and I didn't specify
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: while (true) MyVote++;
by
Maxim Kartavenkov
Forum Message
13 Mar 2013
Can you upload the wav file you have produced so I can check if that file correct or not?
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: while (true) MyVote++;
by
Maxim Kartavenkov
Forum Message
13 Mar 2013
You probably have any bug filter which performs output data with PCM subtype but no PCM stream which cause of writing wrong data into a file.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: while (true) MyVote++;
by
Maxim Kartavenkov
Forum Message
13 Mar 2013
Does it not play in winamp or wavplay example?
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: while (true) MyVote++;
by
Maxim Kartavenkov
Forum Message
12 Mar 2013
WavExtract does not check for 16 bit 24 bit or 32 bit audio. To check your type see CheckMediaType method of writer filter. Maxim.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Please Advice
by
Maxim Kartavenkov
Forum Message
10 Mar 2013
You can build you own multiplexor in directshow for that purpose in DirectShow.
General Discussions
»
Article "Writing Directshow Demultiplexors In C#. Part 1 - Windows Media Splitter Example."
Re: how to mix audio and video streams from seperate device and pass them to samplegrabber
by
Maxim Kartavenkov
Forum Message
27 Feb 2013
You can write output WMV manualy with WMF SDK and without WM ASF writer filter or makes dynamic reconnection or makes 2 filters to connect graphs or use GMF bridge.
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: Trouble adding SourceFilterForMoniker
by
Maxim Kartavenkov
Forum Message
25 Feb 2013
Yep, strange 1.0.0.6 the latest one. Use the sources to build all things, I'll modify content later.
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
Re: Trouble adding SourceFilterForMoniker
by
Maxim Kartavenkov
Forum Message
25 Feb 2013
Latest baseclasses here[
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
Re: texture filtering
by
Maxim Kartavenkov
Forum Message
22 Feb 2013
Use IDirect3D9->CheckDeviceFormat with D3DUSAGE_QUERY_FILTER to check if filtering is supported by your GPU. In additionaly you can read abt field D3DCAPS9.StretchRect
General Discussions
»
Article "Vmr9 Allocator Presenter In C# With Direct3d Video Rendering"
Re: Sample of original video and transcoded video
by
Maxim Kartavenkov
Forum Message
19 Feb 2013
Article described how to build H264 Encoder directshow filter in C# and how to use NVIDIA Encoder API in .NET. It does not have task of transcoding something or comparing encoding quality or advertisi
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
Re: Trouble adding SourceFilterForMoniker
by
Maxim Kartavenkov
Forum Message
19 Feb 2013
Try to rebuild filter with latest version of BaseClasses as I didn't update sources and binaries here once I did changes in there. Filter should work without problems up to 1080p - try to use differen
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
Re: reverse playback
by
Maxim Kartavenkov
Forum Message
19 Feb 2013
I didn't use such things for playback. I did seeking with preview but not playback. As example you can read video from AVI via API by frames if it uncompressed without any problems in reverse.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: reverse playback
by
Maxim Kartavenkov
Forum Message
18 Feb 2013
Reverse playback not mostly available in particular way. But that is possible with making your own splitter/source and with uncompressed data. In particular way it can be determined via IMediaSeeking.
General Discussions
»
Article "Pure .Net Directshow Filters In C#"
Re: Swapping Screen capture with a writeablebitmap
by
Maxim Kartavenkov
Forum Message
13 Feb 2013
It works same way but from .NET point. You have media sample: IMediaSampleImpl and can get it buffer by calling GetPointer method. Now you can write data to that pointer di
General Discussions
»
Article "Directshow Virtual Video Capture Source Filter In C#"
Re: Trouble adding SourceFilterForMoniker
by
Maxim Kartavenkov
Forum Message
13 Feb 2013
DirectShow interfaces marshaled in different ways in DirectShowLib nd in my classes. You can use my classes instead or create object and wrap it into real COM proxy with RCW. 1. Create object with .
General Discussions
»
Article "H.264 Cuda Encoder Directshow Filter In C#"
USB Programming in C++
by
Maxim Kartavenkov
Answer
12 Feb 2013
license:
CPOL
1. you should specify function fully as long you are loading them directly GetProcAddress(hSetUpApi, "SetupDiGetClassDevsW"); for unicode as function "SetupDiGetClassDevs" does not exists in setup api dll. Along with it you should passing unicode structure declaration into functions (with "W" at...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Missing WM_INITDIALOG for dialog window in DLL
by
Maxim Kartavenkov
Answer
12 Feb 2013
license:
CPOL
Hello,I think you should check if dialog resource is valid and exists with ID you specify, if exists and loads properly problem could be with dialog styles. Regards,Maxim.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Write Text on DirectShow Preview Window
by
Maxim Kartavenkov
Answer
12 Feb 2013
license:
CPOL
Additionally, to all answers:1. In my articles there is an example to drawing text over the video, yes it is in C# but in old DirectX SDK you can find similar examples in C++.2. Another way you can capture frames with Sample Grabber and draw text this way.3. Easy way is to use VMR...
General Programming
»
Uncategorised Quick Answers
»
General
VC6
VC7
VC8.0
C++
C++/CLI
C++
Page 1 of 5
1
2
3
4
5
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid