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-14-2004 01:29 AM

KVCD: open with TMPGEnc?
 
this is my first attempt to make a script by hand. so, i have a dvd source (always) and i can only get moviestacker 2.00 beta 3. well i tried following the moviestacker 2.00 beta 3 guide and it source is an .avi (as all guides sources are .avi) so i dont know exactly what to do. i just need to know if i am doing this correctly. if not please correct me because everybody seems to forget about me or they are to busy :cry:
SOURCE:

- ntsc dvd widescreen
- interlaced: not interlaced

DESTINATION:

- KVCDx3
- Mode: mpeg2
- Framerate: 23.976
- Resolution: 528x480
- Audiosamplerate: 44.1 khz
- Audio Enc Type: mp2
- Encoding Appl: TmpgEnc
- muxing Appl: BBmpeg
- Authoring Appl: Vcdeasy
- Burning Appl: Nero

Avisynth Version

- 2.5

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")

Mpeg2Source("D:\file.d2v")

undot()
asharp(1, 4)
Gripcrop(320, 240,overscan=1,source_anamorphic=true, dest_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

i did not know what do with moviestacker or the guide so i did not use it. i tried to get an idea and i came up with this assumption with Kwag's Latest Optical Script. how do i get it to open with TMPGEnc (extention is .avs right?)?

Dialhot 07-14-2004 07:55 AM

You need to dl and install the "readavs" plugin for tmpgenc. Go there : http://www.avisynth.org/warpenterprises/

password 07-14-2004 04:26 PM

thanx Phil but i aready have that install

Prodater64 07-14-2004 04:50 PM

Quote:

Originally Posted by password
thanx Phil but i aready have that install

If you use Kwag's MA script, and Gripcrop, Gripsize and Gripborders, you don't need moviestacker for nothing.
Only need give to Gripcrop your desired target width and heigth and nothing more.
Gripborders must to be last filter.
But your posted script it is not Kawg's MA script.

Edited: I forget it. In TMPGEnc load your template, and later select your avs script as your input video.

password 07-14-2004 06:30 PM

Thanx Pro so much. :D now i am one step closer to making a kvcd. and i never knew that .avs had do be my video source in . all this tme i thought that you select .avs when you open project (thats why it did not say it was not supported). is this script right ?

## 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\New Folder\DVD2AVI_Project_file.d2v")
#
undot()
asharp(1, 4)
Gripcrop(528, 480,overscan=1,source_anamorphic=true, dest_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
}

#
####

P.S. what settings should i use for CQMatic?

Dialhot 07-14-2004 06:36 PM

Quote:

Originally Posted by password
i never knew that .avs had do be my video source in

Sorry, we forget sometimes how much simpliest things for us can be as dark as a blackhole for newbies :-)

You script is exactly like it should be. So let's go to next step : usage of CQMatic :-)

password 07-14-2004 07:15 PM

lol thats so funny . this whole time i was missing this so valuable step . and Phil you know i was a total newb from the beggining :wink: o well at least i know now and not a total newb. so in your opinon what other things should i do to my script first (like Addborders or something)

P.S. the movie is The Italian Job

Prodater64 07-14-2004 07:24 PM

Quote:

Originally Posted by password
lol thats so funny . this whole time i was missing this so valuable step . and Phil you know i was a total newb from the beggining :wink: o well at least i know now and not a total newb. so in your opinon what other things should i do to my script first (like Addborders or something)

P.S. the movie is The Italian Job

Go, go and read CQMatic thread!!

Dialhot 07-14-2004 07:35 PM

Quote:

Originally Posted by password
so in your opinon what other things should i do to my script first (like Addborders or something)

Nothing, as I already said.
You do not need any addborders as the broders are done by gripborders. Don't worry : optimal script IS optimal :-)

password 07-14-2004 08:55 PM

thanx so much Pro and Phil. :D Now i am starting to seeing the whole picture. things are going to look different from now on (including my movies :wink: ) well i browsed around the CQMatic topic and did not find the recomended setting so i assumed it would be "PREDICTIONx3 and PERDICTION ONLY" i am using it right now and the third prediction cycle CQ is 66.31 (isn't that supposed to be a bad CQ) its a 106 min movie after i used Jorel's CUBA-COFFEE technic with DVD shrink 3.1
P.S. Phil i took your advice an unistalled dvd2svcd so from now on i will be doing it by hand. 8)

password 07-15-2004 12:36 AM

i just started using CQmatic and it created CQ of 69.94 and I wanted it to do a prediction and an encode so I stopped it because I had it set up for a prediction only. I opened up TMPGEnc and changed the CQ to 69.94 and I saved the project. I opened up CQmatic and loaded the project and clicked override CQ from the normal 60 to 69.94. I was curious to see how my .m2v looked so I played it and it had a white line on the right side between the black strip and the movie that blinks on and off and goes up and down so I started encoding and when TMPGEnc started up it still had that line. Now is there an error in my script or is it CQmatic or maybe because my source is anamorphic and my output should be anamorphic.

Gripcrop(528, 480,overscan=1,source_anamorphic=true, dest_anamorphic=false)
to
Gripcrop(528, 480,overscan=1,source_anamorphic=true, dest_anamorphic=true)

Also in TMPGEnc I manually changed what would be normally 3:2 pulldown when playback would be, I changed it to noninterlaced. Is this correct? Please help :cry:
P.S. i played it in vcl player and same line but it did not jump up and down
and their faces seemed longer i think sombody explained that by saying "coneheads" also i looked in my dvd player book and it says
"Progressive Scan Video with 3:2 Pulldown" but i dont use Progressive Scan i just use the A/V (composite video, stereo audio) so should i change it to 3:2 pulldown when playback cause before i made a movie with this template with dvd2svcd (did not have the line) with chapters i pushed forward and my player stopped responding and somebody suggested my player dose not support 3:2 pulldown but it only plays kvcdx3 in mpg2 not cause i tried kvcdx3 in mpg1 but it flickers a green color with choppy sound but plays fine on my other player. any suggestions?

Dialhot 07-15-2004 03:30 AM

Quote:

Originally Posted by password
CQ is 66.31 (isn't that supposed to be a bad CQ) its a 106 min movie

Not at all. A common CQ is between 65-70. Under 60 is really bad.
Quote:

P.S. Phil i took your advice an unistalled dvd2svcd so from now on i will be doing it by hand. 8)
;-)

Quote:

Originally Posted by password
Now is there an error in my script or is it CQmatic or maybe because my source is anamorphic and my output should be anamorphic.

Nothing wrong there. You problem seems to be more related to a interlacing matter.

Quote:

Also in TMPGEnc I manually changed what would be normally 3:2 pulldown when playback would be, I changed it to noninterlaced. Is this correct? Please help :cry:
NO if your source is NTSC 23.976. YES if your source is PAL or NTSC 29.970.

But are you sure your sourse in noninterlaced ? You blinking white line gives me doubts on that.

Quote:

and their faces seemed longer i think sombody explained that by saying "coneheads"
Yes it is. That is because you asked for an anamorphic output (that we never do generally for KVCD because that lowers the CQ from several points and it's bettter to encode in higher CQ possible).
The normal aspect will be restored by the standalone BUT not by all ! So do some tests !

Quote:

somebody suggested my player dose not support 3:2 pulldown
"somebody" is wrong. All players supports 3:2 pulldown because almost ALL movie dvds are done like this ;-).

AS said above : source PAL 25 or NTSC 29.970 -> non-interlaced / source 23.976 -> 3:2 pulldown while playback.
But you can also do a 23.976 in non-interlaced WITH KVCD (not KDVD !) because some player read them with no problem.
In fact all is matter of tests, like always.

password 07-15-2004 04:13 AM

thanks Phil so much for answering all my questions. you helped more than you can ever imagine. i will give it a go. thanx again.
P.S. i would not see the white line (since it is between the movie and the "overscan") normally huh? thanx again Phil :D

Dialhot 07-15-2004 04:34 AM

enjoy :-)

password 07-16-2004 07:56 PM

well just encoded a movie and it took about 20 hours and 28 minutes and the results are not good at all. just the video is 735mb and audio is at 112kps 85.2mb. very very angry :twisted: EEEERRRRRRR!!!!!!!!!!!

Dialhot 07-16-2004 08:13 PM

20h ? what the PC you have ? I have a 1.3GHz P4 and it never take me so long (it takes half this time !)

For the accuracy : unfortunaly CQMatic is not 100% accurate but I never have so much diff. In fact that is always better to predict with audio at 128 and have the possibility to encode really at 112 in case of problems.

Prodater64 07-16-2004 08:15 PM

Quote:

Originally Posted by password
well just encoded a movie and it took about 20 hours and 28 minutes and the results are not good at all. just the video is 735mb and audio is at 112kps 85.2mb. very very angry :twisted: EEEERRRRRRR!!!!!!!!!!!

What is the muxed file size?

Dialhot 07-16-2004 08:17 PM

Quote:

Originally Posted by Prodater64
What is the muxed file size?

Something around 735 + 85 :-)

I never saw a muxed file that does less than the two elementary streams :-)

Prodater64 07-16-2004 08:22 PM

Quote:

Originally Posted by Dialhot
I never saw a muxed file that does less than the two elementary streams :-)

Yes, you are right, but if final size is not too big, still can cut final credits. I think until 835/840Mb it would be possible.

Dialhot 07-16-2004 08:25 PM

Quote:

Originally Posted by Prodater64
Yes, you are right, but if final size is not too big, sill can cut final credits. I think until 835/840Mb would be possible.

For sure. But it's true that for a first attempt, that result can make you mad ;-)


All times are GMT -5. The time now is 07:32 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.