digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Audio and Visual Sync problems, incomplete encodes? (http://www.digitalfaq.com/archives/avisynth/2475-avisynth-audio-visual.html)

gyrene2083 02-03-2003 01:49 PM

Avisynth: Audio and Visual Sync problems, incomplete encodes?
 
I initially posted on Headache regarding Audio and Visual Sync problems. http://www.kvcd.net/forum/viewtopic.php?t=2658
I spoke to kwag and he told me to run this .avs file, which I did. Now when I set start to encode video it appears to be grabbing bits and pieces of the movie from different sections. ie, Some in the beginnning some in the middle and end.

I followed your post on the optimal settings for TMPGEnc. I am using TMPGEnc 2.510, I used DVD2AVI 1.76, I used HeadACHE, which is what I have right now for not sleeping in three days.

I'm so flustered at this point, any help so I can get a decent's nights sleep would be awesome.

I'm also going to post this on AVISYNTH.

Someone please help a Veteran
-Semper Fi

ARnet_tenRA 02-03-2003 01:52 PM

gyrene2083,

Please post you avs file so that we can take a look. :D

gyrene2083 02-03-2003 02:09 PM

It's on that link
 
The following is from what I posted and the avs file I got from Kwag.

gyrene2083 wrote:
once i install that, do i have to run something or just install it and i can encode?

Kwag wrote:
Once you install it, you will be able to open avisynth scripts, which have the extension .avs
Here's a script that you can use as a template to experiment. Just copy and paste into notepad and save it as master.avs or any other name you want with the extension .avs:

Code:
LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\dustv5.dll")

mpeg2source("My_Movie.d2v")
LegalClip()
GripCrop( width=352, height=240, overscan=1 )
GripSize()
SpaceDust()
FluxSmooth()
GripBorders()
LegalClip()
Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##


As you have already downloaded the KVCD LBR template, you are already set to encode at that resolution 352x240. I've set the script above just for that. You only have to change the line mpeg2source("My_Movie.d2v") to point to your .d2v file, and that's it
So just open the .avs file as source with TMPEG and try it out.
The filters in the script are available here: http://www.kvcd.net/forum/viewtopic.php?t=2553

-kwag

Last edited by kwag on Sun Feb 02, 2003 1:57 am, edited 1 time in total

KingTuk 02-03-2003 03:10 PM

you don't need this line:

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##

This is only for file prediction...

labomba 02-03-2003 03:12 PM

Hi gyrene2083

First I beg your pardon for my english, but I'll try to help you, I spend many night trying to understand these guys :) .
I'll repost the Kwag script but numbering the lines, ok? :idea:

Code:
1 LoadPlugin("C:\encoding\mpeg2dec.dll")
2 LoadPlugin("C:\encoding\fluxsmooth.dll")
3 LoadPlugin("C:\encoding\GripFit_preview.dll")
3 LoadPlugin("C:\encoding\legalclip.dll")
5 LoadPlugin("C:\encoding\sampler.dll")
6 LoadPlugin("C:\encoding\dustv5.dll")
7
8 mpeg2source("My_Movie.d2v")
9 LegalClip()
10 GripCrop( width=352, height=240, overscan=1 )
11 GripSize()
12 SpaceDust()
13 FluxSmooth()
14 GripBorders()
15 LegalClip()
16 Sampler(length=24)
17 ## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##

This script is prepared to make a sample of your total encoded output, instead you wait 4/5 hours (sometime 14/15h :roll: ) to see the results. You'll have a sample with 1 second of every minute of whole film, in few minutes. So, the filesize of this sample is used to predict the total filesize of your whole film (see the prediction forum for more info), without spend the whole encode time to know if fits on 1 CD. With this trick you can see how is the quality of your encode movie and make some tests: put in on/off some filters, increasing/decreasing your CQ number, etc.
Always seeing the total file size of your sample.
At the end, when you are satisfied with the sample, just include a "#" at the line 16 ( # Sampler(length=24) ) and your script is OK, will stop to make only few seconds and will encode the whole movie (the output wil be a .m1v file with +- 600mb). So, the next phase will be mux the .mp2 audio file that you got with Head3che and this .m1v file. Use BBMpeg to do it.
At least youŽll have the final material (a .mpg file with audio+video) to burn with VCDeasy or Nero.
Only then, You will have a bedtime! :lol:

LaBomba

gyrene2083 02-03-2003 03:43 PM

AVE MARIA!!! Por fin!!!! Goodness I have to tell you I was going nuts. I truly appreciate your reply and I hope that I can finally sleep tonight. Would you mind if I had anymore questions to send you a message?

labomba 02-03-2003 03:48 PM

Hi gyrene2083

If you don't mind my bad english :oops: , be my guest! :P

greetings :!:

LaBomba

gyrene2083 02-03-2003 03:50 PM

My Abuelita <grandmother> has been in the US for over 40 years and still doesn't speak english so don't worry. lol


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