digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: video not encoding small enough?! (http://www.digitalfaq.com/archives/encode/4708-kvcd-video-encoding.html)

oxide 07-25-2003 08:11 AM

KVCD: video not encoding small enough?!
 
Hey all, im totally new to KVCD, I just found out about it like a week ago, when i stumbled on a kvcd movie. For the last week I've made several attempts at making a KVCD with no luck, I've followed all the faq's and there must be something im not understanding, I'm going to list all the steps I took, if any one can point out any errors in my process please do...

These are the steps I took to attempt to make a KVCD of Devil's Advocate from a dvd:

First I ripped the dvd with DVD Decrypter (version 3.1.6.0), which left me with VTS_01_1.VOB - VTS_01_6.VOB and VTS_01_0.IFO


DVD2AVI (version 1.76):
Opened VTS_01_1.VOB which in turn opened all 6 vobs. I previewed the movie for 1 min it showed these settings:
Aspect Ratio: 16:9
Frame Rate: 29.970 fps
Video Type FILM 99%
Frame Type: Progressive

I made sure track 1 was selected and I clicked on demux, then I saved the prodject as devils.d2v, this left me with:
devils.d2v - 588K
devils AC3 T01 3_2ch 384Kbps DELAY 917ms.ac3 - 395MB


Headac3he(version 0.23a):
Made source the ac3 file, chose destination format: mp2, made destination file "devils.mp2", clicked options, made downmix type: surround 2, clicked options, made bitrate: 128, made Channel Mode: Dual Channel, clicked start, this left me with:
devils.mp2 - 131MB

Ran Moviestacker (version 2.00 BETA 3)
Source, devils.d2v, in MPEG Resizing I made destination be 3/4 DVD SMALL, to set the resolution at 528 x 480 (not sure if this should be SVCD instead) noted the length (115m15s) and average kbps (791), these were for fitting on 1 80min cd, I pasted kwags settings in the script, for avisynth 2.5.2 for clean dvd, and editted it for my current setup:

Code:

## DLL Section ##
#
LoadPlugin("C:\dvds\moviestacker\filters\MPEG2Dec3.dll")
LoadPlugin("C:\dvds\moviestacker\filters\GripFit_YV12.dll")
LoadPlugin("C:\dvds\moviestacker\filters\STMedianFilter.dll")
LoadPlugin("C:\dvds\moviestacker\filters\asharp.dll")
LoadPlugin("C:\dvds\moviestacker\filters\unfilter.dll")
LoadPlugin("C:\dvds\moviestacker\filters\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf =  0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("C:\dvds\aaa_inprogress\devils.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(528, 480)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}

#
####

I saved my script as devils.avs this left me with:
devils.avs - 1.69KB

Ran TMPGenc (version 2.520.54.163):
clicked load, and loaded KVCDx3-MPEG-1-NTSCFilm.mcf (since this bitrate was < 1000, I read somewhere on this board it is better to use mpg1 with lower avg bitrates), clicked on settings, then setting for rate control chose maximum: 2000, and minimum: 450 (0.57 * 791), then click ok, then clicked on GOP Structure and checked "Output bitstream for edit (CLOSED GOP)", I dont know why I did this, I just know in one of the guides they did it =) I then saved my prodject as a TMPGenc Text prodject and was left with:
devils.tpr - 12.4k

It was getting late, so before I encoded and went to bed, I tested 1 run on CQMatic (version: rc1), the last setting it showed was 57.77 in the perdiction only mode, so then I exited to be save, and restarted cqmatic, loaded the devils.tpr, made sure full encode was selected, and clicked execute...

when I woke up this morning I found this...
devils.m1v - 935MB

just for fun, I used SLIM-G 0.0.7, choose kvcd as a format, for video: devils.m1v, for audio: devils.mp2, for output: devils.mpg, clicked MUX, and I ended up with
devils.mpg - 1.05GB

well obviously I doing something wrong, not sure if its my thoughts on how the process works, or some settings, or the fault of one of the apps im using, but any help would be appreciated.

Thanks, oxide

Dialhot 07-25-2003 08:26 AM

Doesn't seem you did whatever wrong. Seems only that "RC1" version of CQmatic won't the one that will be release 1.0 :-)

D Rated 07-25-2003 11:32 AM

I'm no expert by any means, and I haven't used CQMatic yet. However, if nothing else you may want to try your luck with ToK (ToKVCD) and see if you get more accurate results on both the prediction and encoding. And it can batch up all your work for you, so long as you have an AVS script and an extracted MP2 audio file. It will run TMPGEnc for prediction, then run the actual encode, and mux your files with bbMPEG also. Give it a shot if you have the time.

oxide 07-25-2003 02:20 PM

The night before I did the same thing with ToK instead, except I used Mpeg2, and it still came out at 859MG final, and not able to be burned =/

black prince 07-25-2003 06:56 PM

@oxide,

oxide wrote:
Quote:

DVD2AVI (version 1.76):
Opened VTS_01_1.VOB which in turn opened all 6 vobs. I previewed the movie for 1 min it showed these settings:
Aspect Ratio: 16:9
Frame Rate: 29.970 fps
Video Type FILM 99%
Frame Type: Progressive
Try setting video to Force Film which is 23.970 fps :) Then re-do
the .d2v file. The audio .mp2 should be ok :)

-bp

vhelp 07-26-2003 08:28 PM

Good catch BP :)

Quote:

Frame Rate: 29.970 fps
I missed that one !!

@ oxide..
hay thanks for checking out my app. Still needs for minor work done, but
works (mux) to kVCDs and DVD specs.

I'm also working on another app I've ben excercising on, ..a calc :)
Yes.. another v-tool for you all ta play with (from the shed, hehe)
Something to use along size w/ CQM and other apps, even if you just want
to compare again other apps with - - until kwag can incorporate (as
you all know he will) a built-in feature. I don't know how cerious others
would be about yet another calc, but I've ben contemplating getting it out
or just posting it at vcdhelp (cause I've ben meaning to do so for a while
now) Anyways..

Just wannted ta say thanks again,
-vhelp

kwag 07-26-2003 09:08 PM

Quote:

Originally Posted by vhelp
until kwag can incorporate (as
you all know he will) a built-in feature. I don't know how cerious others
would be about yet another calc

The more tools, the more toys, the more we play :mrgreen:
Yes, I already started working on that, as I posted on a thread some days ago.
Actually, it's already done 8O, but won't be released until version 2 of CQMatic. The priority on 1.0 through version 2, will be precision adjustments only.
On version 2, you'll have the calculator built in, and after you select all your choices, etc., the values will be automatically passed to the main program :)

-kwag

vhelp 07-26-2003 11:38 PM

@ Kwag..

By the time I finish debuggin things out, you'll have finished version 2 of
your built-in calc :roll: 8O :roll:

I hate hurrying up w/ fun toys!! Argg!! Good thing I can still enjoy it while
it lasts.. hehe.

I'm fine w/ your built-in calc and all. Actually, two heads are (or can be)
better than one. I mean, I can incorporate other uses w/ a stand-alone
calc, you know.. other reasons for a stand-alone. :wink:

I'll try and see what I can do about releasing a version sooner for peoples
ta play with 8O

-vhelp



Quote:

Originally Posted by kwag
Quote:

Originally Posted by vhelp
until kwag can incorporate (as
you all know he will) a built-in feature. I don't know how cerious others
would be about yet another calc

The more tools, the more toys, the more we play :mrgreen:
Yes, I already started working on that, as I posted on a thread some days ago.
Actually, it's already done 8O, but won't be released until version 2 of CQMatic. The priority on 1.0 through version 2, will be precision adjustments only.
On version 2, you'll have the calculator built in, and after you select all your choices, etc., the values will be automatically passed to the main program :)

-kwag


vhelp 07-27-2003 02:40 AM

@ all..

Just wanted to say, calc project is finished. Can see unber TMPGEnc forum.

I'm heading ta bed now, cause i"m pooped.. - nity night.
-vhelp

oxide 07-29-2003 01:04 AM

Thanks for the reply guys, sorry about the delay I had to run out of town.

Ok, I have set dvd2avi, to forced film, changing it to 23.976, but now when I open up that d2v in MovieStacker, its showing as a 144 min movie, instead of 115, and it has a bitrate of 601 instead of 791? is this correct?

Thanks
Tom


All times are GMT -5. The time now is 05:19 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.