PDA

View Full Version : having hard time encoding FOTR extended to 4 disc


X-Nemesis
8th December 2002, 18:15
IS there ANY way to encode FOTR Extended to a 4 cd rip keeping AC3sound, at least 640X270 Res and having good picture quality. If so can anyone give me tips on how to do that?

Thanks

Someone gave me a lead to another thread regarding an FOTR question but I don't have any clue what they were talking about....look below.


LoadPlugin("D:\Tools\GORDIA~1\mpeg2dec.dll")
LoadPlugin("D:\Tools\GORDIA~1\convolution3d.dll")

mpeg2source("D:\films\DVD\lotr.d2v")

crop(0,65,720,446)

convolution3d(preset="movieHQ")

lanczosresize(640,272)

Hiro2k
8th December 2002, 19:10
OK that thing you don't know about is called an AVS script. In the days before Gknot, you had to creat your own AVS script and then tell Virtual Dub to process it. Now Gknot will make the script for you and automate the process of encoding so that you don't have to touch Virtural Dub.

But Gknot still lets you edit the AVS script it creats, so that you can customize it. When you press the Save button on the preview, another window pops up with a options for IVTC, Re-Size and Subtitles. At the bottome there is a button that says Edit. You press that and a Window will come up that looks something like this. Of course your values will be much different.

# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\WINDOWS\System32\vobsub.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("E:\End of Eva\end.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
Telecide()
Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#
# CROPPING
crop(16,68,684,344)
#
# DEINTERLACING (2)
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
SimpleResize(608,336)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)




This is where you would enter that script that you found in the thread. YOu will need to download Convolution3D since it is not part of the Gknot package. To install it, just extract it in the same folder with Gordian Knot.

All the # above are commented out and not needed for this movie so you can reduce the AVS script to


# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")

# SOURCE
mpeg2source("E:\End of Eva\end.d2v")

# IVTC
Telecide()
Decimate(cycle=5)

# CROPPING
crop(16,68,684,344)

# RESIZING
SimpleResize(608,336)

Note that you don't need the other #'s with the Source, IVTC, And Cropping, but if you don't know what those values mean, the #'s are a good way for you to remember.

Iznogoud
8th December 2002, 20:10
What went wrong with your 3 cd encode? Because if you want perfect quality, consider buying the DVD... Divx, even in 4,6 or 10 cd:s won't be identical with the original DVD.

X-Nemesis
8th December 2002, 22:19
I never said perfect quality...I said good quality...and it would be nice to get that on a 3cd rip of the whole movie instead of a 5 or 6 cd rip

Hiro2k
8th December 2002, 22:49
If you want the best quality, just encode the whole vido 1pass with quantisizer set a 2. That will give you the best possible quality with Divx. But this might take up more than 4 CD's

Iznogoud
8th December 2002, 23:33
In previous post you talked of getting bitrate close to 2000 KBits/s on 3 cd, to me that should produce "good quality" picture. You have made a serious mistake in your setup or your good and my good are very, very different. Re-check everything, turn off ALL pro-features, use neutral or sharp bicubic, lower resolution, try Xvid or SBC... :rolleyes:

X-Nemesis
9th December 2002, 01:43
I manually put in that setting for 2000k bitrate...I wanted to test and see what kind of image quality I would get...but the file came out to over 2gig...

jggimi
9th December 2002, 04:04
If you just want to make tests, then:

1) You can create a very small .d2v project using the "[" and "]" buttons. That way, you can see results without taking a lot of time, or waiting long for results. Select "Calculate AVI File Size" on the Bitrate tab, and enter any bitrate you'd like to test encode.

2) You can test the .avs scripts without doing any encoding at all. Open the .avs in any .avi player, or in virtual dub if you'd like to examine individual frames. It won't "play" in real time, of course, but you can see the resized / filtered video being sent to the codec for processing.

OvERaCiD23
10th December 2002, 08:14
4 CDs is overkill for any movie, even with AC3 sound! Use a lower resolution (592xXXX, or 608xXXX, NeutralBicubic, and Convolution3d(preset="movieHQ"). this should yield an acceptable/good quality level for the movie. I put the theatrical version on 3 CDs w/ AC3 sound @ 704x288, so the extra 30 minutes of footage should be fine if you drop to a lower resolution. you don't have to have a comptest value of 80% for it to be good quality. 60-75% is what you want, and you can use post-processing to clean up any artifacts. if you're watching on a TV, then you probably won't be able to tell the difference between an encode @ 65% compared to a 75-80%.


PS...just doing some quick calcuations in GKnot, and with 448kbps sound, 3 CDs, 640x272, i get a BPP of .244 ~~~> ~1020 for the bitrate. At 592x256 (not sure on the AR, crop values), I get a BPP of .280 (also, not adding in the increased bitrate for the credits, which are incredibly long for this movie, should give you another 100kbps for the video easily). If this isn't acceptable quality, maybe you should just stick to the original DVD and forget a DivX rip of this (maybe not a bad idea, as this is the best DVD I own).

and remember, the great thing about DivX is putting a movie with near-DVD quality onto a couple of CD-Rs. if we all want DVD quality from our DivX rips, we'd just use 1-pass Q2. but we like the fact that we can put such good quality video (and audio, gotta love DD 5.1) onto 2 CD-Rs and not tell the difference without side-by-side comparisons!