Skip to content

Commit

Permalink
Added extract frame source and dll
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmu committed Jun 25, 2012
1 parent c6f437d commit 3b86a5d
Show file tree
Hide file tree
Showing 34 changed files with 4,392 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DeRez/DeRez.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\..\Downloads\extractframe_source\FrameGrabber.csproj">
<ProjectReference Include="..\extractframe_source\FrameGrabber.csproj">
<Project>{751C741A-32DA-4A8B-97FB-7AFA290A6E91}</Project>
<Name>FrameGrabber</Name>
</ProjectReference>
Expand Down
7 changes: 6 additions & 1 deletion DeRez/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion DeRez/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,16 @@ private void SrcPicBox_Paint(object sender, PaintEventArgs e) {
}
}

/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button2_Click(object sender, EventArgs e) {
this.openFileDialog1.ShowDialog();
string path = openFileDialog1.FileName;
if ( path != null ) {
if (path.EndsWith(".avi")) {
if ( path.EndsWith(".avi") || path.EndsWith(".mp4") ) {
_image = FrameGrabber.GetFrameFromVideo(path, .5d);
_isAnimation = true;
_animationPath = path;
Expand Down
72 changes: 72 additions & 0 deletions extractframe_source/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/* **************************************************************
*
* This code is provided as is, without any warranty.
* The entire risk as to the quality, the performance of the code
* for any particular purpose lies with the party using the code.
*
* You may edit it and use into your programs, but if you do so,
* remember to put this text into the credits window and/or into
* documentation (if applicable)
* "This program uses code developed by Jocker.
* http://www.jockersoft.com"
*
****************************************************************/

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("JockerSoft FrameGrabber")]
[assembly: AssemblyDescription("Extracts frame from video files")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("JockerSoft")]
[assembly: AssemblyProduct("FrameGrabber")]
[assembly: AssemblyCopyright("(c) 2006-2007 JockerSoft")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.0.0.1")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyFileVersionAttribute("1.0.0.1")]
[assembly: ComVisibleAttribute(false)]
72 changes: 72 additions & 0 deletions extractframe_source/Backup/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/* **************************************************************
*
* This code is provided as is, without any warranty.
* The entire risk as to the quality, the performance of the code
* for any particular purpose lies with the party using the code.
*
* You may edit it and use into your programs, but if you do so,
* remember to put this text into the credits window and/or into
* documentation (if applicable)
* "This program uses code developed by Jocker.
* http://www.jockersoft.com"
*
****************************************************************/

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("JockerSoft FrameGrabber")]
[assembly: AssemblyDescription("Extracts frame from video files")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("JockerSoft")]
[assembly: AssemblyProduct("FrameGrabber")]
[assembly: AssemblyCopyright("(c) 2006-2007 JockerSoft")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.0.0.1")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyFileVersionAttribute("1.0.0.1")]
[assembly: ComVisibleAttribute(false)]
Loading

0 comments on commit 3b86a5d

Please sign in to comment.