home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 October / JOY141_CD2.iso / Data / Sharewares / Graphisme / zplay280.exe / default.df next >
Text File  |  2002-06-17  |  3KB  |  93 lines

  1. // A ".DF" file is a Definition file you can use with any media
  2. // Zoom Player tried to open (except play lists).
  3. //
  4. // It can be used to associate certain zoom player values to a
  5. // specific file as it loads.  The file must have the exact same
  6. // name as the file it is associated to, but with the ".DF"
  7. // Extension.
  8. //
  9. //
  10. // The following functions can be used:
  11. //
  12. // RunProgram(CommandLine)
  13. //   - You can use this function to run an external program.
  14. //     The "CommandLine" contains the name of the executable and
  15. //     the parameters that should be passed to it (see example below).
  16. //     Note: It's best to use this function as the first in the file.
  17. //
  18. // Delay(Seconds)
  19. //   - Pauses processing for a specified number of seconds.  Can be
  20. //     useful in combination with "RunProgram" if you want to give
  21. //     the running program time to process something.
  22. //
  23. // BringToFront
  24. //   - Brings the Zoom Player window to the front (in case some other
  25. //     application executed using "RunProgram" stole focus.
  26. //
  27. // SetBlanking(Top,Bottom,Left,Right)
  28. //   - This function sets the video-blanking positions.
  29. //
  30. // SetCustomAR(WidthRatio,HeightRatio)
  31. //   - This function sets the Custom Aspect Ratio values, useful
  32. //     when used in combination of "SetAspectRatio" and the Custom
  33. //     Aspect Ratio mode.
  34. //
  35. // SetPlacement(XOffset,YOffset,Width,Height)
  36. //   - This function sets the position of the video in zoomed mode.
  37. //
  38. // SetAspectRatio(ARMode)
  39. //   - Set a specific aspect ratio mode.  The ARMode value is a
  40. //     number representing the Aspect Ratio mode.  A value of
  41. //     "0" means "Fit to Window" (the first listed aspect ratio)
  42. //     The numbers go up for every mode.
  43. //
  44. // SetOverlayColorControls(Brightness,Contrast,Gamma,Hue,Saturation)
  45. //   - Set the Overlay Color settings.
  46. //
  47. // SetRegistry(BaseKey,RegPath,KeyType,SubKey,Value)
  48. //   - Set a registry value.  Can be useful for setting certain
  49. //     codec values (like say brightness for the DivX codec)
  50. //     right before the video loads.
  51. //
  52. //     "BaseKey" Can have 5 values:
  53. //               R = HKEY_CLASSES_ROOT
  54. //               U = HKEY_CURRENT_USER
  55. //               M = HKEY_LOCAL_MACHINE
  56. //               S = HKEY_USERS
  57. //               C = HKEY_CURRENT_CONFIG
  58. //
  59. //     "RegPath" is a path, such as "Software\VirtuaMedia\ZoomPlayer"
  60. //
  61. //     "KeyType" is the type of key, values can be:
  62. //               S = String
  63. //               D = DWord
  64. //
  65. //     "SubKey"  is the name of a key within the path
  66. //
  67. //     "Value"   is the data inserted into the key, the data must match
  68. //               the type specified in the "KeyType" value.
  69. //
  70. //
  71. //
  72. // For example...
  73. //
  74. // * Run some program with a 3 second delay.
  75. // RunProgram("C:\Program Files\My Program\Program.exe" -D -V -I)
  76. // Delay(3)
  77. //
  78. // * Blank 60 pixels off the top and bottom and 5 pixels off the left and right
  79. //   sides of the video
  80. // SetBlanking(60,60,5,5)
  81. //
  82. // * Set CustomAR values to 1:2.35
  83. // SetCustomAR(2.35,1)
  84. //
  85. // * Position the video with a 5 pixel offset from all corners of a 640x480 mode
  86. // SetPlacement(5,5,640,470)
  87. //
  88. // * Set the Aspect ratio to "Source Aspect Ratio"
  89. // SetAspectRatio(1)
  90. //
  91. // * Set the DivX 3.11 brightness level to "62".
  92. // SetRegistry(U,Software\Microsoft\Scrunch\Video,D,Brightness,62)
  93.