Difference between revisions of "DVD"

From SDA Knowledge Base

Jump to: navigation, search
m (fixing link)
m (cleanup, wikify, internal links)
Line 1: Line 1:
 
==Overview==
 
==Overview==
 +
Recording with a DVD recorder will produce far superior quality than recording with a VCR, so it is well worth the investment.  Also, being a digital format, it poses far less "traps" to deal with than VHS. When you record with a DVD recorder, be sure to use SP or better speed. See your DVD recorder's manual for more info about this. You will wreck the quality of your run if you record on a speed worse than SP. Before you even purchase a DVD recorder, make sure to think about [[Recording Medium|recording medium]]. If you decide to mail your DVD(s) to me for processing, proceed to the [[Submit|submission guidelines]] for information about how to contact SDA. Otherwise, if you want to try to encode your run yourself, [[DVD#Self_Encoding|read here]]. However, there is one problem that needs to be taken care of whether or not you encode by yourself: lag.
  
Recording with a DVD recorder will produce far superior quality than recording with a VCR, so it is well worth the investment.  Also, being a digital format, it poses far less "traps" to deal with than VHS. When you record with a DVD recorder, be sure to use SP or better speed. See your DVD recorder's manual for more info about this. You will wreck the quality of your run if you record on a speed worse than SP. Before you even purchase a DVD recorder, make sure to think about [[Recording Medium|recording medium]]. If you decide to mail your DVD(s) to me for processing, proceed to the [http://speeddemosarchive.com/submit.html submission guidelines] for information about how to contact SDA. Otherwise, if you want to try to encode your run yourself, [[DVD#Self_Encoding|read here]]. However, there is one problem that needs to be taken care of whether or not you encode by yourself: lag.
 
 
<br>
 
 
==Lag==
 
==Lag==
 
 
When recording with a VCR, you hook your console's video out into the VCR, and you hook the VCR to your TV. The signal travels from the TV to the VCR, which records it, then sends it to the TV to be displayed. Because of the way the VCR writes the data on the tape, there is no lag. However, when a DVD recorder is hooked up in this fashion, it must digitize the data and, in our case, record it before outputting it. Unfortunately, no DVD recorder out on the market is able to do this instantaneously. Therefore, you will see and hear what was really happening about a half-second or so ago. Obviously, this can really mess with your ability to play the game well.
 
When recording with a VCR, you hook your console's video out into the VCR, and you hook the VCR to your TV. The signal travels from the TV to the VCR, which records it, then sends it to the TV to be displayed. Because of the way the VCR writes the data on the tape, there is no lag. However, when a DVD recorder is hooked up in this fashion, it must digitize the data and, in our case, record it before outputting it. Unfortunately, no DVD recorder out on the market is able to do this instantaneously. Therefore, you will see and hear what was really happening about a half-second or so ago. Obviously, this can really mess with your ability to play the game well.
  
<br>
 
 
===Reducing Lag===
 
===Reducing Lag===
 
 
There are several ways to eliminate lag and play normally. Various methods are listed here in order of most desirable to least desirable. If one method is infeasible, try the next one.
 
There are several ways to eliminate lag and play normally. Various methods are listed here in order of most desirable to least desirable. If one method is infeasible, try the next one.
  
Line 19: Line 14:
 
[[Image:combined_cable.png]]
 
[[Image:combined_cable.png]]
  
<font color="green"><b>Note:</b> There are two kinds of S-Video cables--ones that connect your console to an S-Video in and ones that connect an S-Video out to an S-Video in. The former are usually inexpensive; the latter are quite spendy. Make sure you buy the correct kind. Also, you may need extension cables but this will still be less expensive than using a powered splitter.</font>
+
<font color="green">'''Note:''' There are two kinds of S-Video cables--ones that connect your console to an S-Video in and ones that connect an S-Video out to an S-Video in. The former are usually inexpensive; the latter are quite spendy. Make sure you buy the correct kind. Also, you may need extension cables but this will still be less expensive than using a powered splitter.</font>
  
 
3. Use a [http://www.radioshack.com/product/index.jsp?productId=2103065 powered splitter]. Basically, you plug in the video and audio from your console, and it sends it to two different places (your TV and your DVD recorder). This will completely eliminate lag, but costs about $45, and you won't be recording S-Video unless you use an S-Video cable to connect the console to the splitter AND the splitter to the DVD recorder.
 
3. Use a [http://www.radioshack.com/product/index.jsp?productId=2103065 powered splitter]. Basically, you plug in the video and audio from your console, and it sends it to two different places (your TV and your DVD recorder). This will completely eliminate lag, but costs about $45, and you won't be recording S-Video unless you use an S-Video cable to connect the console to the splitter AND the splitter to the DVD recorder.
Line 40: Line 35:
  
 
<font color="green">This method is like #3 with a VCR in place of the powered splitter.</font>
 
<font color="green">This method is like #3 with a VCR in place of the powered splitter.</font>
 
<br>
 
  
 
==Using Multiple Discs==
 
==Using Multiple Discs==
 
 
It will be necessary for you to change discs mid-run if your single-segment run runs longer than 2 hours (a standard DVD holds only 2 hours of video at SP, the lowest allowable quality/speed). Simply pause the game, stop the recording, change discs, start recording again, then unpause the game and continue your run. Either you or nate can rejoin the run before the encoding phase. Be sure to record plenty of time at the pause screen on both discs (30 seconds should be sufficient) so that you don't accidentally miss recording part of your run, which is grounds for rejection.
 
It will be necessary for you to change discs mid-run if your single-segment run runs longer than 2 hours (a standard DVD holds only 2 hours of video at SP, the lowest allowable quality/speed). Simply pause the game, stop the recording, change discs, start recording again, then unpause the game and continue your run. Either you or nate can rejoin the run before the encoding phase. Be sure to record plenty of time at the pause screen on both discs (30 seconds should be sufficient) so that you don't accidentally miss recording part of your run, which is grounds for rejection.
  
<br>
 
 
==Self Encoding==
 
==Self Encoding==
 +
<font color="red">'''Turn on file extensions''' in Windows by going to Windows Explorer -> Tools -> Folder Options -> View, uncheck "Hide extensions for known filetypes".</font>
  
<font color="red"><b>Turn on file extensions</b> in Windows by going to Windows Explorer -> Tools -> Folder Options -> View, uncheck "Hide extensions for known filetypes".</font>
+
<font color="green">'''Make sure to finalize the DVD before continuing with this guide.''' Finalizing is done on the DVD recorder itself. DVD-RAM and DVD+RW are the only exceptions.</font>
 
+
<font color="green"><b>Make sure to finalize the DVD before continuing with this guide.</b> Finalizing is done on the DVD recorder itself. DVD-RAM and DVD+RW are the only exceptions.</font>
+
  
 
You will need to install a large number of separate pieces of software to get your run off of the DVD and encode it to H.264 / Xvid. All of this software only runs on Microsoft Windows, so you will need to have access to a computer running Windows to proceed.
 
You will need to install a large number of separate pieces of software to get your run off of the DVD and encode it to H.264 / Xvid. All of this software only runs on Microsoft Windows, so you will need to have access to a computer running Windows to proceed.
  
<br>
 
 
===DVD software installation===
 
===DVD software installation===
 
 
Download the latest version of [http://neuron2.net/dgmpgdec/dgmpgdec.html DGMPGDec] utilities by Donald Graft and extract the contents to "C:\Program Files\DGMPGDec". This folder contains the DGIndex.exe application and the important DGDecode.dll file. Leave this folder alone for the moment.
 
Download the latest version of [http://neuron2.net/dgmpgdec/dgmpgdec.html DGMPGDec] utilities by Donald Graft and extract the contents to "C:\Program Files\DGMPGDec". This folder contains the DGIndex.exe application and the important DGDecode.dll file. Leave this folder alone for the moment.
  
<br>
 
 
===Extracting the DVD source files===
 
===Extracting the DVD source files===
 
 
You have two options. You can either copy the contents of the whole DVD, which can be up to 4.3 GB of data, or copy only specific parts such as your successful attempts. If you plan to send your DVD files to Nate over the Internet, you'll be following the second option.
 
You have two options. You can either copy the contents of the whole DVD, which can be up to 4.3 GB of data, or copy only specific parts such as your successful attempts. If you plan to send your DVD files to Nate over the Internet, you'll be following the second option.
  
 
Insert the finalized DVD into the DVD drive in your computer (if the DVD has not been finalized in the DVD recorder, it probably won't work).  
 
Insert the finalized DVD into the DVD drive in your computer (if the DVD has not been finalized in the DVD recorder, it probably won't work).  
  
<br>
 
 
====Option 1====
 
====Option 1====
 
 
Navigate to your DVD drive and select <u>all</u> of the files from the VIDEO_TS folder on the DVD you inserted. Copy them to a folder where you will do your video processing.
 
Navigate to your DVD drive and select <u>all</u> of the files from the VIDEO_TS folder on the DVD you inserted. Copy them to a folder where you will do your video processing.
  
 
[[Image:DVDsourcefiles.png]]
 
[[Image:DVDsourcefiles.png]]
 
<br>
 
  
 
====Option 2====
 
====Option 2====
 
 
Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Load the vob files either from your hard drive or (more likely) straight from the disc. Use the slider to move to the place where you want to make your starting cut and press the left bracket button. The slider kind of sucks; you can use the arrow keys to get more precision. As you can see in the picture I've decided to start the cut at the menu screen, and have yet to specify an end point which I'm sure you can handle by yourself now. DO NOT leave extra footage at the beginning or end of the video. This has the potential to cause audio/video desync. Make sure you don't cut out something you want to keep, though.
 
Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Load the vob files either from your hard drive or (more likely) straight from the disc. Use the slider to move to the place where you want to make your starting cut and press the left bracket button. The slider kind of sucks; you can use the arrow keys to get more precision. As you can see in the picture I've decided to start the cut at the menu screen, and have yet to specify an end point which I'm sure you can handle by yourself now. DO NOT leave extra footage at the beginning or end of the video. This has the potential to cause audio/video desync. Make sure you don't cut out something you want to keep, though.
  
Line 88: Line 69:
  
 
At this point, if you're sending in your files to SDA, then you have all you need. Otherwise continue to the next section where you will create a fresh d2v file which will be pointing to the m2v file instead of the DVD.
 
At this point, if you're sending in your files to SDA, then you have all you need. Otherwise continue to the next section where you will create a fresh d2v file which will be pointing to the m2v file instead of the DVD.
 
<br>
 
  
 
===Creating the project file (.d2v)===
 
===Creating the project file (.d2v)===
Line 95: Line 74:
 
Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Now go to File -> Open, or just hit F2 and navigate to your video processing folder.
 
Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Now go to File -> Open, or just hit F2 and navigate to your video processing folder.
  
* If you chose Option 1, you should select ALL (yes, <b><font color=red><u><i>ALL</I></u></font></b>) of the .VOB (or .VRO) files. If you have more than one, use the "Add" button. For the files named something like "VTS_01_1.VOB" and "VTS_01_2.VOB," put them in order of number. If you have a file called "VIDEO_TS.VOB," put it before the others.  
+
* If you chose Option 1, you should select ALL (yes, '''<font color=red><u>''ALL''</u></font>''') of the .VOB (or .VRO) files. If you have more than one, use the "Add" button. For the files named something like "VTS_01_1.VOB" and "VTS_01_2.VOB," put them in order of number. If you have a file called "VIDEO_TS.VOB," put it before the others.  
  
 
* If you chose Option 2, select the m2v file.
 
* If you chose Option 2, select the m2v file.
Line 101: Line 80:
 
Hit OK twice to proceed to the main screen. From here, simply go to File -> Save Project and save the file with a name you can remember.
 
Hit OK twice to proceed to the main screen. From here, simply go to File -> Save Project and save the file with a name you can remember.
  
 +
<font color="red">'''Important:''' Both options result in the extraction of an audio file. The filename will look something like "vob T01 <u>2_0ch 192Kbps DELAY -84ms</u>.ac3". MAKE SURE that you keep the part that I've underlined as this information is needed later on. Even if the delay is 0, leave it alone, it's good to be consistent.</font>
  
<font color="red"><b>Important:</b> Both options result in the extraction of an audio file. The filename will look something like "vob T01 <u>2_0ch 192Kbps DELAY -84ms</u>.ac3". MAKE SURE that you keep the part that I've underlined as this information is needed later on. Even if the delay is 0, leave it alone, it's good to be consistent.</font>
+
<font color="green">'''Note:''' If you load up your file in DGIndex and get something like [[:Image:Dgmpgdec2.JPG|this]], try unzipping [[:File:Vob.zip|this file]] and loading it into DGIndex with the rest of your vob/vro files. Move it to the top of the file list and click OK; you should see a menu-like screen and, if you move the slider at the bottom, your file.</font>
 
+
<font color="green"><b>Note:</b> If you load up your file in DGIndex and get something like [http://speeddemosarchive.com/kb/index.php/Image:Dgmpgdec2.JPG this], try unzipping [http://speeddemosarchive.com/kb/File:Vob.zip this file] and loading it into DGIndex with the rest of your vob/vro files. Move it to the top of the file list and click OK; you should see a menu-like screen and, if you move the slider at the bottom, your file.</font>
+
 
+
<br>
+
  
 
You can now proceed to the [[AviSynth]] page.
 
You can now proceed to the [[AviSynth]] page.
 
  
 
Return to the [[Main Page|front page]].
 
Return to the [[Main Page|front page]].

Revision as of 23:57, 13 September 2009

Overview

Recording with a DVD recorder will produce far superior quality than recording with a VCR, so it is well worth the investment. Also, being a digital format, it poses far less "traps" to deal with than VHS. When you record with a DVD recorder, be sure to use SP or better speed. See your DVD recorder's manual for more info about this. You will wreck the quality of your run if you record on a speed worse than SP. Before you even purchase a DVD recorder, make sure to think about recording medium. If you decide to mail your DVD(s) to me for processing, proceed to the submission guidelines for information about how to contact SDA. Otherwise, if you want to try to encode your run yourself, read here. However, there is one problem that needs to be taken care of whether or not you encode by yourself: lag.

Lag

When recording with a VCR, you hook your console's video out into the VCR, and you hook the VCR to your TV. The signal travels from the TV to the VCR, which records it, then sends it to the TV to be displayed. Because of the way the VCR writes the data on the tape, there is no lag. However, when a DVD recorder is hooked up in this fashion, it must digitize the data and, in our case, record it before outputting it. Unfortunately, no DVD recorder out on the market is able to do this instantaneously. Therefore, you will see and hear what was really happening about a half-second or so ago. Obviously, this can really mess with your ability to play the game well.

Reducing Lag

There are several ways to eliminate lag and play normally. Various methods are listed here in order of most desirable to least desirable. If one method is infeasible, try the next one.

1. You may not have to use any extra equipment at all. If your console has multiple high-quality outputs (S-video or better... few do at this time), plug one each into your TV and DVD recorder. Alternately, if your TV has video-out, just connect your console to the TV, and the TV video-out to the DVD recorder. In PAL regions you can use the bidirectionality of SCART to record video by plugging your console into your TV then your TV into your DVD recorder's input with a SCART cable.

2. Use a combined S-Video and Composite cable. This cable has four plugs: the three standard yellow, white, and red plugs and an S-Video plug. This lets you plug the S-Video plug and the two audio plugs (the white and red ones) into your DVD recorder and the composite video (yellow) plug into your TV. These cables are usually inexpensive--they can usually be found for around $5, and often support multiple consoles via multiple connectors. Note that you won't hear audio unless you either a. send optical/digital out from your console to your speakers, b. use unpowered RCA splitters to send audio to both the DVD recorder and the TV, or c. connect the DVD recorder's audio output to the TV (which will result in some lag, but audio lag isn't usually a big deal compared to video lag).

Combined cable.png

Note: There are two kinds of S-Video cables--ones that connect your console to an S-Video in and ones that connect an S-Video out to an S-Video in. The former are usually inexpensive; the latter are quite spendy. Make sure you buy the correct kind. Also, you may need extension cables but this will still be less expensive than using a powered splitter.

3. Use a powered splitter. Basically, you plug in the video and audio from your console, and it sends it to two different places (your TV and your DVD recorder). This will completely eliminate lag, but costs about $45, and you won't be recording S-Video unless you use an S-Video cable to connect the console to the splitter AND the splitter to the DVD recorder.

Splittercabeling.jpg

4. Use unpowered splitter cables (link for illustration only; there are a few variations that do the same job). You will need enough female ports, from one or more cables, for the two audio plugs and the video plug(s). If using Composite (yellow plug) or Component (red, green and blue plugs) video, you can use the same type of splitter cable as the audio plugs; if using S-Video you'll need an S-Video specific splitter cable, which is fairly hard to find.

Plug the console's output into the female ports, and the two male plugs for each into the TV and recorder. Then set your recorder off and switch to the console's normal channel on your TV (not the recorder's channel) to play without lag.

This solution has one main drawback, which is that the electrical signal is split between each input, hampering the quality of the signal. This affects both the video and audio, but is only really noticeable in the video. The quality is still more than acceptable for SDA, however - split S-Video still looks much better than unsplit Composite.

This method is like #2 except the video is split just like the audio is.

5. If your console happens to have both an RF out and a composite out, just send the RF to your TV and the composite to your DVD recorder.

This method is like #1 except you will have to record in composite.

6. Connect your console to a VCR, then use the RF out (a cable that sometimes has a screw on the end) of your VCR to connect it to your TV and the composite out (red, white, and yellow cables) to connect it to your DVD recorder. You will be recording composite video or RF (depending on how you connected your console to the VCR) instead of S-Video.

This method is like #3 with a VCR in place of the powered splitter.

Using Multiple Discs

It will be necessary for you to change discs mid-run if your single-segment run runs longer than 2 hours (a standard DVD holds only 2 hours of video at SP, the lowest allowable quality/speed). Simply pause the game, stop the recording, change discs, start recording again, then unpause the game and continue your run. Either you or nate can rejoin the run before the encoding phase. Be sure to record plenty of time at the pause screen on both discs (30 seconds should be sufficient) so that you don't accidentally miss recording part of your run, which is grounds for rejection.

Self Encoding

Turn on file extensions in Windows by going to Windows Explorer -> Tools -> Folder Options -> View, uncheck "Hide extensions for known filetypes".

Make sure to finalize the DVD before continuing with this guide. Finalizing is done on the DVD recorder itself. DVD-RAM and DVD+RW are the only exceptions.

You will need to install a large number of separate pieces of software to get your run off of the DVD and encode it to H.264 / Xvid. All of this software only runs on Microsoft Windows, so you will need to have access to a computer running Windows to proceed.

DVD software installation

Download the latest version of DGMPGDec utilities by Donald Graft and extract the contents to "C:\Program Files\DGMPGDec". This folder contains the DGIndex.exe application and the important DGDecode.dll file. Leave this folder alone for the moment.

Extracting the DVD source files

You have two options. You can either copy the contents of the whole DVD, which can be up to 4.3 GB of data, or copy only specific parts such as your successful attempts. If you plan to send your DVD files to Nate over the Internet, you'll be following the second option.

Insert the finalized DVD into the DVD drive in your computer (if the DVD has not been finalized in the DVD recorder, it probably won't work).

Option 1

Navigate to your DVD drive and select all of the files from the VIDEO_TS folder on the DVD you inserted. Copy them to a folder where you will do your video processing.

DVDsourcefiles.png

Option 2

Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Load the vob files either from your hard drive or (more likely) straight from the disc. Use the slider to move to the place where you want to make your starting cut and press the left bracket button. The slider kind of sucks; you can use the arrow keys to get more precision. As you can see in the picture I've decided to start the cut at the menu screen, and have yet to specify an end point which I'm sure you can handle by yourself now. DO NOT leave extra footage at the beginning or end of the video. This has the potential to cause audio/video desync. Make sure you don't cut out something you want to keep, though.

Dgindexcut.jpg

Once you've done that, go to File -> Save Project and Demux Video. This will create an m2v video file, an ac3/mpa/wav sound file, and a d2v file. DO NOT CHANGE THE NAME OF THE AUDIO FILE!

Delete the d2v file. It is useless since it is still pointing at the files on the DVD.

At this point, if you're sending in your files to SDA, then you have all you need. Otherwise continue to the next section where you will create a fresh d2v file which will be pointing to the m2v file instead of the DVD.

Creating the project file (.d2v)

Open DGIndex.exe inside the DGMPGDec directory you unzipped during the software installation. Go to Audio -> Output Method and set it to demux all tracks. Now go to File -> Open, or just hit F2 and navigate to your video processing folder.

  • If you chose Option 1, you should select ALL (yes, ALL) of the .VOB (or .VRO) files. If you have more than one, use the "Add" button. For the files named something like "VTS_01_1.VOB" and "VTS_01_2.VOB," put them in order of number. If you have a file called "VIDEO_TS.VOB," put it before the others.
  • If you chose Option 2, select the m2v file.

Hit OK twice to proceed to the main screen. From here, simply go to File -> Save Project and save the file with a name you can remember.

Important: Both options result in the extraction of an audio file. The filename will look something like "vob T01 2_0ch 192Kbps DELAY -84ms.ac3". MAKE SURE that you keep the part that I've underlined as this information is needed later on. Even if the delay is 0, leave it alone, it's good to be consistent.

Note: If you load up your file in DGIndex and get something like this, try unzipping this file and loading it into DGIndex with the rest of your vob/vro files. Move it to the top of the file list and click OK; you should see a menu-like screen and, if you move the slider at the bottom, your file.

You can now proceed to the AviSynth page.

Return to the front page.

Personal tools