9,868,710 members (36,068 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*
33 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 1
Page Size:
10
·
25
·
50
Author filtered by: J.Surjith Kumar
[x]
How to render the drawings in the playing video dynamically using directshow?
by
J.Surjith Kumar
Question
13 May 2013
license:
CPOL
I am creating the video player in that i need to render the drawings (Ex: line, circle, rectangle etc.,) dynamically. So i am using GDI+ to draw the shapes and to render the drawings IVMRMixerBitmap9::SetAlphaBitmap(&VMR9AlphaBitmap) function is used to render the drawings in the vmr9 renderer....
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
directshow
VC++
How to display the video in full screen mode using DirectShow!?
by
J.Surjith Kumar
Question
2 May 2013
license:
CPOL
I am creating the video player,in that i need to play the video in full screen mode. I know there is an interface called IVideoWindow which is consisting of put_FullScreenMode() method which is used to display the video in full screen. This is coming under windowed mode. But i am using...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
How to play the video backward using directshow!?
by
J.Surjith Kumar
Question
25 Apr 2013
license:
CPOL
I am creating the video player which is having the basic controls and i want to add the reverse play control. IVideoFrameStep interface is containing the method for step forward, i couldn't find any interface for step backward. So for that am using IMediaSeeking which is containing...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
How to trim the video using Directshow!?
by
J.Surjith Kumar
Question
9 Apr 2013
license:
CPOL
I am creating the video player with most of the common controls and additionally i want to add the trimming options by getting the start time and end time from the user. According to that the video has to cut from the original file and save the trimmed video in the new output file. I did the...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
How to change the filter property dynamically without opening the property dialog box?
by
J.Surjith Kumar
Question
26 Mar 2013
license:
CPOL
Am creating the video player application using directshow and i need to make some changes in the filter property through my application. I know how to display the property page from my application. Using this link...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
How to set the screen capture region using DirectShow?
by
J.Surjith Kumar
Question
21 Mar 2013
license:
CPOL
Am Creating the video player using Directshow which will display the Desktop screen as the video (using UScreenCapture filter). I can change the capture region through the properties of the UScreenCapture filter before execution. I want to change the position of the desktop capture region...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C#
MFC
directshow
VC++
How to get the Average Time Per Frame?
by
J.Surjith Kumar
Question
15 Mar 2013
license:
CPOL
I am trying to get the Average time per frame of the video using DirectShow in vc++.And am using the IBasicVideo interface to get that value,it is having the get_AvgTimePerFrame function. But am not getting any value from it.hr = pGraph->QueryInterface(IID_IBasicVideo,(void...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
directshow
VC++
Problem in displaying the image over the playing video.
by
J.Surjith Kumar
Question
28 Feb 2013
license:
CPOL
Am creating the video player using directshow in VC++. I created the video player successfully with some of the common controls. Now am trying to display the image over the playing video. Here is the Code:void CVMR9Dlg::OnBnClickedDrawimage(){ ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
directshow
VC++
Problem in adding LAV Splitter Source Filter in the graph using directshow.
by
J.Surjith Kumar
Answer
6 Feb 2013
license:
CPOL
I have solved this myself by using the below code rather than using AddSourceFilter function.hr = CoCreateInstance(CLSID_LAV_SPLITTER_SOURCE, NULL, CLSCTX_INPROC_SERVER, IID_IBaseFilter, (void **)&pLAVSplitterSource); if (FAILED(hr)) { ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
VC++
Problem in adding LAV Splitter Source Filter in the graph using directshow.
by
J.Surjith Kumar
Question
5 Feb 2013
license:
CPOL
I have a problem in adding "LAV Splitter Source" filter in the graph using directshow. If i give mp4 format file as a source file the "LAV Splitter Source" filter was created with 2 output pin(video and audio).ex: IGraphBuilder::AddSourceFilter(L"C:\\video.mp4",L"LAV Splitter...
General Programming
»
Uncategorised Quick Answers
»
General
C++
MFC
VC++
I am not able to find errors in this code, logic is true but giving syntax error. Plz help me to find errors.
by
J.Surjith Kumar
Answer
28 Jan 2013
license:
CPOL
Put the return type of rec as void. And the parameters of the calling function and called function should be same.Error:calling function: rec(a,b,s,T,s[i][0]);called function: rec(int a,int b,char s[][],char T[],char x)Checkout the parameters were not same. And the return type was not...
General Programming
»
Uncategorised Quick Answers
»
General
C
How to play the video from the dll in c#?
by
J.Surjith Kumar
Answer
27 Jan 2013
license:
CPOL
Rather than expoting and importing the functions from the dll using the marshal concept it works as i expected:(The video was played in the picture box using the below code)This link will be useful to know how it works:How to Marshal a C++ Class[^]namespace CSharpManaged{ public...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
MFC
VC++
How to play the video from the dll in c#?
by
J.Surjith Kumar
Question
27 Jan 2013
license:
CPOL
(The Question was updated)Am trying to play the video in c#.I have the dll which is containing the function to play the video. The only thing i need is that the video has to play in the picture box when i call the Renderfile function by giving the video path name in c#. Here is the c++...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
MFC
VC++
Re: converting IntPtr to HWND
by
J.Surjith Kumar
Forum Message
27 Jan 2013
What i have to correct in that code to play the video successfully.
General Discussions
»
How To Marshal A C++ Class
Re: converting IntPtr to HWND
by
J.Surjith Kumar
Forum Message
27 Jan 2013
That dll having this c++ function: #include "RenderVideoFile.h" void RenderFile(WCHAR *strFilename,HWND hwnd) { IGraphBuilder *pGraph = NULL; IMediaControl *pControl = N
General Discussions
»
How To Marshal A C++ Class
Re: converting IntPtr to HWND
by
J.Surjith Kumar
Forum Message
27 Jan 2013
Ya i passed the picture box handle as the parameter. But the video was not played in that picture box control.
General Discussions
»
How To Marshal A C++ Class
Re: converting IntPtr to HWND
by
J.Surjith Kumar
Forum Message
27 Jan 2013
i am trying to play the video in the window which is based on c# application. I have the dll which is consists of many functions to play the video, for that the IntPtr was passed as the parameter to g
General Discussions
»
How To Marshal A C++ Class
converting IntPtr to HWND
by
J.Surjith Kumar
Forum Message
25 Jan 2013
By taking this example how to convert the IntPtr which is containing the window handle of picture box in c# to HWND in c++.
General Discussions
»
How To Marshal A C++ Class
How to use c++ classes and functions in c#?
by
J.Surjith Kumar
Question
23 Jan 2013
license:
CPOL
Question 1:I want to use the class and functions of c++ to C# code so i exported the class and created dll successfully using c++. How to import the class from dll to c#.Here is my c++ code(Exporting the class): //MomentOfInertia.h#ifdef COMPILE_MYLIBRARY #define DllExport ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
VC++
joke
by
J.Surjith Kumar
Forum Message
18 Jan 2013
joke
General Discussions
»
The Lounge
How to play the same video in two windows (Parent and child dialog box).
by
J.Surjith Kumar
Question
8 Jan 2013
license:
CPOL
Am Playing the video by creating the filter graph using directshow in MFC. If i press the control which is in the parent dialog box i need to play the video in parent dialog box as well as child dialog box. The video was played in parent dialog box, to play as well as in child window what i have...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
How to display the bitmap image according to the button pressed?
by
J.Surjith Kumar
Answer
7 Jan 2013
license:
CPOL
The solution isvoid CsampleStudDlg::OnBnClickedAdd(){UpdateData();Bmp.LoadBitmap(IDB_ADD);m_Picture.SetBitmap(Bmp);Bmp.DeleteObject();UpdateData(FALSE);}Thanks to CPallini.
General Programming
»
Uncategorised Quick Answers
»
General
VC++
How to display the bitmap image according to the button pressed?
by
J.Surjith Kumar
Question
7 Jan 2013
license:
CPOL
Im trying to display the bitmap image in the dialog box. First time when i press the button it displays the image. Next time when i press, it shows the build assertion failed error. This is the add button click function.void...
General Programming
»
Uncategorised Quick Answers
»
General
VC++
How to play the video without blocking the events using directshow
by
J.Surjith Kumar
Answer
1 Jan 2013
license:
CPOL
The code which i given above (Responding to event) is works well now.
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
MFC
How to play the video without blocking the events using directshow
by
J.Surjith Kumar
Question
30 Dec 2012
license:
CPOL
Am trying to play the video with some of the basic controls included like play, pause and stop. If i use this code if (SUCCEEDED(hr)) { // Run the graph. hr = pControl->Run(); if (SUCCEEDED(hr)) { // Wait for completion. ...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
C#
MFC
How to play the video within the application in MFC.
by
J.Surjith Kumar
Answer
28 Dec 2012
license:
CPOL
Here is the solution to play the video within the application using windowless mode in MFC.// PlaybackDlg.h : header file//#pragma comment(lib,"Strmiids.lib")#pragma once#include // CPlaybackDlg dialogclass CPlaybackDlg : public CDialog{//...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
How to play the video within the application in MFC.
by
J.Surjith Kumar
Question
27 Dec 2012
license:
CPOL
Im trying to play the video within the application using windowless mode but i couldn't get the output. But i played the video successfully on windowed mode.Kindly anyone help me for this.Here is my windowless mode code.// PlaybackDlg.h :Header file#pragma...
General Programming
»
Uncategorised Quick Answers
»
General
C++
C
MFC
How to call OnDraw() function from serialize() function.
by
J.Surjith Kumar
Question
10 Dec 2012
license:
CPOL
Dear Friends, Im implementing serialization in the document/view architecture. In that im drawing multiple lines using mouse click event.void CserializationTestDoc::Serialize(CArchive& ar){ CserializationTestView s; if (ar.IsStoring()) { // TODO: add...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
How to draw multiple lines dynamically using OnDraw function.
by
J.Surjith Kumar
Question
9 Dec 2012
license:
CPOL
Im Creating SDI application to draw the lines when the user press and release the mouse button. I given moveto and lineto within the OnDraw function to make the lines present even when the window is resized. I used Invalidate() in the OnLButtonUp function it invalidates the entire client area....
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
How to get the position ,width and length of the dialog box.
by
J.Surjith Kumar
Question
5 Dec 2012
license:
CPOL
I have to get the position,width and length of the dialog box when im moving that dialog box and that should be displayed in that dialog itself.I used OnMove and OnSize but it doesn't work in the dialog based applications. The given below code is what i know to get the coordinates while moving...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
How to create the timer without refreshing the text box
by
J.Surjith Kumar
Question
5 Dec 2012
license:
CPOL
I am using the Timer in my application. I displayed the current system time and currently running application time using the SetTimer(1,999,NULL). I created one text box and start button.When I enter the integer value in the text box (ex: 10) and press the start button, the message box should...
General Programming
»
Uncategorised Quick Answers
»
General
C++
VC++
Draw lines using mouse in the client area that should display in a small box with in that client area in programming windows
by
J.Surjith Kumar
Question
3 Nov 2012
license:
CPOL
I am a fresher and undergone training in programming windows. My boss gave me a task to draw the lines using mouse and that should be display in the small box with in the same screen.Ex:Consider the screen which consists of small rectangular region at the top left. My task is whatever i draw...
General Programming
»
Uncategorised Quick Answers
»
General
C
How to create an object without calling the same class constructor?
by
J.Surjith Kumar
Question
19 Oct 2012
license:
CPOL
I want to create an object that should not call my constructor..#include#includeusing namespace std;class me{public: me() {cout
General Programming
»
Uncategorised Quick Answers
»
General
C++
Page 1 of 1
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid