digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: Sampler Error Message in TMPGEnc (http://www.digitalfaq.com/archives/encode/3194-tmpgenc-sampler-error.html)

Frunobulax 04-05-2003 10:11 PM

Sampler Error Message in TMPGEnc
 
I'm using ToK and TMPGEnc to encode a VHS movie to VCD format. All is going fine, except that I'm getting this appearing in the TMPGEnc preview screen:

Sampler: Samples must be >=2.

This message pops up with certain projects, but not with others. My script runs as follows:

x="f:\Radio Flyer VCD on F\4_4c.avi"

txt_dir="c:\Documents and Settings\Kevin\Desktop\MovieStacker\"

LoadPlugin(txt_dir+"MPEG2Dec.dll")
LoadPlugin(txt_dir+"GripFit_preview.dll")
LoadPlugin(txt_dir+"DustV5.dll")
LoadPlugin(txt_dir+"LegalClip.dll")
LoadPlugin(txt_dir+"BlockBuster.dll")
LoadPlugin(txt_dir+"fluxsmooth.dll")
LoadPlugin(txt_dir+"sampler.dll")
LoadPlugin(txt_dir+"vobsub.dll")
LoadPlugin(txt_dir+"decombLegacy.dll")
LoadPlugin(txt_dir+"temporalcleanerold.dll")
LoadPlugin(txt_dir+"convolution3d.dll")
LoadPlugin(txt_dir+"dctfilter_YUY2.dll")
LoadPlugin(txt_dir+"NoMoSmooth.dll")

AVISource(x)
LegalClip()
AssumeFPS(29.97)
BilinearResize(352, 240, 0, 0, 352, 480)
mergechroma(blur(0.79))
mergeluma(blur(0.1))
FaeryDust()
FluxSmooth(7,7)
Blockbuster(method="noise", variance=.4, seed=1)
NoMoSmooth(40,1,6,1,3,false)
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,.5,0)
LegalClip()

Any help would be greatly appreciated. Thanks in advance!

bman 04-06-2003 09:05 AM

Re: Sampler Error Message in TMPGEnc
 
Quote:

Originally Posted by Frunobulax
I'm using ToK and TMPGEnc to encode a VHS movie to VCD format. All is going fine, except that I'm getting this appearing in the TMPGEnc preview screen:

Sampler: Samples must be >=2.

This message pops up with certain projects, but not with others. My script runs as follows:

x="f:\Radio Flyer VCD on F\4_4c.avi"

txt_dir="c:\Documents and Settings\Kevin\Desktop\MovieStacker\"

LoadPlugin(txt_dir+"MPEG2Dec.dll")
LoadPlugin(txt_dir+"GripFit_preview.dll")
LoadPlugin(txt_dir+"DustV5.dll")
LoadPlugin(txt_dir+"LegalClip.dll")
LoadPlugin(txt_dir+"BlockBuster.dll")
LoadPlugin(txt_dir+"fluxsmooth.dll")
LoadPlugin(txt_dir+"sampler.dll")
LoadPlugin(txt_dir+"vobsub.dll")
LoadPlugin(txt_dir+"decombLegacy.dll")
LoadPlugin(txt_dir+"temporalcleanerold.dll")
LoadPlugin(txt_dir+"convolution3d.dll")
LoadPlugin(txt_dir+"dctfilter_YUY2.dll")
LoadPlugin(txt_dir+"NoMoSmooth.dll")

AVISource(x)
LegalClip()
AssumeFPS(29.97)
BilinearResize(352, 240, 0, 0, 352, 480)
mergechroma(blur(0.79))
mergeluma(blur(0.1))
FaeryDust()
FluxSmooth(7,7)
Blockbuster(method="noise", variance=.4, seed=1)
NoMoSmooth(40,1,6,1,3,false)
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,.5,0)
LegalClip()

Any help would be greatly appreciated. Thanks in advance!


If u are using Sampler() then Last line in your script must be =>

Sampler()

bman

Frunobulax 04-06-2003 10:04 AM

Thanks. I think I tried that already, but I'll give it another shot and see what happens.

Frunobulax 04-06-2003 12:34 PM

I tried (again) putting sampler() at the end of my script, but the error message still appears. When TMPGEnc starts running, it tries to run a few samples, but only runs the final larger sample without an error message (I hope that makes sense to anyone reading this). This is getting frustrating because I'm trying to encode segmented AVIs captured from VHS videotape, and I don't know how (if it can even be done) to use manual file size prediction with segmented files.

kwag 04-06-2003 12:55 PM

If you're using ToK, you can't put sampler at the end of your script.
Tok does file prediction internally and it will put sampler on it's own script. If you put sampler at the end of your script, you will get that error :!:

-kwag

Frunobulax 04-06-2003 01:45 PM

But I'm getting the error whether or not I use sampler() in my script. :(

kwag 04-06-2003 02:32 PM

Then the problem is in your source. Have you tried processing a .d2v file or another .avi file :?:

-kwag

Frunobulax 04-06-2003 02:53 PM

No, but I'm starting to suspect the same thing. Thanks for the advice; I'll give it a try.


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