Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: J.Surjith Kumar [x]
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....
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...
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...
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...
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...
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...
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...
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(){ ...
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)) { ...
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...
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...
C
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...
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++...
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.
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
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.
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
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++.
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 ...
joke by J.Surjith Kumar
Forum Message 18 Jan 2013  
joke
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...
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.
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...
Answer 1 Jan 2013   license: CPOL
The code which i given above (Responding to event) is works well now.
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. ...
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{//...
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...
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...
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....
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...
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...
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...
C
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
C++

Page 1 of 1


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