home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2002 #11 / K-CD_2002-11.iso / DVDX / PlugIn / Readme.txt < prev   
Text File  |  2001-12-21  |  15KB  |  319 lines

  1. +-----------------------------------------------------------------+
  2. |                                                                 |
  3. |              Premiere Video Server Plugin v.93                  |
  4. |              ---------------------------------                  |
  5. |                                                                 |
  6. |  Homepage: www.videotools.net                                   |
  7. |  Contact : edwinvaneggelen@softhome.net                         |
  8. |                                                                 |
  9. +-----------------------------------------------------------------+
  10.  
  11. New:
  12. -Audio support for the Wrapper server mode.
  13. -external audio encoder input for the multiplexor (Useful for CCE)
  14. -Added AC3 multiplexor support.
  15. -Bug fix: problems with settings are solved in Premiere.
  16. -Automatic default settings detection for each application.
  17.  (Now random access is automatically enabled in Premiere as default)
  18. -If the Timeout function is selected, the time out is enabled after that 2
  19.  frames are read. This prevents the problem that the plugin times out
  20.  when the user is setting the properties in TMPGEnc.
  21. -post processing support for VCD.
  22. -Help link in settings menu.
  23. -Added check for audio encoder. Now you will get a warning
  24.  if you are not exporting 44100Hz audio when the audio encoder is enabled.
  25. -GUI fixes (e.g. location of window)
  26. -Audio only fix for MPEG mediator
  27.  
  28. Introduction:
  29. -------------
  30. The video server plugin enables you to convert Premiere or FlasK
  31. to a frame server. This is very useful if you want to code your edited
  32. video from Premiere or FlasK with an external (MPEG)-encoder
  33. e.g. TMPGEnc or Cinemacraft encoder. This is done by creating a "fake"
  34. AVI-file. The created "fake" AVI can be loaded into the encoder as
  35. a normal AVI. This resolves the problem of making a time and
  36. space consuming intermediate AVI. If you load the "fake" AVI-file
  37. into an encoder, the aviwrap.dll codec makes a connection with the plugin.
  38. When an encoder wants to read audio or video, this request is passed
  39. to the Premiere/FlasK plugin. Then the plugin fetches the audio/video
  40. and sends this to the encoder. We call this inter-process-communication.
  41.  
  42. Recommended server mode for encoders:
  43.  
  44.    Encoder                           Server mode
  45. ----------------------------------+--------------------------
  46. -Microsoft Media Encoder v8       | Wrapper, RAW Audio
  47. -Cinemacraft SP v2.62             | Wrapper
  48. -Cinemacraft SP v2.50             | Wrapper
  49. -TMPGEnc (several versions)       | Wrapper
  50. -VirtualDub v1.4d                 | Wrapper
  51. -NERO encoder plugin v1.2         | Wrapper *
  52. -LSX encoder v3.5                 | Wrapper, RAW Audio or AVISynth
  53. -Ulead DVD Movie Factory (editor) | Wrapper
  54.  
  55. * If you run into problems please use RAW Audio, I have performed
  56.   many succesful encodings with the NERO MPEG plugin, but
  57.   occasionally NERO gives an error at the end of the encoding.
  58.  
  59. Installing the Plugin:
  60. ----------------------
  61. Please DELETE all old plugins and old versions of bbMPEG from the plugin
  62. directory. (the old v0.90 version is called Cm-avisynth.prm). Otherwise strange
  63. things will happen! I recommend that you read the section "Filenames" before
  64. starting the installation process.
  65.  
  66. The installation of the plugin can be done by copying the plugin into the
  67. correct dir for the application (see below). When the Premiere/FlasK/Xmpeg/DVDx
  68. is started, it detects the plugin automatically. As the plugin is the server,
  69. you also need to install a client. The installation procedure for the client
  70. (Wrapper codecs) can be found in the readme.txt present in \aviwrpr directory.
  71.  
  72. Premiere:
  73. copy the Cm-videoserver.prm file into the plugin dir of premiere
  74.  
  75. Xmpeg:
  76. Rename the cm-videoserver.flask to .Xmpeg and copy it into the working
  77. dir of Xmpeg
  78.  
  79. Flask:
  80. copy the cm-videoserver.flask in the program directory of FlasK
  81.  
  82. DVDx:
  83. copy the Cm-videoserver.prm file into the working dir of DVDx
  84.  
  85. Postprocessing:
  86. If you want to use additional post processing, install the representing files
  87. in the same directory as the plugin :
  88. -audioencoding (wav2mp.exe)
  89. -multiplexing/cutting (bbmpeg.dll, *.ini)
  90. -pulldown (pulldown.exe)
  91.  
  92. Filenames:
  93. Several programs use different extensions. Premiere and DVDx use the .prm
  94. extension while FlasK uses the .flask extension. And to make things worse Xmpeg
  95. uses the Xmpeg extension. So the files Cm-avisynth.prm, Cm-avisynth.cm.prm,
  96. Cm-avisynth.cm.flask, Cm-avisynth.flask and Cm-avisynth.Xmpeg are all the same.
  97. I put 2 files in my package which are the same, one with the .flask extension
  98. and one with the .prm extension. This makes it possible to copy the files right
  99. into the directory without renaming them first.
  100.  
  101. And to make the extension problem even worse, AVI2MPG uses the .dll extension.
  102. So you can find bbMPEG with the extensions .flask, .dll , .prm and .Xmpeg.
  103.  
  104. Please make sure that you DELETE all old files before installing a new
  105. version...
  106.  
  107. So use the .prm extension for both the Video Server plugin and bbMPEG in
  108. Adobe Premiere/DVDx. And when using FlasK/Xmpeg please use the .flask extension
  109. for both the Video Server Plugin and bbMPEG.
  110.  
  111. Do I need AVISynth ?
  112. --------------------
  113. NO, The Premiere Video Server plugin is a standalone program. It does not need
  114. AVISynth to export the data (So you do not need to install it). The plugin is
  115. able to export the data to AVISynth but I only recommend that you use AVISynth
  116. if you want to process the video in the export chain with a script language.
  117. AVISynth is something like Adobe Premiere but without a graphical user
  118. interface, it uses a script language as user input.
  119.  
  120. Please note that not all encoders are able to read AVISynth-files. The following
  121. encoders are NOT able to read AVISynth-files: CCE SP v2.62, Windows Media
  122. Encoder v8. Although I was able to encode AVISynth-files in TMPGEnc on all my
  123. tested systems, I am getting reports that some people are not able to code the
  124. AVISynth-files in TMPGEnc on some machines.
  125.  
  126. Why did I develop the AVI-Wrapper mode ?
  127. ----------------------------------------
  128. Many new encoders are not able to read the AVISynth-files. This is because of
  129. a fundamental problem with this method of reading of the AVI-files.
  130. This is the reason why I have developed a new server mode that is able
  131. to connect with any encoder. (It works with all tested encoders 'till now).
  132.  
  133. What is this YUY/YV12/RGB stuff ?
  134. ---------------------------------
  135. As you probably know, colors are built with three basic colors, namely Red (R),
  136. Green (G), Blue (B). Normally on a PC, a pixel is built with those three colors.
  137. So for every pixel an intensity for R, G and B is stored. As a result you need
  138. at least 24 bits per pixel (8 bits per color component). White is built with
  139. R=255, G=255 and B=255 and black with R=0 G=0 B=0. This seems to work fine, but
  140. your eye is less sensitive to colors than to intensity. So what you actually
  141. need is a higher detail for intensity than for color (giving the best perceptual
  142. quality for an amount of data).
  143.  
  144. Since the introduction of color TV they have used this perceptual property of
  145. the eye. What they did is transform the RGB to the YUV domain. In the YUV domain
  146. the Y is the intensity and UV the color components. The trick is that you can
  147. store Y for every pixel and UV for every 2 (YUY) or 4 (YV12) pixels.
  148.  
  149.   RGB24/RGB32            (4:4:4)          (4:2:2) <-> YUY2   (4:2:0) <-> YV12
  150. -------------------------------------------------------------------------------
  151.  RGB RGB RGB RGB      YUV YUV YUV YUV       YUV Y  YUV Y       YUV Y  YUV Y
  152.  RGB RGB RGB RGB      YUV YUV YUV YUV       YUV Y  YUV Y       Y   Y  Y   Y
  153.  RGB RGB RGB RGB      YUV YUV YUV YUV       YUV Y  YUV Y       YUV Y  YUV Y
  154.  RGB RGB RGB RGB      YUV YUV YUV YUV       YUV Y  YUV Y       Y   Y  Y   Y
  155.  
  156.  
  157. Why is editing in YUV better than in RGB ?
  158. ------------------------------------------
  159. First I assume that you use a digitised/compressed source (e.g. DV, MPEG...).
  160. This source is stored in YUV format (MPEG=(4:2:0)=YV12). If you use ordinary
  161. software on a PC, the format is converted into the RGB domain. This takes some
  162. time (9 multiplications and 3 additions per pixel) and due to some
  163. implementation issues it degrades the quality. Then you can cut, edit and do
  164. processing on this RGB format. When you are done with that, you probably want to
  165. encode it. Then this RGB is transformed into YUV again and the stream is coded.
  166. So to give you an example when you are using FlasK: Decode the MPEG-file to YUV
  167. (4:2:0) format. Calculate the missing UV components because it is transformed to
  168. YUV (4:4:4). Then it is transformed to RGB. After that, the scaling and
  169. de-interlacing will be performed. This format is then fed to an encoder.
  170. And inside this encoder the RGB is transformed to RGB -> (4:4:4) -> (4:2:0).
  171.  
  172. Therefore I have extended the Premiere interface so that it is also able to
  173. export YUV (4:4:4), YUV (4:2:2), RGB24 and RGB32. So if you are using the latest
  174. version of FlasK (Xis versions) the processing chain is in the YUV format and is
  175. able to export it with my plugin in this YUV format. This is the main reason why
  176. it is so much faster. It does not do all of these transformations, which are
  177. completely unnecessary.
  178.  
  179. Unfortunately not all encoders can take YUV as input. To date, I have found that
  180. CCE SP, Windows Media encoder vx.x and many codecs (e.g. DV/DIVX/MPEG4/HUFFYUV)
  181. can work with YUV input. If you have a license for encoders that do not support
  182. YUV processing, I would suggest you to e-mail the authors for support and ask if
  183. they would implement it. It is very simple to implement this feature (it only
  184. has to skip some processing). I have already e-mailed the author of TMPGEnc (did
  185. not get any response) about it, but I can imagine that it is hard for him to
  186. implement it, because all this processing is done in RGB. But if you want to
  187. have a faster TMPGEnc, you can send him an e-mail to find whether he is willing
  188. to implement YUV input or not.
  189.  
  190.            RGB24    RGB32  YV12   YUY
  191. Ligos        x        x
  192. TMPGEnc      x        x
  193. CCE SP       x        x            x
  194. bbMPEG       x        x
  195. DIVX         x        x      x     x
  196. HUFFYUV      x        x      x     x
  197.  
  198.  
  199. About the dual pass.
  200. --------------------
  201. Dual/multipass encoding enables you to encode video with high quality.
  202. Because you can specify the exact bit rate that the encoder must
  203. use, you can use your disc space (CD-R) completely. Personally, I
  204. always use dual/triple pass encoding to completely fill an 80 min disc.
  205. With this method I am able to fit 1 hour of high quality progressive
  206. video on single 80 min CD-R discs (SVCD).
  207.  
  208. Split function with TMPGEnc:
  209. ----------------------------
  210. With this function you are able to split your video
  211. stream while encoding (so there is no post processing). So you
  212. can create 2 VCD streams in one go. (No need for splitting
  213. of the encoding anymore, just drag the files into e.g. NERO).
  214.  
  215. Please read the splitguide on my site (www.videotools.net)
  216.  
  217. How to use the benchmark for FlasK ?
  218. ------------------------------------
  219. Options->Select Output Format->Video Server
  220. Options->Output Format Options->General(tab)Enable benchmark
  221. Options->Global project->General->Compile time ~100sec
  222.          (A longer compile time is more accurate. You need a minimum of
  223.           500frames for reliable results).
  224. Run->Startconversion
  225. Now a file c:\benchmark_results.txt is written. Please fill in the
  226. requested data for comparison. You can send me the results if you like.
  227.  
  228. Guides:
  229. -------
  230. There are many good guides on how to use this plugin. You can find a guide
  231. and some good links on my site (www.videotools.net). The site www.rmvos.nl
  232. has the latest info about this plugin most of the time.
  233. So maybe you should start looking there first.
  234.  
  235. Tested operating systems:
  236. -------------------------
  237. I have personally tested it on Windows 98, NT and Windows 2000.
  238. So this should be no problem.
  239.  
  240. Tested programs:
  241. -------------------------
  242. Premiere v5.x         (RGB only)
  243. Premiere v6.x         (RGB only)
  244. FlasK v0.x            (RGB only)
  245. multipass FlasK v0.6  (RGB only)
  246. multipass Xis x.x     (RGB,YUY,YV12)
  247. DVDx v1.6             (RGB only)
  248.  
  249.  
  250. Links:
  251. -------------------------------------------------------
  252. Window Media Encoder v8 (free download)
  253. http://www.microsoft.com/windows/windowsmedia/download/
  254.  
  255. Cinemacraft Encoder SP v2.62 (trial version)
  256. www.doom9.net
  257.  
  258. TMPGEnc (free download)
  259. www.tmpgenc.com
  260.  
  261. VirtualDub (free download)
  262. www.virtualdub.org
  263.  
  264. BUGS:
  265. -----
  266. If you find a bug, please send me an e-mail so that I am able to fix it.
  267.  
  268. Known problems:
  269. ---------------
  270. -DVDx 1.6 will crash at 99%. This happens if you try to export more frames
  271.  than there actually are in the DVD-movie. So I recommend that you lower the
  272.  number of frames, so that the final video will be 30sec shorter than the
  273.  DVD. (You only skip the "credits"). To date I have not able to
  274.  create a workaround for this. Hopefully the author of DVDx will fix this soon.
  275.  
  276. -If the proxy server of virtual dubb is enabled. The AVIroutines from windows
  277.  will not work correctly as discribed in the readme of virtualdubb. As a result
  278.  the plugin is not able to create the AVIfile correctly. Please run the proxyoff.reg
  279.  file from the virtualdubb package.
  280.  
  281. -VirtualDub does not recognise the bits per sample of the audio correctly. 
  282.  Turn on "Full processing mode" in the audio menu. 
  283.      Audio conversion->Precision->16bit.
  284.  It is possible to enable a bug workaround for this, but as CCE SP 2.62
  285.  crashes with this workaround it is not enabled by default. Please read the
  286.  documentation on my site.
  287.  
  288. -TMPGEnc is not able to read AVS-scripts correctly
  289.  Disable the DirectShow filters in TMPGEnc when using AVISynth. You can find out
  290.  on my site how to do this.
  291.  
  292. -Encoder/player will not read the AVISynth-scriptfile ? I noticed that many
  293.  "new" programs do NOT use the Windows functions to read the AVI-files. If they
  294.  do NOT use those standard Windows functions the AVISynth- files will  not work.
  295.  Known programs that do NOT use those routines are CCE SP v2.62, Windows Media
  296.  Encoder vx.x Furthermore, I heard that there are problems with Windows Media
  297.  Player 7.
  298.  
  299. -You can NOT serve to the Media Player v6.4 in Windows 98 while using the AVI-
  300.  Wrapper mode. If you do open the created AVI in the Media Player using W98, it
  301.  will result in a crash of your system. This is not a bug of the AVI-Wrapper but
  302.  more than a shortcoming of the Media Player using W98. The problem is as
  303.  follows: when the codec is getting the message to decode a frame, the Media
  304.  Player sets the operating system in such a mode that no other application gets
  305.  any CPU time. Because the codec gives a request to the server to decode a frame
  306.  and waits 'till this is ready, it looks like your system hangs. The Media
  307.  Player disables all other applications (and the server) and this frame will
  308.  never be decoded and the Media Player waits forever..............
  309.  
  310.  To date, I have noticed that ONLY the Media Player does this while running
  311.  under W98. So all tested encoders work fine while running W98.
  312.  
  313. Hope this helps....
  314.  
  315. Greetings,
  316.    Edwin van Eggelen
  317.    www.videotools.net
  318.    edwinvaneggelen@softhome.net
  319.