- Time
- (Edited)
- Post link
For the encoding I will use the script from g-force who made a great work with his avisynth-script.
First install Avisynth. You get it from here. Make sure that you use the latest version of avisynth, otherwise you might get some errors.
Then download the avisynth-plugins that are needed. The links for them are postet here.
To make it easier, I postet a zip-folder with the needed plugins here. Copy all the plugins into you Avisynth-pluginfolder. Important: the fftw3.dll mustn't be copied into your avisynth-folder, you have to copy this .dll into your system32 folder. This is a subfolder in your windows-folder located on "C:\".
Next rip the GOUT on your HDD. I use DVD Fab Decrypter for that. You get it here.
Open the disc, make sure to copy "full disc" and specify the destination on your HDD. Do not delete the ripped files until everything is finished. You will need the files again at the end.
After ripping is finished, you need to demux the DVD-streams. We use PgcDemux from here.
Open the original Video_TS folder of you ripped GOUT-DVD and choose "VTS_03_0.IFO".
Select "by PGC", select "demux video stream", "demux all audio streams", "demux all subpic streams" and "create CellTimes.txt". Unselect "create logfile", and unselect "create a PGC VOB".
Specify the output folder. I created a new folder, called "demuxed". Then hit "process".
After processing is done you open DGMPGDec. It is available from here. This little app is in a zipped folder. In this folder you find a "DGDecode.dll". You must now copy this .dll into your Avisynth-pluginfolder too.
Open DGIndex, hit "file", "open" and browse for the m2v file in your demuxed folder you created earlier. A window pops up, hit "ok" hit "file" and "save project". Specify a project name (I choose ANH) and specify the destination. I save this "ANH.d2v" in my "demuxed" folder.
IMPORTANT: If you use the NTSC-DVD for your encoding, hit "Video", "Field Operation", "Force Film". If you use the PAL-DVD as source, change nothing here.
Now the script created by g-force comes in. You can get it here. G-force made a real good job and a watchable OOT available for everybody.
Copy the script that is posted there in your editor. In the script you read:
"PAL = false # <-----Set to false for NTSC, true for PAL"
Here I change the "false" into "true" because I use the PAL-source. If you use the NTSC-source, change nothing there.
A few lines later you read in the script:
"Mpeg2Source("C:\Program Files\AviSynth 2.5\Scripts\VTS_03_1.d2v") # <-----Set path"
Here you specify the direktion, where the ANH.d2v is located, that you created a few steps before.
Later in the script you read:
########## subtitle stage
delay = sw_frame_no-689
f = "Franklin Gothic Medium Cond"
f_col = $ffffff
f_wid = 10
f_pos = PAL==false ? 464 : 557
f_siz = PAL==false ? 38 : 46
Subtitle ("Going somewhere, Solo?",
\ -1,f_pos,70663+delay,70698+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("It’s too late. You should have paid him when you had the chance.",
\ -1,f_pos,70825+delay,70931+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("Jabba’s put a price on your head so large...",
\ -1,f_pos,70940+delay,71005+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("...every bounty hunter in the galaxy will be looking for you.",
\ -1,f_pos,71014+delay,71088+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("I’m lucky I found you first.",
\ -1,f_pos,71098+delay,71137+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("If you give it to me, I might forget I found you.",
\ -1,f_pos,71203+delay,71282+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("Jabba’s through with you.",
\ -1,f_pos,71365+delay,71406+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("He has no time for smugglers...",
\ -1,f_pos,71435+delay,71489+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("...who drop their shipments at the first sign of an Imperial cruiser.",
\ -1,f_pos,71498+delay,71595+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("You can tell that to Jabba. He may only take your ship.",
\ -1,f_pos,71656+delay,71748+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("That’s the idea.",
\ -1,f_pos,71806+delay,71833+delay,f,f_siz,f_col,font_width=f_wid)
Subtitle ("I’ve been looking forward to this for a long time.",
\ -1,f_pos,71843+delay,71931+delay,f,f_siz,f_col,font_width=f_wid)
I delete these lines, because I want to make a DVD with selectable subtitles. If you want hard encoded subtitles, change nothing here.
Then save this file as ANH.avs.
Next use HCencoder from here.
Here you can see the maintab of HCEnc:
Open the ANH.avs you have created with the first button.
Specify the destination of your new encoded .m2v-file with the second button and destination for your log-file with the third button. Select "best".
Next we have to make a bitrate-calculation. I choose VideoCalc from here.
I want to make a DL-disc and use average (kb/s) "8680" and maximum (kb/s) "9224".
Open settings1 tab and choose "progressive".
Hit "encode". Be patient, encoding is very slooooooow.
Ok, encoding is finished.
We have to remux the streams. I'm using the DVD-authoring from Rejig avaiable here for muxing:
Browse for the new encoded .m2v on the video-button.
Select the earlier demuxed audiostreams, located in your "demuxed" folder.
Insert all the audiostreams from the GOUT here, make sure, that they are in the same order as on the original DVD. Do the same on the subpicture button, if you decided to make a DVD with selectable subtitles. If you made a DVD with hard encoded subtitles you don't need to insert here anything.
Hit "browse for original IFO". This is important, otherwise the (selectable) subtitles will be green. Here you see that it is important, not to delete the ripped Video_TS folder until the whole thing is finished here.
Hit the Scene changes/Chapters button and browse for the Celltime.txt file created by PCGDemux. This file should be located in your "demuxed" folder.
Then specify the output-folder. I made a folder called "authored". Hit "create".
If you want a DVD that has the same menu like the same GOUT, you can replace the new , improved 16:9 video on your original GOUT as described here. You can start with step 6 there.
I hope this helps.
Everybody feel free to make additions to this guide as I'm not sure, if it is the best.
I hope, g-force's avisynth-script together with this little guide makes a watchable GOUT available for everybody.