Code Monkey home page Code Monkey logo

dspack's Introduction

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</head>
	<body>
		<H1>
			DSPack 2.3.3&nbsp;(Sep 2004).</H1>
		<P>DSPack is a set of Components and class to write Multimedia Applications using 
			MS Direct Show&nbsp;and DirectX technologies. DSPack&nbsp;is designed to work 
			with DirectX&nbsp;9 on Win9X, ME, 2000, and Windows XP operating 
			systems.&nbsp;Now&nbsp;VMR (Video Mixing Renderer) is&nbsp;available 
			on&nbsp;all Windows Operating Systems. DSPack 2 is designed to work with Delphi 
			5,6,7 and CPP Builder 6.</P>
		<P><IMG alt="" src="Diagram.png"></P>
		<H2>What can I do with DSPack ?</H2>
		<P>I've writen DSPack with the idea to provide a non limitative set of components 
			and class to use DirectShow easier. With DSpack you can create all that you 
			want: DVD, capture, compression, filters, TV, webcam, DV ...</P>
		<H2>How to install ?</H2>
		<H3>All Versions</H3>
		<P>1 - Install DirectX9 if you plan to use VMR or Direct3D : <A href="http://www.microsoft.com/windows/directx/downloads/drx90.asp">
				http://www.microsoft.com/windows/directx/downloads/drx90.asp</A></P>
		<P>2 - Install Direct3D libraries if you plan to use Direct3D : <A href="http://clootie.narod.ru/delphi/download_dx90.html">
				http://clootie.narod.ru/delphi/download_dx90.html</A></P>
		<P>3 - Install Windows Media if you plan to use ASF compression or streaming: <A href="http://www.progdigy.com/download/wmfdist.exe">
				http://www.progdigy.com/download/wmfdist.exe</A></P>
		<H3>Delphi 5,6 &amp; 7</H3>
		<P>1 - Add this paths to your search directory:
			<br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;(DSPackDir)\src\Directx9
			<br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - (DSPackDir)\src\DSPack
		</P>
		<P>
			2 -&nbsp;Compile DirectX 9 Package (DirectX9_Dx.dpk)&nbsp;from the "packages" 
			directtory.</P>
		<P>3 - Compile DSPack Package (DSPack_Dx.dpk) from the "packages" directory.</P>
		<P>4- Install&nbsp;Design Package (DSPackDesign_Dx.dpk) from the "packages" 
			directory.</P>
		<P><STRONG><FONT color="#ff0033">If you have a warning message during the last step on 
					Win9x, probaby the path : "../Delphi.../bin" is not correctly defined in 
					"c:\autoexec.bat", in most case the path is too long. To correct this problem 
					you have to set this path again. Alternatively change the bpl output directory 
					option on each package to "$(DELPHI)\Bin" 
					(Options&gt;Directories/Conditionals&gt;Output directory).</FONT></STRONG></P>
		<H3>CPP Builder 6</H3>
		<P>1 - Download the DirectX9 SDK from MS and update&nbsp;the "$(BCB)\Include" 
			directory. You must also updates the DX SDK with the file provided in the 
			"(DSPackDir)\Include" directory.</P>
		<P>2&nbsp;- Add this paths to your search directory:
			<BR>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;(DSPackDir)\src\Directx9
			<BR>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - (DSPackDir)\src\DSPack
		</P>
		<P>
			2 -&nbsp;Compile DirectX 9 Package (DirectX9_BCB6.dpk)&nbsp;from the "packages" 
			directtory.</P>
		<P>3 - Compile DSPack Package (DSPack_BCB6.dpk) from the "packages" directory.</P>
		<P>4- Install&nbsp;Design Package (DSPackDesign_BCB6.dpk) from the "packages" 
			directory.</P>
		<H2>What does it cost ?</H2>
		<P>Nothing, DSPack is distributed under the MPL 1.1, but I accept money to pay web 
			hosting.</P>
		<P>Henri Gourvest<br>
			<A href="mailto:[email protected]">[email protected]</A></P>
	</body>
</html>

dspack's People

dspack's Issues

Video and audio out of sync

What steps will reproduce the problem?
1. I try to use videocap in demos,and then,Audio playback for 1 minute, but the 
video playback only 30 seconds
2. i use dspack2.3.4 for xe4, the operating system is xp sp3
3. Video playback speed very quickly, with fast forward

Original issue reported on code.google.com by [email protected] on 8 Nov 2013 at 9:59

Access Violation in TSysDevEnum.GetBaseFilter()

Moniker.BindToObject(nil, nil, IID_IBaseFilter, result); crashed because 
Moniker was always nil. Changed to:

  function TSysDevEnum.GetBaseFilter(index: integer): IBaseFilter;
  var
    SysDevEnum  : ICreateDevEnum;
    EnumCat     : IEnumMoniker;
    Moniker     : IMoniker;
    // martin begin
    {$IFDEF FPC}
    Fetched     : ULONG;
    {$ENDIF}
    // martin end
  begin
    result := nil;
   if ((index < CountFilters) and (index >= 0)) then
      begin
        CocreateInstance(CLSID_SystemDeviceEnum, nil, CLSCTX_INPROC, IID_ICreateDevEnum, SysDevEnum);
        SysDevEnum.CreateClassEnumerator(FGUID, EnumCat, 0);
        EnumCat.Skip(index);
        {$IFDEF FPC}
        // martin begin
        EnumCat.Next(1, Moniker, Fetched); // RESULT replaced by MONIKER, OD 27.02.2013
        // martin end
        {$ELSE}
        EnumCat.Next(1, Moniker, nil);     // RESULT replaced by MONIKER, OD 27.02.2013
        {$ENDIF}
        Moniker.BindToObject(nil, nil, IID_IBaseFilter, result);
        EnumCat.Reset;
        SysDevEnum := nil;
        EnumCat    := nil;
        Moniker    := nil;
      end
  end;

Original issue reported on code.google.com by [email protected] on 27 Feb 2013 at 9:10

Can not load filter with merit like: 0x00200000 (MERIT_DO_NOT_USE)

What steps will reproduce the problem?
1. just try load filter with low merit( 0x00200000 (MERIT_DO_NOT_USE) ) like 
ffdshow Audio Processor, ffdshow raw video filter. 
2. DSPack will raise an error while you try to view details of such filter. 


What is the expected output? What do you see instead?
I just can use such filter using GraphStudio, or GraphStudioNext.

What version of the product are you using? On what operating system?
every version of DSPack have this bug.

Please provide any additional information below.

sorry, don't no more.

Original issue reported on code.google.com by [email protected] on 26 Sep 2012 at 12:20

Memory leak in TBCAMSchedule

What steps will reproduce the problem?

destructor TBCAMSchedule.Destroy;
  [...]
  FreeAndNil(FSerialize);
  FreeAndNil(FHead);    //<-- add this
  FreeAndNil(FZ);       //<-- add this
  inherited Destroy;
end;

What is the expected output? What do you see instead?
FastMM4 reports a memory leak when closing the application.

What version of the product are you using? On what operating system?
r3  Jan 25, 2010



Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 5:57

GetErrorString produces garbage when faces an unknown error code

What steps will reproduce the problem?
1. Use GetErrorString to have detailed error message
2. Send some unknown parameter to the function
3. result will be some boxes and garbage characters

What is the expected output? What do you see instead?
The output should be the error message, or, when there is no predefined 
message, return "unknown error" instead of garbage.

What version of the product are you using? On what operating system?
I am using WinXP, Delphi XE2

Please provide any additional information below.
Function could be like this:
  function GetErrorString(hr: HRESULT): String;
  var
    buffer: array[0..254] of Char;
    Res: Cardinal;
  begin
    Res := AMGetErrorText(hr, @buffer[0], 255);
    if Res = 0 Then
    Begin
      Result := 'Unknown error'
    End
    Else
      result := buffer;
  end;

Note that there is error checking.
unit DXSUtil;
     *  DSPack 2.3.3                                                     *

Original issue reported on code.google.com by [email protected] on 28 Feb 2012 at 11:56

Video Capture device driver settings form

Hi.

I want to put a TButton to open the device settings of a video capture device 
(webcam,...) to change sensibility, exposition, saturation,... parameters. This 
settings form ins't the same ... It's depending of the driver and the device in 
use.

Here I put a screen-capture of what i'm looking for...

How I can to that?

Thanks for the help!

Regards.

Original issue reported on code.google.com by [email protected] on 20 Jan 2014 at 8:01

Attachments:

Unicode issues in D2009+

What steps will reproduce the problem?
BaseClass.pas:
GetModuleFileName(hinstance, Filename, sizeof(Filename));
should be
GetModuleFileName(hinstance, Filename, Length(Filename));

Replace all three occurrences.

What version of the product are you using? On what operating system?
r3  Jan 25, 2010


Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 5:50

DVD Demo will not play DVD

What steps will reproduce the problem?
1. Open {DsPack\DSVideoWinDowEx\DVDPlay}
2. Compile the Source and run Demo outside IDE
3. Attempt to play DVD.  

What is the expected output? What do you see instead?
I expect the DVD to play.  An Err message that says "The video decoder doesn't 
produce Line 21 (closed captioning) data.  (Note:  Windows Media Player and VCL 
Player plays DVD just fine)

What version of the product are you using? On what operating system?
DSPACK rev 10;  K-Lite Codec version (Win32 9.9.5 / x64 9.9.9) on Win7 64 Home; 
Delphi XE3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 31 Jul 2013 at 3:39

Compile Error - PDirectDrawSurface - Line 335 DirectDraw.pas

In Delphi 2010, the IfDef declaration of PDirectDrawSurface doesn't work.  I 
received a compile error for having interfaces in variant records regardless.  
Changing all variant references to PDirectDrawSurface to Pointer allows the 
compiler to continue.  

Original issue reported on code.google.com by [email protected] on 5 Oct 2011 at 5:58

Delphi XE4 compatibility

I've compiled successfully on XE4. My Package:
http://www.herrotto.de/delphi/xe4/dspack_2.3.4-r10.zip

Please integrate this into the official repository.

Regards,
Tim

Original issue reported on code.google.com by [email protected] on 15 Jun 2013 at 10:13

Resource Leak in TBCSource

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
2.3.4

Please provide any additional information below.

There is a resource leak in the source. FStateLock variable in TBCSource
was not destroyed in the Destroy function.


Original issue reported on code.google.com by [email protected] on 24 Mar 2010 at 1:33

Compatibility with Delphi XE3

A small change should be performed in unit DSPack.pas to allow compilation in 
Delphi XE3.

Attached is the modified unit.

If possible, create groups of projects and packages for this version of Delphi

Original issue reported on code.google.com by [email protected] on 9 Feb 2013 at 5:42

Attachments:

Design time setting of BaseFilter property raises AV

What steps will reproduce the problem?
1. Put a new filter component on a form
2. Double click to set BaseFilter property
3. Delphi raises AV at addr 16DDBA13 in module DSPackDesign_D2010.bpl, read of 
addr 0000003C. (I use d2010 package since there is no DSPackDesign_DXE or 
DSPackDesign_DXE2)

What is the expected output? What do you see instead?
I would expect a window to pop up, asking me to choose directshow filters.

What version of the product are you using? On what operating system?
I am using Delphi XE2, tested both under XP and Win7. I

Please provide any additional information below.
Here is the stack dump:

[16DDBA13]{DSPackDesign_D2010.bpl} DSEditors.TBaseFilterPropertyClass.Edit 
(Line 111, "DSEditors.pas" + 3) + $12
[2089890A]{coreide160.bpl} PropInsp.TPropertyInspector.PropListEditDblClick 
(Line 871, "PropInsp.pas" + 18) + $E
[2113D791]{vclide160.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 620, 
"IDEInspListBox.pas" + 2) + $A
[2113F016]{vclide160.bpl} IDEInspListBox.TInspListBox.EditDblClick (Line 1192, 
"IDEInspListBox.pas" + 0) + $2
[50332D8D]{vcl160.bpl  } Vcl.Controls.TControl.DblClick (Line 7325, 
"Vcl.Controls.pas" + 1) + $14
[50332F08]{vcl160.bpl  } Vcl.Controls.TControl.WMLButtonDblClk (Line 7368, 
"Vcl.Controls.pas" + 4) + $C
[50332814]{vcl160.bpl  } Vcl.Controls.TControl.WndProc (Line 7204, 
"Vcl.Controls.pas" + 91) + $6
[503369F8]{vcl160.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9753, 
"Vcl.Controls.pas" + 9) + $25
[50337163]{vcl160.bpl  } Vcl.Controls.TWinControl.WndProc (Line 9976, 
"Vcl.Controls.pas" + 152) + $6
[2113CEF3]{vclide160.bpl} IDEInspListBox.TPropInspEdit.WndProc (Line 361, 
"IDEInspListBox.pas" + 7) + $4
[503367B8]{vcl160.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9689, 
"Vcl.Controls.pas" + 3) + $6
[500B5FCC]{rtl160.bpl  } System.Classes.MakeObjectInstance (Line 13921, 
"System.Classes.pas" + 0) + $0
[504524EF]{vcl160.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10164, 
"Vcl.Forms.pas" + 23) + $1
[50452532]{vcl160.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10194, 
"Vcl.Forms.pas" + 1) + $4
[50452865]{vcl160.bpl  } Vcl.Forms.TApplication.Run (Line 10331, 
"Vcl.Forms.pas" + 26) + $3

Original issue reported on code.google.com by [email protected] on 10 Dec 2011 at 9:48

Delphi XE2 compatibility

Delphi XE2 was unable to compile DSEditors.pas due to lack of version check. I 
changed the version check lines as following. Now it compiles.


uses
{$IFDEF VER140} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER150} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER170} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER180} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER200} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER210} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER220} DesignIntf, DesignEditors, {$ELSE}
{$IFDEF VER230} DesignIntf, DesignEditors, {$ELSE}
 DsgnIntf, {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF} {$ENDIF}  {$ENDIF}
 Forms, Controls, DXSUtil, DSPack;

Original issue reported on code.google.com by [email protected] on 13 Dec 2011 at 8:54

Videoshot issue

What steps will reproduce the problem?
use SampleGrabber.GetBitmap(Bitmap) can not get bitmap

Original issue reported on code.google.com by [email protected] on 15 Jan 2013 at 11:59

Compile Error - D3DXGetErrorString - Line 4909 in D3DX8.pas

Line 4909 of D3DX8 will cause an error at compile time.  
[DCC Error] D3DX8.pas(4909): E2250 There is no overloaded version of 
'D3DXGetErrorString' that can be called with these arguments

The call is to 'D3DXGetErrorString(hr, PAnsiChar(@Buffer), 255);'
The error was corrected by switching the method call to 
'D3DXGetErrorStringA(hr, PAnsiChar(@Buffer), 255);'


Original issue reported on code.google.com by [email protected] on 5 Oct 2011 at 5:21

Unicode-Issue with GetFourCC() and FCC()

What steps will reproduce the problem?
1. Using these functions in Delphi Versions > D2010 leads to wrong results.

What is the expected output? What do you see instead?

GetFourCC() returned 0-Bytes between the characters, because String consists of 
Unicode chars instead of ANSI chars now.

What version of the product are you using?
SVN r10.

The fix is easy.

Original issue reported on code.google.com by [email protected] on 8 Oct 2013 at 11:25

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.