digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Does the file prediction work for MPEG-2 templates? (http://www.digitalfaq.com/archives/avisynth/2252-file-prediction-work.html)

titans_ca 01-20-2003 06:29 PM

Does the file prediction work for MPEG-2 templates?
 
The file prediction dosen't seem to work very well when I use the MPEG-2 templates, is it just me? or is it that it dosen't work for svcds?

thanks for the help.

kwag 01-20-2003 06:31 PM

Re: Does the file prediction work for MPEG-2 templates?
 
Quote:

Originally Posted by titans_ca
The file prediction dosen't seem to work very well when I use the MPEG-2 templates, is it just me? or is it that it dosen't work for svcds?

thanks for the help.

As long as you use one of the KVCD templates, it should work. It was heavily tested with the KVCD matrix and GOP. Not with standard TMPEG parameters.

-kwag

titans_ca 01-20-2003 06:40 PM

would it cause a big difference in the prediction if the source file is a divx animation file?

kwag 01-20-2003 07:04 PM

Quote:

Originally Posted by titans_ca
would it cause a big difference in the prediction if the source file is a divx animation file?

It really shouldn't matter, because you're sampling the complete source at a number of intervals, which is proportional to the playing time of the material. So the longer the material, the more snapshots are taken. That is, as long as you follow the formula: MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size

-kwag

titans_ca 01-20-2003 08:34 PM

So would the length of the file affect the accuracy of the prediction? since the file I'm encoding is 23 min 31 sec.

kwag 01-20-2003 08:56 PM

Quote:

Originally Posted by titans_ca
So would the length of the file affect the accuracy of the prediction? since the file I'm encoding is 23 min 31 sec.

The rule is very simple: The more samples you take, the higher the accuracy. BTW, if you want to put a 23 minute video on a CD-R, and only that video will go in the CD-R, hell! increase your CQ to 100 and encode :!: You'll fit that video in one CD with room to spare :D

-kwag

titans_ca 01-22-2003 06:05 PM

As i mentioned before, the file I'm encoding is only 20 min long, and I would like the sampler to make a longer sample, so as to get a more accurate result, would the following script be correct?

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

so what equation should I use?


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