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)

mrj03 07-10-2003 04:53 PM

Re: 704X480 resolution template
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by mrj03
How do you change the " TARGET RESOLUTION " using DVD2SVCD ??

You have to be in "advandced user" level (in misc tab) and then you'll have the "target res" setting allowed in the frameserver tab.

I verified the ADVANCED user was there but when I go into FRAMESERVER these isn't a "TARGET RES" setting. Only resize to:
That doesn't allow you to CHOOSE your resolution other then VCD,SVCD,DVD,CVD.

kwag 07-10-2003 04:54 PM

Re: ---------> THANKS
 
Quote:

Originally Posted by mrj03
This link doesn't work. Can you post the working one please...

That sample is long gone :)
It's been superceded by the latest samples with the new scripts. I deleted all samples that were done before the adaptive scripts and latest techniques. Search the forum for "k19" or "k-19" and you'll find the new ones ;)

-kwag

Thomas Davie 07-16-2003 09:41 PM

Wow! Amazing results for a fire and forget program
 
I bought Harry Potter COS (yeah, despite my age, and I also pre ordered the new book too :)) DVD in full screen DVD format, and thought why not try backing it up. I'm still not sure if it's some perverse technical thrill or I am actually attempting to preserve an investment. Anyways, after about 4-5 days, I finally felt comfortable enough with DVD2SVCD that, as I was whiling away my lunch hour at work today, I thought of how to go about the backup.

Cruising my usual lunch time websites, I came here and read about the KVCD_LBR.ini and matrix.ini for DVD2SVCD. Why not? So, when I got home, I downloaded the newest KVCD_LBR.ini (I think), and the matrix.ini. Backed up my current settings into a zip file, and droppped the new ones into place. Fired up the program, and let it rip. I burnt the CD as a non standard VCD in Nero, and it works perfectly on my DVD player (2 Initial DVD-9510 portables; one hooked up to my TV and the other one tends to follow me around).

I can't believe the quality that is there for 160 minutes of AV stuffed onto one 80 minute CD. Thanks Kwag, very much.

Now, here's a question for you; the DVD I bought was a full screen 4:3 version. I selected 4:3 no borders (encoded as 4:3) in DVD2SVCD. My TV is 4:3. This is how it plays back with no bars on top or bottom. However, when I play the mpeg on my computer, I got the top/bottom black bands; although, I have not yet tried the VCD inside of a program such as PowerDVD....just as a raw mpeg inside of Windows Media Player 9.

Anyways, thanks for all the hard work.

Tom

kwag 07-16-2003 10:05 PM

Re: Wow! Amazing results for a fire and forget program
 
Quote:

Originally Posted by Thomas Davie

I can't believe the quality that is there for 160 minutes of AV stuffed onto one 80 minute CD. Thanks Kwag, very much.

Thanks Tom :)
Quote:


Now, here's a question for you; the DVD I bought was a full screen 4:3 version. I selected 4:3 no borders (encoded as 4:3) in DVD2SVCD. My TV is 4:3. This is how it plays back with no bars on top or bottom. However, when I play the mpeg on my computer, I got the top/bottom black bands; although, I have not yet tried the VCD inside of a program such as PowerDVD....just as a raw mpeg inside of Windows Media Player 9.

Anyways, thanks for all the hard work.

Tom
You should probably try it with WinDVD and PowerDVD. Most probably, the aspect will be correct. I don't trust WMP ;)

-kwag

Thomas Davie 07-17-2003 10:12 AM

Did try with Power DVD, and the aspect ratio is correct
 
Boy, do I feel like a dummy :oops: I tried backing up Gladiator 7 times, and kept at it all because when I looked at the muxed mpeg in Windows Media Player, it had the 'black bars'. I guess when I get home tonight, I'll try again, and this time just go ahead and burn to a CD, and then see how it looks.

As an aside (and I apologize because I realize this has been dealt with elsewhere....I just don't understand the answer), let's say that I wanted to use KVCD-CQ-352x480-_NTSCFilm_-PLUS inside of DVD2SVCD; how would I go about doing that? I know that I would need a KVCD-CQ-352x480-_NTSCFilm_-PLUS.ini, but am ignorant as to how to create one.

thanks again.

Tom

Dialhot 07-17-2003 11:57 AM

It's normal to have black bars on Gladiator : it's a 2.35:1 movie. When you encode it into KVCD (that is 4:3), big black borders are added at top and bottom.

How do you want to make a rectangular picture enter in a (near) square one without this ?

Thomas Davie 07-17-2003 10:29 PM

Oh, I was unaware of this
 
I don't read the backs of packages :oops: I had just assumed that it would not have these black bars (part of the learning process). Still, it ripped/encoded okay, and looked a lot better on my tv than I thought it would. Albeit a *tiny* bit squashed so that people's faces would look thinner than normal.


Question: after reading the package and DVD more clearly, Gladiator is a 2.35:1 ananmorphic DVD (purchased in Canada). I've got a 4:3 TV. In order for the aspect ratios to look correct, which of the three options in DVD2SVCD should I be selecting;

a) 4:3 (no borders encoded as 4:3)
b) 16:9 (borders added, encoded as 4:3)
c) anamorphic (no borders, encoded as 16:9)

I don't mind making mistakes as long as I learn :)

Tom

Dialhot 07-18-2003 04:13 AM

I you have modified you dvd2svcd.ini file in order to use the last MA script with D2S, you don't have to do anything : the script use GripFit that manages anamorphic source by default.

Now, with the basic resizing method of D2S (Bilinear, Bicubic or SimpleResize), you have to set to :

b) 16:9 (borders added, encoded as 4:3)

Thomas Davie 07-18-2003 06:46 AM

Uhm....don't know how to do that
 
And also don't know about this cript to which you are referring. Additionally, I would assume that I would be modifying my LBR.ini instead? Could you pleast post the modification and how to do it?

thanks

Tom

Dialhot 07-18-2003 07:34 AM

In this tread you'll find an adaptation of the script of 23th of june.

Just report the last changes of the MA script in the example given, its easy. I don't have the script on my office PC.

http://www.kvcd.net/forum/viewtopic.php?t=4424&start=32

Thomas Davie 07-18-2003 10:34 AM

This is the most recent script?
 
This is from that thread you referenced me to, but it is (as of this posting) the last post in the thread;

[AVISYNTH_SemiAutoCropAndResize_With_MAF]
0=DetectedTop=^DetectedTop DetectedHeight=^DetectedHeight
1=BlocksToCropHorizontal=^BlocksToCropHorizontal BlocksToCropVertical=^BlocksToCropVertical BlockOptimization=^BlockOptimization
2=ResizeMethod=^ResizeMethod Bicubic_b_Value=^b_value Bicubic_c_Value=^c_value
3=GammaCorrection=^GammaCorrection Hue=^Hue Saturation=^Saturation Brightness=^Brightness Contrast=^Contrast
4=DebugMode=^DebugMode
5=DestinationWidth=^TargetWidth
6=DestinationHeight=^TargetHeight
7=LoadPlugin(!undot.dll)
8=LoadPlugin(!StMedianfilter.dll)
9=LoadPlugin(!asharp.dll)
10=Loadplugin(!UnFilter.dll)
11=LoadPlugin(!SimpleResize.dll)
12=Import(!SemiAutoCropAndResize.avs)
^DetectedTop=12
^DetectedHeight=552
^BlocksToCropHorizontal=2
^BlocksToCropVertical=2
^BlockOptimization=16
^ResizeMethod=2
^b_value=0.0
^c_value=0.6
^GammaCorrection=1.0
^Hue=0
^Saturation=1.0
^Brightness=0
^Contrast=1.0
^DebugMode=0
!SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll
!SemiAutoCropAndResize.avs=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\AutoCrop\SemiAutoCropAndResize.avs
13=MaxTreshold = 1.50
14=nf=0
15=DetectedTop=^DetectedTop DetectedHeight=^DetectedHeight
16=undot()
17=Limiter()
18=asharp(1, 4)
19=STMedianFilter(8, 32, 0, 0 )
20=MergeChroma(blur(MaxTreshold))
21=MergeLuma(blur(0.1))
22=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) ")
23=function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 }
!undot.dll=C:\mIRC\Download\filters_25\filters_25\ UnDot.dll
!StMedianfilter.dll=C:\mIRC\Download\filters_25\fi lters_25\STMedianFilter.dll
!asharp.dll=C:\mIRC\Download\filters_25\filters_25 \asharp.dll
!UnFilter.dll=C:\mIRC\Download\filters_25\filters_ 25\UnFilter.dll

So, all I would have to do is make an entry in my LBR.ini and paste it in?

thanks

Tom

Dialhot 07-18-2003 05:08 PM

No, you gone too far into the thread. Didn't you see my post with a much simple script ? ;-)

BTW, I'm at home now so I can give you the last script I use into DVD2SVCD. Note that there are some llittle diff with the "official" MA script as I use TemporalCleaner insteed of TemporalSoften and don't like "Limiter()" at all, so I removed it.
Code:

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

And yes, you have to add a new section at the end of the LBR.ini file then load it in DVD2SVCD. You'll then have a new choice in the "frameserver" tab called "Adaptative Filter"

Thomas Davie 07-19-2003 09:51 AM

Thanks for the response Phil. Your script seems easy enough for me to implement without screwing anything up. And of course I will back up what I've got before trying.

I assume that you are using Avisynth 2.52, correct? I'm currently using 2.08, but can easily switch to 2.52. At the moment, I'm not using any extra plugins, so I wouldn't have any compatability problems from that angle; looking at your script, I gather I would have to download the following filters..... 1) undot.dll 2) Asharp.dll 3) STMedianFilter.dll Are there any others that I would need for your script? I've also downloaded GripFit (both preview and a YV12 version), LegalClip, and mpeg2dec3

If they are needed, would I load them in by adding LoadPlugin commands to the script, or could I just place them in the AViSynth 2.5 plugins folder (either under the AviSynt 2.5 folder, or in the DVD2SVCD subfolder)?


thanks very much

Tom

Thomas Davie 07-19-2003 10:04 AM

A very quick followup
 
If I do have to use LoadPlugin commands in the script to be able to use the plugin dll's, is there an optimal or proper order of placement? In a message section title 'Latest Scripts', I see that Kwag has used LoadPlugin commands in a specific order.....


just wondering.

Tom

Dialhot 07-19-2003 11:38 AM

1/ for sure I use AVS2.52

2/ you have listed all the filters needed, DL all the ones you don't have and put them into the directory "plugins" of avs2.52

3/ I repeat it again and again : No need of loadplugin lines with avs2.52. It autoloads every plugins that are into the "plugins" directory.

4/ even with avs2.08 you don't need to include legalclip.dll as it is a builtin command since a long time now !

jorel 07-19-2003 11:45 AM

:idea:

changing something important in the your script Phil:

[AVISYNTH_Adaptative Philter]
the remainders lines stills the same.
:lol:

seems a great script :!:
:wink:

jorel 07-19-2003 08:17 PM

Phil,
i encode using the script that you posted
and compare the results....

it's really really better :!:
:D
big differences in quality and final size
using the same CQ that i was used before.
i need final size with 284mb with audio(160) 37.64mb

video size with the last best script :arrow: 247mb
video size with your new script :arrow: 238mb.

:wink:

Thomas Davie 07-20-2003 01:12 AM

I got an error with your script
 
1. Downloaded Avisynth 2.52
2. Downloaded all appropriate filters and placed in the AviSynth2,5 Plugins directory
3. Pasted your script to the end of my KVCD_LBR.ini file
4. Started D2S and loaded the ini file
5. Ran an AVI file and it processed until halting on encoding with TMPGEnc Plus 5.913

The error was 'Illegal Function in line 5 GripCrop'

Any ideas?

thanks

Tom

Dialhot 07-20-2003 01:19 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Thomas Davie
The error was 'Illegal Function in line 5 GripCrop'

You have to put Gripfit_yv12.dll into plugin directory.

Thomas Davie 07-20-2003 01:37 AM

Re: I got an error with your script
 
Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Thomas Davie
The error was 'Illegal Function in line 5 GripCrop'

You have to put Gripfit_yv12.dll into plugin directory.

But it is in the directory. Could the problem be that the Gripfit_Preview.dll is also there?

thanks for all your help

Tom


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