digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: Sample size always 498K (http://www.digitalfaq.com/archives/encode/6410-tmpgenc-sample-size.html)

gosens 10-30-2003 01:35 AM

Sample size always 498K
 
I am likely committing another drastic newbie mistake...

I've been following all the guides and instructions, using MovieStacker to create an .avs file and calculating the filesize etc.

When I encode the sample in TMPGEnc, I am always getting a 498K file... whether I raise or lower the CQ, or change source files... even when I used a 1.3GB source! I tried to watch the 498K file and it was a split second of black.

What could I be doing wrong? Is it possible that avisynth is not serving the file properly to TMPGEnc?

thanks,
gosens

clickit 10-30-2003 02:06 AM

hi,
can you post the .avs ?

gosens 10-30-2003 05:57 PM

Here is the script. It is the same for this 1.3GB mpeg2 "quebec test" as for the 40MB mpeg2 "alf test" except of course for the filename reference.

#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#

LoadPlugin("E:\TV\MovieStacker\Filters\MPEG2Dec.dl l")
LoadPlugin("E:\TV\MovieStacker\Filters\DustV5.dll" )
LoadPlugin("E:\TV\MovieStacker\Filters\UnFilter.dl l")
LoadPlugin("E:\TV\MovieStacker\Filters\LegalClip.d ll")
LoadPlugin("E:\TV\MovieStacker\Filters\Sampler.dll ")

Mpeg2Source("L:\PVR\test project\quebec test.d2v")
LegalClip()
BilinearResize(688, 446, 0, 5, 544, 470)
FaeryDust()
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
AddBorders(16, 17, 16, 17)
LegalClip()

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

Dialhot 10-30-2003 06:24 PM

Are you sure the encoded clip is only black ?

Do you have any MPEG2 decoder installed on you PC ? Because I wonder if the clip is in fact a error message, but you can't see it has you don't have a MPEG2 codec installed (or MPEG1 if your encode in MPEG1 of course).

Let me guess : sample length is exactly 10 seconds ?

gosens 10-30-2003 11:59 PM

I definitely have all the mpeg-2 codecs necessary. My source files are mpeg-2 and they all play fine, and I've encoded with tmpgenc before and seen the video correctly.

This is my first time using an .avs file. I'm using it first to create a sample as described in vmesquita's guides. The sample - regardless of my source and regardless of the CQ setting - always creates a 498K clip, all black, duration less than a second (0:00). Plays in various players and shows the same thing.

This is why I'm wondering if it's my script, or if avisynth is not working properly as the frameserver. I have the DirectShow piece installed which I understand is necessary for frameserving mpeg2's as well as readAVS etc.

gosens

gosens 10-31-2003 12:06 AM

Just ran the scripts again. When it encodes the sample I do not see any images or frames coming through the viewer in tmpgenc, it's black there too. Here's the results message:

Start: 31/10/2003 12:02:14 AM
End: 31/10/2003 12:02:23 AM
Dealing time: 00:00:08
-------------------------------------------------------------
L:\PVR\test project\quebec-script2.m2v
Format: MPEG-2 720x480 23.976fps CQ 70
Video: L:\PVR\test project\quebec-script2.avs
Audio: none

Result: Succeeded
Dealing time: 00:00:08
-------------------------------------------------------------

It's always 8 seconds to complete.

EightBall 10-31-2003 02:34 AM

Did you try to reinstall TMPGenc?

Boulder 10-31-2003 04:37 AM

Try to open the script in VirtualDub and see what you get.

Dialhot 10-31-2003 05:16 AM

Your problem there is exactly the same in your other thread there :

http://www.kvcd.net/forum/viewtopic.php?t=7181&

No need to continue on 2 different threads for the same problem.


All times are GMT -5. The time now is 06:37 PM  —  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.