home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 June / PCWorld_2003-06_cd.bin / SOFTWARE / VYZKUSTE / ZOOMPLAYER / DEFAULT.DF next >
Text File  |  2003-03-04  |  4KB  |  106 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. // AddSegment(FileName,Recursive)
  28. //   - Using this function you can associate additional media files
  29. //     with the currently loaded media files by adding them to the
  30. //     Play List.  Zoom Player will scan the current directory and
  31. //     all root directories for the specified segments.
  32. //
  33. // SetBlanking(Top,Bottom,Left,Right)
  34. //   - This function sets the video-blanking positions.
  35. //
  36. // SetCustomAR(WidthRatio,HeightRatio)
  37. //   - This function sets the Custom Aspect Ratio values, useful
  38. //     when used in combination of "SetAspectRatio" and the Custom
  39. //     Aspect Ratio mode.
  40. //
  41. // SetPlacement(XOffset,YOffset,Width,Height)
  42. //   - This function sets the position of the video in zoomed mode.
  43. //
  44. // SetAspectRatio(ARMode)
  45. //   - Set a specific aspect ratio mode.  The ARMode value is a
  46. //     number representing the Aspect Ratio mode.  A value of
  47. //     "0" means "Fit to Window" (the first listed aspect ratio)
  48. //     The numbers go up for every mode.
  49. //
  50. // SetOverlayColorControls(Brightness,Contrast,Gamma,Hue,Saturation)
  51. //   - Set the Overlay Color settings.
  52. //
  53. // SetVolume(VolumeLevel)
  54. //   - Set the Audio Volume (0-100)
  55. //
  56. // SetRegistry(BaseKey,RegPath,KeyType,SubKey,Value)
  57. //   - Set a registry value.  Can be useful for setting certain
  58. //     codec values (like say brightness for the DivX codec)
  59. //     right before the video loads.
  60. //
  61. //     "BaseKey" Can have 5 values:
  62. //               R = HKEY_CLASSES_ROOT
  63. //               U = HKEY_CURRENT_USER
  64. //               M = HKEY_LOCAL_MACHINE
  65. //               S = HKEY_USERS
  66. //               C = HKEY_CURRENT_CONFIG
  67. //
  68. //     "RegPath" is a path, such as "Software\VirtuaMedia\ZoomPlayer"
  69. //
  70. //     "KeyType" is the type of key, values can be:
  71. //               S = String
  72. //               D = DWord
  73. //
  74. //     "SubKey"  is the name of a key within the path
  75. //
  76. //     "Value"   is the data inserted into the key, the data must match
  77. //               the type specified in the "KeyType" value.
  78. //
  79. //
  80. //
  81. // For example...
  82. //
  83. // * Run some program with a 3 second delay.
  84. // RunProgram("C:\Program Files\My Program\Program.exe" -D -V -I)
  85. // Delay(3)
  86. //
  87. // * Blank 60 pixels off the top and bottom and 5 pixels off the left and right
  88. //   sides of the video
  89. // SetBlanking(60,60,5,5)
  90. //
  91. // * Set CustomAR values to 1:2.35
  92. // SetCustomAR(2.35,1)
  93. //
  94. // * Position the video with a 5 pixel offset from all corners of a 640x480 mode
  95. // SetPlacement(5,5,640,470)
  96. //
  97. // * Set the Aspect ratio to "Source Aspect Ratio"
  98. // SetAspectRatio(1)
  99. //
  100. // * Set the DivX 3.11 brightness level to "62".
  101. // SetRegistry(U,Software\Microsoft\Scrunch\Video,D,Brightness,62)
  102. //
  103. // * Add 2 Segments to a currently loaded file
  104. // AddSegment(myvideo2.avi)
  105. // AddSegment(myvideo3.avi)
  106. //