DivX/XviD movies to DVD±R

One of our most important areas. Learn to use this site, improve your download speeds, convert to DVD and much more.
Post Reply
Wantos
Registered user
Registered user
Posts: 129
Joined: Thu Sep 25, 2003 10:28 pm
Been thanked: 2 times

DivX/XviD movies to DVD±R

Post by Wantos » Wed Mar 10, 2004 4:27 am

How to encode, subtitle, author and burn your DivX/XviD movies to DVD±R
In this guide we use DVD2SVCD with the Cinema Craft Encoder (CCE) to encode our DivX/XviD movies to DVD±R.
CCE is one of the best "software MPEG-1/2 encoders" in the world and is also used by release groups to encode their movies to SVCD, or to re-encode their DVD's so they'll fit on a 4.7GB DVDR.
It's advised that you use it with DVD2SVCD, because CCE is quite complex to use on its own and therfor we use DVD2SVCD in this guide as well.
This guide has a lot of pictures and often you only have to change the settings like shown in the pictures.
To get the best quality it's best to use a DivX/XviD movie in 2 parts (2x700mb) with AC3 audio, but it's not necesarry. Keep in mind that the higher the quality of the DivX/XviD movie is the better the final result will be.

This guide will also explain how to add selectable subtitles to your DVD, how to author it and how to burn the DVD files onto to a DVDR and that's why it's a pretty long guide. If you don't want subtitles, then just skip those parts.
The guide maybe looks difficult, but if you have some interest in encoding, then it won't be needed anymore after a few encodings and you'll only have 15 minutes of work on each movie.


Programs needed:

DVD2SVCD -> This is the work engine.
cinemacraftsp250.zip eD2K Link (Do not use other versions because I've never got them to work so they probably won't work for you either) -> The Encoder
Koepi's XviD codec -> Is needed to watch and encode the movie
DivX Codec -> " "
Avicodec -> To get information from the movie
AC3Machine -> To convert the audio from DivX/XviD compatible audio to DVD compatible audio.
Subtitle Tool -> To convert your subtitles to MicroDVD format, which is need for DVD Subtitle Encoder to accept the subtitles.
DVD Subtitle Encoder -> To convert your MicroDVD subtitles to a .SUP file, so IfoEdit can read them.
IfoEdit -> This program is to author the DVD (to put the video file, audio file and subtitle file together to make DVD files).
Nero -> This is one of the most used burning software in the world, to burn the DVD files to a DVDR.
BsPlayer -> Movie player to see if your movie is in Fullscreen or Widescreen. Also to check if your subtitles are in sync.

Minimum system requirements:

Pentium III 500MHz or else CCE won't run.
Windows NT, 2000 or XP.
A hard drive NTFS formatted (because we are creating 4,7GB files and Fat32 can't handle files above 4 GB), with at least 12GB of free hard drive space.


Part 1. Getting ready for the encoding.

1.

Install the DivX and the XviD coded if you didn't have them already.
Install DVD2SVCD and select Avisynth 2.52 during the installation process. Also check 'AVI to DVD' when you get asked what your preferred function is.
Install CCE.
Install Avicodec.

2. Skip this part if you're not using a DivX/XviD movie in 2 parts.

If your movie is in 2 parts then you'll need to join the 2 parts together.
To find out how to do that you can use this guide from dvd-guides.com: AVI Join With VirtualDub

3.

The movie also needs to be checked for bad frames (freezes). If you don't check your movie for bad frames and it has bad frames in it, then the encode will most likely fail. CCE is very picky with this.
To find out how to do that you can use this guide from videohelp.com: Fixing bad frames without losing any audio

4.

There's something we need to know about the movie before we continue, so startup Avicodec and drag & drop the movie into the Avicodec window.
Write down how many Hz the audio is. DVD movies need to be 48000Hz or they're not compliant. IfoEdit might give you a hard time if the audio is in 44100Hz.
Look if the movie has AC3 or MP3 audio. Write it down.
If the movie has AC3 audio then look whether it is 2 or 5 channel AC3 audio. Write it down.
Look if the movie is 25Fps or 23.976Fps. Write it down.
Image

Now play the movie with BsPlayer and play it in full screen. Check whether there are black borders on top and bottom of the movie.
If there are borders then your movie is in 16:9 (Widescreen). If there are no borders then your movie is in 4:3 (Fullscreen). Write it down.
Most movies nowadays are Widescreen.

Part 2. The encoding

Make sure that everything looks the same as on these pictures.
Additional info will be given when necesarry.


Open DVD2SVCD


1.

Misc. tab.
Click on "Default output folder" and set the default output folder to save all the files to that are going to be created by DVD2SVCD and CCE.
Image

2.

CDImage tab.
Select "Dont make Images" or else DVD2SVCD will create a DVD image so it's ready to burn on a DVD. Then it's not possible anymore to author the DVD yourself.

3.

Audio tab.
"Save in folder" is probably an other folder than on the picture. It should be the folder that you specified in step 1.
Set "Audio 1 Bitrate" to 224 and "Output mode" to stereo if your movie has MP3 or AC3 2 channel audio. If your movie has AC3 5 channel audio, then set it to 384 and "Output mode" to MPEG 5.1. See what you wrote down in Part 1. Getting ready for the encoding.
Image

4.

Frameserver tab.
Image

5.

Bitrate tab.
Set 'Max' to 9000
Set 'Min' to 200
Leave 'Min avg' unchecked
Set 'Max avg' to 7000
Set 'CD size' to 4400

6.

Encoder tab.
With "Cinema Craft Encoder 2.5" set the path of ccesp.exe (ccesp.exe can be found in the directory where you installed CCE to).
"Save in folder" is probably an other folder than on the picture. It should be the folder that you specified in step 1.
Image

In 'advanced settings' click on the little arrow next to (Dropdown to Edit) and a little window will pop up.
Image

Now go back to the Misc. tab and click on "Save settings". Choose a place on your hard drive to save the settings to, that you just made (.INI file). If your first encoding goes wrong then you can always load the .INI file by clicking on "Load Settings", so you don't have to do everything again.

The other tabs aren't needed or set already correctly.

7.

Conversion tab.
Select the movie you want to encode.
Select "Aspect ratio" select "4:3 (No borders, encoded as 4:3)" if your movie is in FullScreen or select "Anamorphic (no boarders, encode as 16:9)" if your movie is in WideScreen. Depends on what you wrote down in Part 1. Getting ready for the encoding.
Click on the part with the green tick on it, then select "Start conversion" and confirm with "OK"
Image

This is going to take a few hours so it's best to do this at night.
Also do NOT run any other programs in the meantime, because encoding is very CPU intensive.

Part 3. Fixing the audio.

Now we have to convert the DivX/XviD Mp3/AC3 compatible audio to DVD AC3 compatible audio.

Open AC3Machine.
In "Locations" set the path of BeSweet (a) by clicking once in the yellow part. You now have to specify where BeSweet.exe is. BeSweet.exe is in the DVD2SVCD\BeSweet folder (probably C:\Program Files\DVD2SVCD\BeSweet).
In "Input (AC3)" (b) select the "Encoded_Audio_1.mp2" file if your movie has MP3 audio and select the "Extracted_audio_1.ac3" file if your movie has AC3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
For "Output AC3" (c) select a name and folder for the output AC3 file you're going to create by double-clicking in the yellow part.
Check "Channels Mode" (d). Set it to "5.1" if your movie has 5 channel AC3 audio. Set it to "Stereo" if your movie has 2 channel AC3 or MP3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
If your original movie was in 44100hz, then it needs to be converted to 48000hz, so check "Set Sampling Rate To" (e) and set it to 48000. If your movie was already in 48000hz then leave it unchecked.
In "AC3 Encoding options" check "Bitrate" (f) and set it to 448 if your movie has 5 channel AC3 audio. Set it to 224 if your movie has 2 channel AC3 or MP3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
Make sure that everything else looks the same as on the picture.
Click the 'Give Me AC3!' (g) button to convert the audio. This should take a couple of minutes.
Image

Part 4. Converting the subtitles.

Note: Skip this part if you don't want subtitles on your DVD.

1.

Download the subtitles, which are mostly .SRT files or make them yourself with Subtitle Tool if you can, but that's going to take hours to do.
A good subtitle site is http://www.extratitles.to
Make sure that you download the correct subtitles (25Fps or 23.976Fps). Depends on what you wrote down in Part 1. Getting ready for the encoding.
Before you continue it's a good idea to check if the subtitles are in sync by playing the movie with the subtitles with a movie player like BsPlayer.

Use Subtitle Tool to convert the .SRT file MicroDVD, or else it's not possible to make a .SUP file, which is needed for IfoEdit to add the subtitles to the DVD.
Open Subtitle Tool and open the .SRT file. Click on "Save" and save it as "MicroDVD" and select the correct speed (25Fps or select 29,97 when your DivX/XviD movie is 23.976Fps). Depends on what you wrote down in Part 1. Getting ready for the encoding.
Note: Make sure that you save the file to your "C:\" drive and give it an easy name like "indiana".

2. This part is a bit tricky.

Now you need the "DVD Subtitle Encoder".
Make sure that "DVDSupEncode.exe" is copied to your c:\ drive.
Copy the "DVDSupEncode.ini" file into C:\Documents and Settings\<user> folder.
Open "DVDSupEncode.ini" by double-clicking on it. Delete everything in it.

If your movie is 25Fps, then copy and paste this in there.

[Default]
FrameW=720
FrameH=576
FrameRate=25
Delay=0
Contour=1
Palette=3210
Alpha=FFF0
OnTop=0
;Indent=40
;DynamicSize=0
;RightToLeft=0
ShowBitmap=0
FontName=Arial
FontCharSet=238
FontSize=18
FontStyle=REGULAR

If your movie is 23.976Fps, then copy and paste this in there.

[Default]
FrameW=720
FrameH=480
FrameRate=29.97
Delay=0
Contour=1
Palette=3210
Alpha=FFF0
OnTop=0
;Indent=40
;DynamicSize=0
;RightToLeft=0
ShowBitmap=0
FontName=Arial
FontCharSet=238
FontSize=18
FontStyle=REGULAR

This depends on what you wrote down in Part 1. Getting ready for the encoding.

Now save the file by clicking on File -> Save. Close the file.

3.

Go to Start -> Run.
Type in "command" and click on "OK".
Type "cd.." and press "Enter"
Type "cd.." again and press enter, so you see "C:\>"
Now type "dvdsupencode <name of the MicroDVD file you've just created>" like shown below. The name of your MicroDVD file (.TXT file) is probably different from the one on the picture.
Image

Press "Enter" and wait about 10-20 seconds.
You should have a .SUP file on your "C:\" drive now, which is between 2mb and 6mb big.
Your subtitles are ready. Type "exit" in the command window and press "Enter" to close it.

Part 5. Authoring the DVD.

1.

Make a new folder on your hard drive where IfoEdit will put the DVD files in.
Open IfoEdit.
Click DVD Author -> Author new DVD.
Select your encoded video file (named Encoded_Video_CCE_PAL.mpv or Encoded_Video_CCE_NTSC.mpv), which is in the folder you specified for DVD2SVCD to put the created files in.
Note: If your DivX/XviD movie has a Framerate of 23.976, then you should have a file named "Pulldown_Encoded_Video_CCE_NTSC.mpv". ALWAYS use this file if you have it. It's possible that you can't see the movie file when you try to open it in IfoEdit. For "Files of type" select "All Files (*.*)" and you're able to see it.

2.

Select the AC3 file that you fixed with AC3Machine. When you select the AC3 file, then also set the correct language next to it, by clicking on the audio file.

3.

Note: Skip this part if you don't want subtitles on your DVD.
Select the .SUP you've just created. When you select the .SUP file, then also set the correct language next to it, by clicking on the .SUP file.

4.

It's difficult to determine the correct spots of chapters, so put the numbers shown below in a text file and select that text file for "Scene changes/Chapters".
It will give you a new chapter about every 8 minutes.

15000
30000
45000
60000
75000
90000
105000
120000
135000
150000
165000
180000
195000
210000
225000
240000

5.

Select the DVD output folder you've just made.
Click "OK". The DVD files are now being made. This will take about 15 minutes. After that close IfoEdit (you don't need to save anything).
Image

Part 6. Changing the subtitle colors.

Note: Skip this part if you don't have subtitles on your DVD.

If you play the DVD with the subtitles now, the subtitles will be green. We need to fix that.
Go to the folder with the DVD files you've just created.
There are 2 .IFO files. Open the one with the biggest size by right-clicking on it and selecting IfoEdit.
Click on "VTS_PGCITI" and then on the little "+" next to it.
Then click on "VTS_PGC_1".
Scroll down the lower window until you get to [000000a5] colors!
Now double-click on that line to get the hex editor pop-up.
Untick options "Address", "Ascii", "4/8" as the picture below shows and leave only "Hex" option.
Image
Now gently put your mouse in the beginning of the HEX number and click once. You should see the cursor inside.
Then type "10 80 80" in there. Do not use spaces or Capital letters, just type 6 digits, nothing more, nothing less and you’ll see your number coming! Click "OK".
Do the exact same thing with the next 3 lines and use:
20 80 80
80 80 80
eb 80 80
After that it should look like this.
Image

After you've done this, click on "Save" and on "Save" again WITHOUT CHANGING THE FILENAME. It will ask you to overwrite it and select "OK".


Part 7. Burning the DVD files onto a DVDR.

Open Nero.
Select the "DVD-Video" template and click on "New".
On the left side you should see two little red pictures of a folder with "VIDEO_TS" behind it.
Click once on the red "VIDEO_TS" folder on the far left side. The other red "VIDEO_TS" folder and yellow "AUDIO_TS" folder will disappear, so you have one empty section.
Now select the DVD files on the right side of the screen, from the folder you chose for IfoEdit to put the DVD files in (it should be 9 files total: 5 VOB files, 2 BUP files and 2 IFO files).
Select the 9 files and drag & drop them into the empty section.
Image
Select Recorder -> Burn Compilation.
Go to the "Burn" tab, select the write speed and click on "Burn".

That's it. Enjoy the movie.
Last edited by Wantos on Tue Aug 10, 2004 2:37 pm, edited 21 times in total.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Mon Apr 04, 2005 9:10 pm

cinemacraftsp250.zip eD2K Link (Do not use other versions because I've never got them to work so they probably won't work for you either) -> The Encoder
I can confirm that CCE Cinemacraft Encoder 2.67.00.23 + Premiere Pro Plugin + crack.zip did not work with me but cinemacraftsp250.zip did.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Tue Apr 05, 2005 1:03 am

Part 3. Fixing the audio.

Now we have to convert the DivX/XviD Mp3/AC3 compatible audio to DVD AC3 compatible audio.

Open AC3Machine.
In "Locations" set the path of BeSweet (a) by clicking once in the yellow part. You now have to specify where BeSweet.exe is. BeSweet.exe is in the DVD2SVCD\BeSweet folder (probably C:\Program Files\DVD2SVCD\BeSweet).
In "Input (AC3)" (b) select the "Encoded_Audio_1.mp2" file if your movie has MP3 audio and select the "Extracted_audio_1.ac3" file if your movie has AC3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
For "Output AC3" (c) select a name and folder for the output AC3 file you're going to create by double-clicking in the yellow part.
Check "Channels Mode" (d). Set it to "5.1" if your movie has 5 channel AC3 audio. Set it to "Stereo" if your movie has 2 channel AC3 or MP3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
If your original movie was in 44100hz, then it needs to be converted to 48000hz, so check "Set Sampling Rate To" (e) and set it to 48000. If your movie was already in 48000hz then leave it unchecked.
In "AC3 Encoding options" check "Bitrate" (f) and set it to 448 if your movie has 5 channel AC3 audio. Set it to 224 if your movie has 2 channel AC3 or MP3 audio. Depends on what you wrote down in Part 1. Getting ready for the encoding.
Make sure that everything else looks the same as on the picture.
Click the 'Give Me AC3!' (g) button to convert the audio. This should take a couple of minutes.
If after doing the above with an mp2 which is 44100hz the outputted .ac3 file CRACKLES then a way round this is to NOT set the sampling rate to 48000hz and create the .ac3 file.

After the .ac3 file is created select Input (AC3) as this file and the output file as something else and now set the sampling rate to 48000hz.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Sun Jun 12, 2005 5:54 pm

Here is the eD2k link to Canopus ProCoder v1.5 which you can use if CCE isn't encoding specific files (happens sometimes). You can change the encoder option to this.

Canopus.ProCoder.v1.5.Cracked.zip

I tried the newer version (v2) but it didn't work with AVI2DVD.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Tue Jun 14, 2005 12:14 am

http://www.dvdrbase.com/showthread.php?t=25572

here's an alternate method to using DVD2SVCD but what caught my attention was this following extract which I found useful.
Batch Mode Encoding

1. Load in your AVI in the Conversion tab of DVD2SVCD as above and set it up the way you want.
2. Start the encode. With an AVI, the first thing it does is extract the Audio track. Wait until this is finished and when the audio conversion starts, then shut DVD2SVCD down.
3. Reopen DVD2SVCD and load the next AVI in, set to a different output folder, set it up and start it also. Then shut DVD2SVCD down just after the audio is extracted and audio conversion starts.
4. Continue doing this with each separate AVI. Remember, you will need a lot of HD space if your going to do a lot of them.
5. Then make and save a simple Batch file ( I call mine BATCH.BAT ) in Notepad to look something like :

@ECHO OFF
REM DVD2SVCD Batch Control

"C:\Program Files\DVD2SVCD\DVD2SVCD.exe" -d2s:"C:\TEMP1\dvd2svcd project file.d2s" -run -exit
"C:\Program Files\DVD2SVCD\DVD2SVCD.exe" -d2s:"C:\TEMP2\dvd2svcd project file.d2s" -run -exit
"C:\Program Files\DVD2SVCD\DVD2SVCD.exe" -d2s:"C:\TEMP3\dvd2svcd project file.d2s" -run -shutdown

If your using the D2SRoBa plugin, this Batch file should point to D2SRoBa.exe rather than DVD2SVCD.exe, so should look something like :

@ECHO OFF
REM DVD2SVCD Batch Control

"C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.exe" -d2s:"C:\TEMP1\dvd2svcd project file.d2s" -run -exit
"C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.exe" -d2s:"C:\TEMP2\dvd2svcd project file.d2s" -run -exit
"C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.exe" -d2s:"C:\TEMP3\dvd2svcd project file.d2s" -run -shutdown

6. Naturally, if you installed DVD2SVCD elsewhere, change the C:\Program Files\DVD2SVCD\DVD2SVCD.exe to wherever you installed DVD2SVCD and the C:\TEMP1, etc. to the folders you used where DVD2SVCD saved the files for each AVI. Dont forget to include the quotes "".
7. Change the -Exit on the last line to -Shutdown and it will shut the PC down when all is done.
8. Make an Icon on your Desktop for the Batch.bat and simple run it when your ready to start the batch encoding.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Tue Jul 26, 2005 8:47 pm

Is this incorrect? It should read 23.976 not 29.97 right? is the 720x480 correct then?
If your movie is 23.976Fps, then copy and paste this in there.

[Default]
FrameW=720
FrameH=480
FrameRate=29.97

In reply to this Wantos has said the following:
Wantos wrote:29.97 is correct. 23.976 is not DVD standard.

23.976 = NTSC-Film (none DVD standard)
25.000 = PAL (720 x 576)
29.970 = NTSC (720 x 480)

When you encode a DivX/XviD movie with a framerate of 23.976 (NTSC-Film), then DVD2SVCD will perform pulldown on it, so it becomes 29.97 (NTSC and DVD compatible).

If you convert the subtitles and use a framerate of 23.976 (speed), then the subtitles will be out of sync.

Code: Select all

Video runs with 29.970
Subtitles run with 23.976

=

Out of sync
I hope this explains it.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Sat Jul 30, 2005 6:35 pm

Another thing to keep in mind is when you decide to run DVD2SVCD is make sure you reboot your computer beforehand, the speed difference it makes is quite big!

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Tue Mar 21, 2006 1:30 pm

can someone re-create the images here please..

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Tue Mar 28, 2006 3:04 pm

nobody?

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Sun Apr 16, 2006 6:08 pm

images are back.

ZiN
Donator
Donator
Posts: 2243
Joined: Sun Jun 01, 2003 10:32 pm
Been thanked: 30 times

Post by ZiN » Wed Apr 04, 2007 12:17 am

images back again

n7of9
Donator
Donator
Posts: 1971
Joined: Thu Sep 04, 2003 2:55 am
Been thanked: 152 times

Post by n7of9 » Wed Apr 04, 2007 1:01 pm

Wantos wrote: Also, personally I would not recommend to use that guide anymore, because it's old. In the meantime programs have been created that do a lot of the things in the guide automatically, like TheFilmMachine.
i have to agree, this guide was AWESOME when it was first put together...maybe it should not be a sticky anymore?

ARCH
Registered user
Registered user
Posts: 379
Joined: Sun Nov 30, 2003 9:35 pm

Post by ARCH » Mon Apr 23, 2007 12:29 am

Unstickied - updated guide here.

OldChemist
Registered user
Registered user
Posts: 116
Joined: Tue Aug 26, 2003 1:40 am

Post by OldChemist » Tue Jul 24, 2007 1:54 am

Updated
- Links (XviD, AC3Machine, IFOEdit)

Post Reply

Return to “Tutorials”