digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: open with TMPGEnc? (http://www.digitalfaq.com/archives/encode/10897-kvcd-open-tmpgenc.html)

password 07-17-2004 05:08 AM

thanx guys not anybodys fault and i already used dvd shrink. i'll just have to try again but first my next source is widescreen not anophbic(that one word so what would be gripcrops line. example (gripcrop(320, 240widescreen_true?)

Dialhot 07-17-2004 06:58 AM

You said it all in your question : the source is non anamorphic, so the line must contain "source_anamorphic=false". That's so simple :-)

Note: NEVER use dvdshrink on a KVCD ! I don't understand how you can do that BTW.

password 07-17-2004 03:08 PM

so it is supposed to look like this (Gripcrop(320, 240,overscan=1,source_anamorphic=false)? and why shouldn't I use DVDshrink because I take out the other language, subs, and credits.

Dialhot 07-17-2004 03:27 PM

You said you solved your size problem by using dvdshrink so I assumed that you used it on the KVCD you had encoded. Did you do that or did you use it on the source ?

For the gripcrop line, yes that is okay except that320*240 is used for length above 2h30 ! I don't know what is your source lenght but you can probably use a better resolution.

password 07-17-2004 04:56 PM

Quote:

You said you solved your size problem by using dvdshrink so I assumed that you used it on the KVCD you had encoded. Did you do that or did you use it on the source ?
i used it on my dvd source and i have not solved my problem i am going to try another movie
Quote:

For the gripcrop line, yes that is okay except that320*240 is used for length above 2h30 ! I don't know what is your source lenght but you can probably use a better resolution.
my source is The Matrix, used dvd shrink to edit out the credits so the movie is 2 hours and 9 min and 21 sec. i chosed the res because it has a lot of action. so my script should look like
Quote:

# DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\THE_MATRIX\DVD2AVI_Project_file.d2 v")
#
undot()
asharp(1, 4)
Gripcrop(320, 240,overscan=1,source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "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!

#
#
## Functions ###

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

#
####
i tried with and without those lines and it wont load through TMPGEnc
my DVD drive reads as "THE_MATRIX_16X9LB_N_AMERICA(F: )"

Dialhot 07-17-2004 05:02 PM

Quote:

Originally Posted by password
i chosed the res because it has a lot of action

Okay. That's not a bad way to think like this. Just try a prediction only with CQMatic at 352*480. On this source that can give great results.
Quote:

Gripcrop(320, 240,overscan=1,source_anamorphic=false)
I am VERY surprised that the matrix is not anamorphic. Are you sure about your statment ?

The script is okay.

password 07-17-2004 05:25 PM

thanx Phil but it still wont load through TMPGEnc and should i edit this line to something?
Quote:

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
because does "16X9LB" mean widescreen letterbox

Dialhot 07-17-2004 06:32 PM

Quote:

Originally Posted by password
thanx Phil but it still wont load through TMPGEnc

And what is the error ?
Quote:

and should i edit this line to something?
Nope. All is good in this.

Quote:

because does "16X9LB" mean widescreen letterbox
You're right. That's surprising for a such blockbuster. The european edition is anamorphic.

password 07-17-2004 09:13 PM

in TMPGEnc an error popped up that said "file "D:/the_matrix.avs" can not open or unsupported" but I changed in the avs to a different .d2v

Prodater64 07-18-2004 03:48 AM

Quote:

Originally Posted by password
in TMPGEnc an error popped up that said "file "D:/the_matrix.avs" can not open or unsupported" but I changed in the avs to a different .d2v

Be sure that you have correct DVD2AVI.vfp file into your TMPGEnc folder.

Dialhot 07-18-2004 05:46 AM

that will suprise you but what you missed is the XVID codec. Yes, xvid.

password 07-18-2004 02:54 PM

Quote:

Be sure that you have correct DVD2AVI.vfp file into your TMPGEnc folder.
i did that and did not work
Quote:

that will suprise you but what you missed is the XVID codec. Yes, xvid.
why xvid ? and where do i get it at? i downloaded nics xvid codec and keeped closing and opening TMPGEnc unil it worked but when it opened the .avs it says "MPEG-1 476x56 24fps CQ 60" and it looks like a bad tv reception. it varies every time i open it .

password 07-18-2004 03:08 PM

thanx for the help Pro and Phil :D it worked and i found the problem of the color disortion and :oops: it was in front of us the whole time and it was
Quote:

Gripcrop(320, 240,overscan=1,source_anamorphic=false)
and not
Quote:

Gripcrop(352, 240,overscan=1,source_anamorphic=false)
but i think it was the xvid codec that made it work but why? :?

password 07-18-2004 03:28 PM

and one more thing i open TMPGEnc and load "KVCD-CQ-352x480-_NTSCFilm_-PLUS" and then open the .avs and checked the settings and i noticed that the video source type changes to interlaced but dvd2avi says the video type is "film" and frame type is "progressive" :? i am going to change it to progressive anyways . thanx for the help :D

Dialhot 07-18-2004 06:25 PM

[quote="password"]
Quote:

Gripcrop(352, 240,overscan=1,source_anamorphic=false)
Correct ! And the ...x56 resolutino you have indicated that tehre was an error. here the error was "Gripcrop don't know this resolution (320*240)" or somethign close.

ANYTIME ytou have something in ...x56, open the script in a mediaplayer or in virtualdub and you will have the error message.

Quote:

but i think it was the xvid codec that made it work but why? :?
Magic :-)

TMPGENC works in the YUY2 colorspace, the scripts producses a picture in YV12, so you need to have a YV12->YUY2 convertor on your PC. That is were Xvid codec is used. It is not at all for the codec part of the soft, bu only the colorspace convertor ;-)

password 07-18-2004 08:30 PM

thanx Phil i am also trying 352x480 :wink:


All times are GMT -5. The time now is 01:57 AM  —  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.