I wish to create a simple tool to open a video file ( for example an AVI, or wmv file) and allow user to edit the video file. For example the user should be able to mark different portions of video and copy it to new video. So that the new movie file contains the selected parts only. I read that DirectShow editing service allow us to do the job. i have modified the sample code http://msdn.microsoft.com/en-us/library/ms787592(VS.85).aspx and no luck so far. I think i am missing something, since my knowledge in DirectX and grphics is very poor, I cant figure it out. I added the following lines to get the splitable interface IAMTimelineSplittable *pSplittable = NULL; HRESULT hr = pSourceObj->QueryInterface(IID_IAMTimelineSplittable, (void **)&pSplittable); and called the SplitAt function to split time line hr = pSplittable->SplitAt2(5); All thease function return success ( S_OK) and then i render the Timeline to file, it is same as the orginal file. No Splits actually happened. Why? Any idea Thanks Anil
Anilkumar K V
Posts
-
DirectShow Editing -
Visual Source Safe project path of newly added fileHi I am automating some VSS tasks to sync two VSS database. I came across an issue as following. Any way to get the complete path of newly added files to VSS using VSS command line(history command line). I tried to read it from the history, but the history generated by SS contains only added file name and its immediate parent. For Checked in files, it shows the complete path. Thanks Anil
-
SQL Server and VSSCan we connect SQL Server 2005 to VSS directly or indirectly using Visual Studio 2005?
-
Connection TimeoutHi Anybody know how to reset/increase the connection timeout settings for Replication By Default it is 15, I am getting time out error "When connecting to Subscriber" [Since our network is very poor in speed it take more than 15 to connect even with Management Studio to Login/connect to a database from client machine. In case of Login/connect we could reset time in connection properties. For Replication the connection timeout is disabled]
-
Unable to complete login process due to delay in opening server connectionI am getting an error in Replication between SQL Server 2005 and SQL Express when connecting to . "Connecting to Subscriber". The error message is given below. "Unable to complete login process due to delay in opening server connection". Why? Do we need to increase the logintimeout for "Connecting to Subscriber". How can we increase it? Message 2007-10-15 06:37:58.398 Startup Delay: 8503 (msecs) 2007-10-15 06:38:06.898 Connecting to Distributor 'ACR-MANGO' 2007-10-15 06:38:06.976 Initializing 2007-10-15 06:38:06.976 Parameter values obtained from agent profile: -bcpbatchsize 2147473647 -commitbatchsize 100 -commitbatchthreshold 1000 -historyverboselevel 1 -keepalivemessageinterval 300 -logintimeout 15 -maxbcpthreads 1 -maxdeliveredtransactions 0 -pollinginterval 5000 -querytimeout 1800 -skiperrors -transactionsperhistory 100 2007-10-15 06:38:06.991 Connecting to Subscriber 'ACR-ANJILI\SQLEXPRESS' 2007-10-15 06:38:46.133 Agent message code 20084. The process could not connect to Subscriber 'ACR-ANJILI\SQLEXPRESS'. 2007-10-15 06:38:46.148 Category:NULL Source: Microsoft SQL Native Client Number: 08001 Message: Unable to complete login process due to delay in opening server connection 2007-10-15 06:38:46.148 The agent failed with a 'Retry' status. Try to run the agent at a later time.
-
SQL Server ReplicationI am trying Transactional Replication between SQL Server 2005 SE and SQL Server Express installed on a client machine. I am getting "Uninitialized Subscription" status on Replication monitor. The error message is like "The job failed. Unable to determine if the owner (DOMAIN\Joseph.Thomas) of job ACR-MANGO-October10-OCT-10 Pub-ACR-ANJILI\SQLEXPRESS-35 has server access (reason: Could not obtain information about Windows NT group/user 'DOMAIN\Joseph.Thomas', error code 0x5. [SQLSTATE 42000] (Error 15404) The statement has been terminated. [SQLSTATE 01000] (Error 3621))." The steps i followed are 1. Create a publication in SQL Server 2005 SE. I could successfully create Publications on Server. The security setting i gave are SnapShot Agent Process: Run Under SQL Server Agent Service Account Connect to publisher: By Impersonating the process account 2. Create subscription on SQL Server Express Distribution Agent Security:Run under SQL Server Agent Service account Connect To Distributor:By Impersonating the process account Connect To the Subscriber:By Impersonating the process account Sync Schedule Agent Location: Distributor Run Continuously 3. Add a new login for the SQL Server Express user in SQL Server 2005 SE. Give role as sysadmin Please advise Thanks
-
Remote Connection MSSQLIts enabled
-
Remote Connection MSSQLI could login from the local machine. When when other user try to login it show error. It seems that Windows Authentication issues are there. What all things to do in the SQL Ser. Standard Edition ( XP ) to enable remote login ( like user permission, adding new login , etc etc )
-
Remote Connection MSSQLI too had same issue like this I installed SQL Server SE, on an XP machine. How other users of same domain can access SQL server using SQL Server Express Edn. I did create new logins for user, windows authentication. But whenever user try to connect it show message like An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error locating Server/Instance Specified). How to get rid of this issue. Do i need to set/change in WInodws user accounts?
-
MS CertificationHi I have around 6 yrs experience in C++ & Win32. ( Zero knowledge in .NET till now :)) I am looking for some Microsoft Certifications in .NET. Which kind of certification suit for me and which all papers should i opt for. Please help me Thanks Anil
-
Folder OptionsAccidentally i have added an action for File Folder. But i can't remove it, remove and edit are shown as disabled. How I removed that action. the procedure i did was like Tools->Folder Option->File Types -> select File Folder, Press Advanced and added new action
-
Folder OptionHi Accidentally i have added an action for File Folder. But i can't remove it, remove and edit are shown as disabled. How I removed that action. the procedure i did was like Tools->Folder Option->File Types -> select File Folder, Press Advanced and added new action Thanks Anil
-
Source Control VS2005Thanks very much:)
-
Source Control VS2005I am using VS2005 for VC++ application, and my solution contains many projects. I added project to source control using VS2005 "Add projects to source control" menu. It added all *.h & cpp files. But some other files having named "*.vcproj.vspscc" also got added to source control. Why? what is use of this file? Also what all files from VS2005 project & solution to be added to VSS? I mean which files excluded from Adding to VSS, for a smooth working of group of people in a solution/project Thanks Anil
-
SDI to MDIHi Can anyone answer What are the steps/procedure to convert and SDI application to MDI Thanks
-
SendMessageI did try user defined message using SendMessage() before the message loop, soon after a call to CreateWindow() API. The message was send from main thread only. The windowproc received the User defined messages. This means that the message loop is not needed for SendMessage to deliver messages to WindowProc.
-
SendMessageMessageLoop ( GetMessage & DispatchMessage ) not needed in some cases. So it means that SendMessage() can call WindowProc directly. For a test case call UpdateWindow() before MessageLoop will invoke WindowProc directly. WindowProc will be called with WM_PAINT message. Then only the control comes to MessageLoop.
-
SendMessageIn "Programming Windows" by Charles Petzold "Programs generally don't call window procedures directly. The window procedure is almost always called from Windows itself. A program can indirectly call its own window procedure by calling a function named SendMessage" So how the SendMessage and PostMessage invoke window proc's? What is internal working of both? Thanks Anil
-
SendMessageHi The SendMessage function is used to send a message directly to a window procedure. Does this means that for messages received by SendMessage, the message loop( GetMessage & DispatchMessage) is not needed to process the message and call the windowproc. What happens internally on SendMessage? Welcome all suggestions Thanks Anil
-
ListControlThanks Prasad