digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: ini files to use KVCD_LBR parameters for DVD2S(K)VCD (http://www.digitalfaq.com/archives/encode/1394-dvd2svcd-ini-files.html)

jorel 07-20-2003 04:35 AM

Thomas Davie
:wink:

this is the script using autoload working without any problem
with all filters in plugins folder of avisynth 25!
is the same used to got the results in my last post here!

[AVISYNTH_Adaptative Philter]
0=FieldDeinterlace()
1=nf=0
2=GripCrop(^TargetWidth,^TargetHeight+^BorderTop+^ BorderBottom,overscan=^overscan,source_anamorphic= ^source_ana,dest_anamorphic=^dest_ana)
3=GripSize(resizer="BiCubicResize")
4=Undot()
5=Asharp(1,4)
6=STMedianFilter(^S_FilterThreshHold,^S_EdgeThresh Hold,0,0)
7=MergeChroma(blur(^blur_chroma))
8=MergeLuma(blur(^blur_luma))
9=SwitchThreshold=(Width<=352)?4:(Width<=480)?3:2
10=ScriptClip("nf=round(YDifferenceToNext())"+chr( 13)+"nf>=SwitchThreshold?unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))):TemporalCleaner(6+nf,11+nf)")
11=GripBorders()
12=function fmin(int f1,int f2){return(f1<f2)?f1:f2}
^overscan=1
^source_ana=false
^dest_ana=false
^S_FilterThreshHold=8
^S_EdgeThreshHold=32
^blur_chroma=1.58
^blur_luma=0.1

in my case i need "fielddeinterlace",if you don't need,
only remove and correct the numbers in the script.
if you got problems using this script check the filters.
are you using tmpgen259? (i don't understand your version posted)
change, some people got problems with 259 version!

:wink:

edited:
corrections in the script..
was TemporalCleaner(6+nf,13+nf)") and
now TemporalCleaner(6+nf,11+nf)") is better.
thanks Phil.
:)

Thomas Davie 07-20-2003 05:27 AM

Jorel, my script is exactly the same as yours, except that there is some extra space between the end of a few characters and some commas, and the fact that I do not need PAL. I suppose it is possible when I originally copied and pasted that I made some mistake, so no I try yours.

Cheers, and a beery good night.

Tom

Dialhot 07-20-2003 07:12 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Thomas Davie
But it is in the directory. Could the problem be that the Gripfit_Preview.dll is also there?

Yes it is. The autoload feature reads the plugin one by one in alpabetical order until it finds the function it needs.
Here it looks for "GripCrop", finds it in "Gripfit_preview" (that is before Gripfit_yv12 in alpha order), and tries to use it. That's wrong.

In a general way, don't put any dll designed for 2.0x (like gripfit_preview) into the plugin directory of 2.5x

Dialhot 07-20-2003 07:23 AM

Quote:

Originally Posted by jorel
TemporalCleaner(6+nf,13+nf)

Little fix there : as SwitchThreshold can be egual to 4 and the limits for temporalcleaner parameters are (10,15), the correct line is :

TemporalCleaner(6+nf,11+nf)

Quote:

are you using tmpgen259? (i don't understand your version posted)
change, some people got problems with 259 version!
Everyone making MPEG1 encoding had :!: That's a bug in this tmpgenc version (it does every MPEG1 video in CBR where KVCD need VBR).

jorel 07-20-2003 08:20 AM

thanks Phil!

i did this corrections in the script on my first post of this page!

:)

Thomas Davie 07-20-2003 09:45 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Thomas Davie
But it is in the directory. Could the problem be that the Gripfit_Preview.dll is also there?

Yes it is. The autoload feature reads the plugin one by one in alpabetical order until it finds the function it needs.
Here it looks for "GripCrop", finds it in "Gripfit_preview" (that is before Gripfit_yv12 in alpha order), and tries to use it. That's wrong.

In a general way, don't put any dll designed for 2.0x (like gripfit_preview) into the plugin directory of 2.5x

Ah thanks! Change made and I'm going away to have breakfast and another shot at success. I had gone to a plugin repository site referenced from Avisynth.org, and neither of the gripfits were listed. So, I just assumed (and wrongly :)) that anything not in there must be newer.

A quicj question; GripCrop is supposed to be finding paraemeters or having parameters passed to it via other programs, correct? And not having had informatrion put into the brackets before starting the program? I did download what little documentation was available for GripFit, but could not figure this out.

thanks Phil

Tom

Thomas Davie 07-20-2003 10:04 AM

I'll answer my own question
 
Hving removed all references to the preview version of Gripfit from my system (and I guess, specifically in the AviSynth2.5 Plugins folder did the trick bewcause a 90 minute television show (MST3K) is happily encoding away as I type.

There appears to be some writing at the top of the encoding, but my nleary, bloodshot eyes will have to rest for a bit.

Absolutely fascinating learning about this stuff.

Tom

Pikku-Kalle 07-24-2003 12:45 AM

Kwaq!
I used your ini files and got two files with audio out of sync.
I changed the prediction to 0.95 as you said in earlier post and
got only one file but the audio is still out of sync.
Any suggestions? :?:

Dialhot 07-24-2003 04:07 AM

What is your source ?

Pikku-Kalle 07-24-2003 05:23 AM

My source is dvd.

Dialhot 07-24-2003 05:43 AM

You convert a DVD into a KVCD with DVD2SVCD and you have synch problem ?

Strange... D2S handles that point very well normaly. Do you have 1.1.3 build 2 ? Jorel always said this version has problems.

Can you confirm Jorel ?

kwag 07-24-2003 05:45 AM

Pikku-Kalle,

I assume you played your mpeg file in WMP :?:
If you used WinDVD or PowerDVD, your audio will probably sound out of sync, because they don't behave correctly with MPEG-1 VBR (if that's what you encoded)
If it sounds in sync in WMP, stop reading, because your file is correct :)
Read on if above is still out of sync in WMP.
If you ripped the process with DVD2SVCD, use the other option to rip. I believe DVD2SVCD uses vstrip and another one I can't recall the name now. So change the internal ripper to the one you didn't use. If that doesn't fix the problem, then the problem is with the source. I've had a couple of movies that failed miserably after about half of the movie. I recall "Kate & Leopold", where we had to extract the audio with MPEG Mediator and then encode to .mp2, because the audio extraction with DVD2AVI (to AC3) and later encoded to .mp2 always cause the out of sync issue. So there are many conditions that can cause the problem. Hopefully, with one of these methods, you'll get your audio back in sync ;)

-kwag

Pikku-Kalle 07-24-2003 05:56 AM

@Dialhot
Yes I have 1.1.3 build 2. Should I try another version?

@Kwaq
I used dvd decrypter for the ripping. Maybe I should let dvd2scvd rip it?

Pikku-Kalle 07-24-2003 05:59 AM

I don't remember if tried it in WMP, but I will as soon as I get
home from work and I'll let you know.
Thanks for the advice Kwag & Dialhot.

jorel 07-24-2003 06:05 AM

Quote:

Originally Posted by Dialhot
You convert a DVD into a KVCD with DVD2SVCD and you have synch problem ?

Strange... D2S handles that point very well normaly. Do you have 1.1.3 build 2 ? Jorel always said this version has problems.

Can you confirm Jorel ?

yes Phil,
i confirm but not with audio/video sincro.
i got problems with tmpgenc in d2s(and tons more members in d9 too)

then i change to d2s 113build3beta7 and all problems gone.
was founded here,don't use right click(save as )or download managers:

for you Pikku-Kalle (welcome in forum)and all:

http://forum.doom9.org/showthread.php?s=&threadid=51096

:wink:


:)

kwag 07-24-2003 06:17 AM

Quote:

Originally Posted by Pikku-Kalle

@Kwaq
I used dvd decrypter for the ripping. Maybe I should let dvd2scvd rip it?

If you did, then it seems the problem is in the audio extraction.
If you use DVD2SVCD for ripping, and the problem persists, then extract your audio with MPEG Mediator.

-kwag

Pikku-Kalle 07-25-2003 06:21 AM

Still out of sync. I tried everything.
I did a one cd svcd and had no problems, except the quality sucks.
But when I put those modified inis, I start having problems
with the audio. I'm trying different settings now so I'll get back
when I have some results.

jorel 07-25-2003 06:27 AM

can you post the d2s log and "encoded audio" log :?:
:)

Pikku-Kalle 07-25-2003 05:37 PM

Sorry for delay on responses.
I used Avalons guide and matrices and now the audio is in sync.
Thank you all for trying to help me.

t1955feb 08-31-2003 03:28 PM

skvcd
 
Thanks for the template it works great but is it possible to make to make one for SKVCD?
Thanks :lol:


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

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