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:

Strikse 09-02-2003 04:45 PM

Hi
My problem is that my permanent subtitles are all blurred out and imposible to read :?:

I dont know if you need it, but here is the log:

WNASPI32.DLL 4.71.2.0
--------------------------------------------------------
- 02-09-2003 23:17:04
- AVI to SVCD Conversion
- AVI2VCD ver. 1.2.1 build 1
--------------------------------------------------------
Initializing
- C:\MOVIEZ\Samples\Test.avi
Initializing finished.

Saving Subtitles ini file
--------------------------------------------------------
- 02-09-2003 23:17:10
- Free on drive C: 22904.79 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 02-09-2003 23:17:10
- Free on drive C: 22903.86 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 02-09-2003 23:17:12
- Free on drive C: 22903.86 mb
- AUDIO conversion
--------------------------------------------------------

Converting MP2 to WAV. Filename: C:\PROGRAMZ\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing MADPlay (mp2 to wav). Commandline:
"C:\PROGRAMZ\DVD2SVCD\MADPlay\madplay.exe" --quiet --output=wave:"C:\PROGRAMZ\DVD2SVCD\Movie\Encoded_au dio_1.mp2.wav" "C:\PROGRAMZ\DVD2SVCD\Movie\Extracted_audio_1. mpa"
Conversion (mp2 to wav) of C:\PROGRAMZ\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.


Encoding Audio. Filename: C:\PROGRAMZ\DVD2SVCD\Movie\Extracted_audio_1.mpa
Executing BeSweet. Commandline:
"C:\PROGRAMZ\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\PROGRAMZ\DVD2SVCD\Movie\Encoded_audio_1.mp2.wa v" -output "C:\PROGRAMZ\DVD2SVCD\Movie\Encoded_audio_1.mp 2" -logfile "C:\PROGRAMZ\DVD2SVCD\Movie\Encoded_audio_1.lo g" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 128 -m d )
Audio conversion of C:\PROGRAMZ\DVD2SVCD\Movie\Extracted_audio_1.mpa finished.

Audio conversion finished.

--------------------------------------------------------
- 02-09-2003 23:17:31
- Free on drive C: 22891.95 mb
- Video Encoding using TMPGEnc
--------------------------------------------------------
Saving Subtitle Timecodes.
Permanent subtitles.
- Encoding C:\PROGRAMZ\DVD2SVCD\Movie\AviSynth_Script_file.av s
StreamSectors: 833934864
AudioSectors: 1055096
VideoPAPO: 12901752
ScanOffsetBytes: 0
SeqAligningBytes: 0
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 819978012.00
Seconds: 65.02
CalcMPEGStream: 819978012.00
Frames: 1439
CDSize: 800.00
Number of CDs: 1
Cut point 795.00
Using CQ Value: 25.00
Executing TMPGEnc. Commandline:
"C:\DVD-RIP & DIVX\AVI til SVCD\TMPGNC\TMPGEnc Plus 2.59\TMPGEnc.exe" "C:\PROGRAMZ\DVD2SVCD\Movie\TMPGEnc_Project_file.t pr" /Encode /Close
Video Encoding finished.

--------------------------------------------------------
- 02-09-2003 23:19:17
- Free on drive C: 22883.59 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\PROGRAMZ\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 02-09-2003 23:19:20
- Free on drive C: 22883.58 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\PROGRAMZ\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 02-09-2003 23:19:23
- Free on drive C: 22883.58 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\PROGRAMZ\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 02-09-2003 23:19:25
- Free on drive C: 22883.58 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\PROGRAMZ\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\PROGRAMZ\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\PROGRAMZ\DVD2SVCD\Movie\bbMPEG_Muxed_File. mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 02-09-2003 23:19:29
- Free on drive C: 22875.02 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\PROGRAMZ\DVD2SVCD\Movie\bbMPEG_Muxed_File00.mpg
56.800 seconds C:\PROGRAMZ\DVD2SVCD\Movie\bbMPEG_Muxed_File00.mpg
Analyzing finished.

--------------------------------------------------------
- 02-09-2003 23:19:41
- Free on drive C: 22875.02 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\PROGRAMZ\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="C:\PROGRAMZ\DVD2SVCD\Movie\CD_Image_File_CD1 .cue" --bin-file="C:\PROGRAMZ\DVD2SVCD\Movie\CD_Image_File_CD1 .bin" "C:\PROGRAMZ\DVD2SVCD\Movie\VCDXBU~1.XML"
Image creation finished.

--------------------------------------------------------
- 02-09-2003 23:19:47
- Free on drive C: 22864.76 mb
- Conversion done!
--------------------------------------------------------

Uh, almost forgot, is it possible to make the borders smaller ?

Thanks

Dialhot 09-02-2003 05:34 PM

Quote:

Originally Posted by Strikse
My problem is that my permanent subtitles are all blurred out and imposible to read :?:


- AVI2VCD ver. 1.2.1 build 1

The problem with permanent subtitles is known and already corrected in 1.2.1 build 2 that was delivered today :-)

Quote:

Uh, almost forgot, is it possible to make the borders smaller ?
Which borders ? top/bottom or left/right ?
Which script did you used in frameserver tab ?

Strikse 09-03-2003 12:40 AM

Quote:

The problem with permanent subtitles is known and already corrected in 1.2.1 build 2 that was delivered today
hehe...picked up version 1.2.1 build 1 yesterday, so i didnt thought about checking for a new version...thanks

Quote:

Which borders ? top/bottom or left/right ?
Which script did you used in frameserver tab ?
I mean the top and bottom borders.

I am at work at the moment so ill be back with more infomation later. :)

Strikse 09-03-2003 05:18 PM

Downloaded ver 1.2.1 build 2

I can't see any subtitles when frameserver resize is set to: VCD 352x240/288 but when frameserver is set to: SVCD 480x480/576 there is subtitles

border problem is solved with new version :)

Strikse 09-06-2003 05:49 PM

120 min of movie on 1 cd ?
 
Is it normal when making a 120 min of movie on 1 cd, the borders (top and Bottom) are size 180 when using cvd 352x480 in frameserver ?

I have read that it is possible to get great quality with 120 min. on 1 cd.

what do you guys do ?

Dialhot 09-06-2003 07:25 PM

Re: 120 min of movie on 1 cd ?
 
Quote:

Originally Posted by Strikse
Is it normal when making a 120 min of movie on 1 cd, the borders (top and Bottom) are size 180 when using cvd 352x480 in frameserver ?

These values are irrelevant : borders depend only on the aspect ratio of the source, not to its length.

You can have all kinds of values for the borders according to your source ratio.

cable_loco 10-11-2003 08:05 PM

This link http://www.kvcd.net/kvcd_lbr.ini
is not working ???

kwag 10-12-2003 10:36 AM

Quote:

Originally Posted by cable_loco
This link http://www.kvcd.net/kvcd_lbr.ini
is not working ???

It's really not needed any longer.
That was done before DVD2SVCD had integrated KVCDs matrix, etc.
The latest versions of D2S already do, so the file is not needed.
Simply change the MIN bitrate to 300Kbps and the MAX to 1,150Kbps.
That's the same as the LBR settings. Or MIN 64Kbps, MAX 900Kbps for ULBR settings.

-kwag


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