digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   My kvcd has out of sync sound? (http://www.digitalfaq.com/archives/encode/6396-kvcd-sync-sound.html)

epoj 10-29-2003 12:48 AM

My kvcd has out of sync sound?
 
:oops:
I am in Thailand my kvcd out of sync sound & movies
I use MovieStacker to make .AVS then I use Tok and
Encode (Tmpgenc)
Please Intro me.Thank you.

Dialhot 10-29-2003 04:25 AM

Did you test your player with valid KVCD samples before making your own ? Perhaps it is not compatible.

epoj 10-29-2003 04:44 AM

:oops: I not full encode.I multiplex audio and video with Tmpgenc and open it with my computer. I am Pal user and my movie is ntsc 23.xxx fps.

Dialhot 10-29-2003 05:06 AM

I do not understand : where do you find the video and audio files you multiplex ?

Can you also tell me what are the video codec, the audio codec, and the demuxer (or splitter) used on your PC when you read the video ?
(you can see that in zoomplayer or with tolls like gspot)

Tell me also what is the kind of PC your have ?

epoj 10-29-2003 11:05 PM

{I have Athlon XP 2400+ ram 512 Hdd 120(c:=20,d:=100)Mainboard Gigabite GA7va matrox millianium 450 16mb}

1.I put .avs and Audio file(.mp2) with Tmpgenc.
I use a dvance setting>Source range for test my movie about 10 sec.
Then i have .mpg and it out of sync.

2.Last night i try to use this script

------------- Beginning of the script. Cut here and past on a .AVS file---------------------------------
################################################## ################
# Using Kwag’s Motion Adaptive Filtering to get more compression #
################################################## ################
##############
# Parameters #
##############
myanamorphic=true # change to false if on step 6 you had 4:3 instead of 16:9
#Use 720 or 352 to KDVD, 528 352 to K(S)VCD
subtitle="VTS_01_0.sub" # Add a# in the beginning of this line if you don't need
#subtitles or change for the name of the sub file created on step 7.
movie="name_of_the_project_DVD2AVI.d2v"
myoverscan=1 # Test values from 0 to 3 here. Bigger files produce more quality but
#a value too big will cause undesirable black borders on your TV.
MaxTreshold = 1.50
nf = 0 # Current frame.
################
## Functions ###
################
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
##########
# Script #
##########
MPEG2Source(mymovie)
#Resize, over scan and borders
undot()
Limiter()
asharp(1, 4)
GripCrop(352,288,overscan=1,Source_anamorphic=myan amorphic,dest_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:
SwitchThreshold = (Width<=352) ? 4 : (Width<=288) ? 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) ")
#
#
#
GripBorders()
#Subtitles #
############
VobSub(my subtitle) # Add a # in the beginning of this line if you don't need
#subtitles.
converttoyuy2()
--------------------------------------- end of script -------------------------------------------

And do step 1. again the .mpg it OK .

Mow I go to nexrt step.

2.1 I follow this guide
{Divide the number of frames by the number of minutes, and divide the result by GOP.] and
- I want .mpg file to fit in 1cd 80 mim
- My audio is 128 kps
- My original movies is ~133 min

In the end i got ~ 11 mb for sampler and i add "sampler (length=GOP)"in my avs script after i encode the .m1v is ~ 11.5 mb (happy)
:D (352x288 CQ 71 pal)
Time to full encode :arrow: after that i got .m1v 652 mb.Then i use Tmpgenc to multiplex video(.m1v) and audio(.mp2 ) the .mpg file is over my 1 cd . :oops:

That it all.

(I not so good in english)

Dialhot 10-30-2003 04:30 AM

Do not use that method for determining the filesize. Use automatic tools like CQMatic (see the appropriate forum here).


All times are GMT -5. The time now is 08:42 PM  —  vBulletin © Jelsoft Enterprises Ltd

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