digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Predictor Use (http://www.digitalfaq.com/archives/avisynth/2164-predictor.html)

Bud 01-16-2003 02:59 AM

Predictor Use
 
Need some help with the File Predictor? The current procedures I am using is:

(1) Rip
(2) DVD2AVI
(3) FitCD w/all filters selected
(4) TEMPGEnc. W/the .avs script file and Sampler. I select the KVCD Template 352x240 (New One). In TEMPGEnc I select the .avs script file and the DVD2AVI Sound file. I make no changes to the KVCD Template, use as is. The problem I run into is that with the SAMPLER in the .avs script, TEMPGEnc will attempt to process the entire file, I have to stop it after the end credits so I will have sample file for the KVCD Predictor. If I don’t stop the process TEMPGEnc will keep processing for the next 2-3 hours, even after the end credits of the movie. The question is how do tell TEMPGnc to stop at the end of the Sample run? At one time I was told that the Sample run should not be more than 3-6 mintes depending on the movie.


Bud

syk2c11 01-16-2003 03:46 AM

Hi Bud,
Grab the "Sampler.dll" from herehttp://www.jungleweb.net/~sansgrip/avisynth/ then place it under the same folder of Fitcd, then add "load C:\xxx\xxx\sampler.dll" (this is the path to your FitCD folder) in FitCD script. Last, add "sampler(length=24)" at the very last line in FitCD script.

Bud 01-16-2003 04:05 AM

syk2c11
I have done that, TMPGEnc will keep processing well beyond the end credits of the movie, so as soon as the credits stop I stop the processing. Here is a script, again using FITcd w/filters. Buy the way this movie is 174 Min, I will use 2 CD's on this, if I can get the Max out each CD

LoadPlugin("C:\encoding\MPEG2DEC.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
Mpeg2Source("D:\TEMPTATIONS\VIDEO_TS\Temptations.d 2v")
LegalClip()
BilinearResize(288,190,0,2,720,476)
TemporalSmoother(2,2)
FluxSmooth()
Blockbuster(method="noise", variance=.5, seed=1)
Blockbuster(method="sharpen", detail_min=20, detail_max=90, strength=20)
AddBorders(32,25,32,25)
LegalClip()
Sampler(length=24)

Thanks,,,,

Bud

Bud 01-17-2003 06:09 AM

Prediction Us vs TMPGEnc
 
Still having problems with TMPGEnc not stoping at the SAMPLER point. When I use TMPGEnc it will continue to process the movie beyond the end credits point. What do I need to tell SAMPLER in the script to stop TMPGEnc to stop processing the film. My current proceudures is to manualy stop TMPGEnc at the point of the end credits of the movie. This will always go beyond the 3-6 min point most of the time it will continue to at least the 2 hour mark. Look at the sample script above. Thanks

Bud

Lostagain 01-17-2003 10:31 AM

Hi Bud

A newbi here.....do not have a clue why Tmpgenc keeps going ?
But a short term fix would be to add trim to the last line of your script.

eg trim(0,last frame number you want to encode)

play with it....i have used it to just take a section of a movie to do test encodes fast motion ect.

Good Luck, have a great day

ARnet_tenRA 01-17-2003 10:34 AM

What is the order of VFAPI plug-ins in your TMPGEnc Environmental Settings?

This exact thing happens to me when I view the file in Media Player, but not in TMPGEnc. I think that the plug-in that is being used to decode your movie in TMPGEnc is the same one that is being used by media player. If you change the plug-in order then you will not necessarily be using the same one as Media Player.

Here is the order of mine so you can compare:
AVI2..
BMP...
Microsoft MPEG-1...
Wave...
Avisynth...
DVD2AVI...
TMPGEnc Project...
DirectShow...
AVI VFW...

Most likely you should move the Avisynth one higher in the list to fix this problem.

-ARnet_tenRA

SansGrip 01-17-2003 10:38 AM

Recommended TMPGEnc settings are here.

Yoda 01-17-2003 01:52 PM

If you don't add the audio file in Tmpgenc then sampler will work properly. In other words, when running sampler select only the .avs file then load template, set cq and hit "start". If you're using Gripcrop, Gripsize and Gripborders then everything else is done for you.

-Yoda

Bud 01-17-2003 03:15 PM

Yoda

Many thanks.....I now see that I MUST set the System (Video Only) in TMPGEnc upfront and it will give me the MPG file that Predictor will read, that was the part I was missing.........

Bud


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