Quantcast Strange Sample Prediction... Help! - digitalFAQ.com Forums [Archives]
  #1  
12-23-2002, 01:06 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
I'm having some troubles with sample prediction.
Here is what is happening:

I made an avs script:
Code:
LegalClip() 
BilinearResize(480,480)
FluxSmooth()
Blockbuster(method="noise", variance=.5, seed=1)
Sampler(length=24)
LegalClip()
When I load the script in TMPG, I can see with the source range dialog that it has 2064 frames.
But after I encode the sample and load it in TMPG, the source range dialog tells me that the sample has 1230 frames!

This can't be right!
Can someone please test that for me?
Are the number of frames supposed to differ like this?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
12-23-2002, 01:56 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
When I load the script in TMPG, I can see with the source range dialog that it has 2064 frames.
Load it into VDub and look under File->File Information. I trust it a lot more than TMPGEnc .
Reply With Quote
  #3  
12-23-2002, 07:40 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
Quote:
Originally Posted by muaddib
When I load the script in TMPG, I can see with the source range dialog that it has 2064 frames.
Load it into VDub and look under File->File Information. I trust it a lot more than TMPGEnc .
Ok, I did it, and VDub show that the AVS script has the same 2064 frames. That's the right value, because I'm doing an 86:24 sample clip and it’s supposed to be 2064 frames. It is the encode sample that should not be right: 1230 frames with TMPG source range.

Well, as VDub can't read mpeg2 files (that's what I'm encoding), I have to make a D2V+AVS from the M2V to feed VDub that says it has 2061 frames. That is pretty much closer to 2064 than what TMPG says.

So... can I presume that TMPG Source Range it totally wrong when calculating the frames of this mpeg2 sample?

Anyone else noticed that?
Reply With Quote
  #4  
12-23-2002, 09:10 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Well, as VDub can't read mpeg2 files (that's what I'm encoding), I have to make a D2V+AVS from the M2V to feed VDub that says it has 2061 frames. That is pretty much closer to 2064 than what TMPG says.
It shouldn't be close. It should be exactly the same .

Quote:
So... can I presume that TMPG Source Range it totally wrong when calculating the frames of this mpeg2 sample?
Did you try hitting "default" in that dialog?
Reply With Quote
  #5  
12-23-2002, 10:15 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
It shouldn't be close. It should be exactly the same .
That's what I thought

Quote:
Did you try hitting "default" in that dialog?
Yes I did. I hit "default" and then hit "move to end frame".
But now it’s getting worst :

I did another encode of the same script (2064 frames) but with a lower CQ_VBR. The first one was CQ_VBR=11 and the new one is CQ_VBR=9. With this new encoded sample the "source range dialog" says just 914 frames! VDub says 2060.
Reply With Quote
  #6  
12-23-2002, 11:04 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
I did another encode of the same script (2064 frames) but with a lower CQ_VBR. The first one was CQ_VBR=11 and the new one is CQ_VBR=9. With this new encoded sample the "source range dialog" says just 914 frames! VDub says 2060.
That's very odd -- but why are you loading an MPEG into TMPGEnc anyway?
Reply With Quote
  #7  
12-23-2002, 11:48 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
That's very odd -- but why are you loading an MPEG into TMPGEnc anyway?
Just to see the number of frames.
Reply With Quote
  #8  
12-23-2002, 11:53 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
Quote:
Originally Posted by SansGrip
That's very odd -- but why are you loading an MPEG into TMPGEnc anyway?
Just to see the number of frames.
Go drink some beers muaddib, you need that

-kwag
Reply With Quote
  #9  
12-24-2002, 12:42 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Go drink some beers muaddib, you need that
I guess you are right.
I'll do that... maybe this way I can forget all this.
or not
Reply With Quote
  #10  
12-24-2002, 05:11 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I stopped looking at the frames and decided to encode...
Here are the results:

Predicted file size: 682,61mb
Final file size: 681,97mb
Difference: 0.09%

WOW
That's the closest prediction that I ever had!! This is GREAT!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping-pong prediction vs Long-short prediction Abond Avisynth Scripting 136 07-05-2005 02:13 PM
KVCD: Strange tok predictions? andybno1 Video Encoding and Conversion 2 10-03-2003 09:30 AM
KVCD: Wrong sample size in file prediction? Big_Peb Video Encoding and Conversion 11 05-24-2003 03:09 PM
KVCD: Strange outcome... Please help!!! qute11 Video Encoding and Conversion 4 01-20-2003 01:07 AM
Avisynth: Strange size prediction behavior rendalunit Avisynth Scripting 5 11-25-2002 06:25 AM

Thread Tools



 
All times are GMT -5. The time now is 01:24 PM  —  vBulletin © Jelsoft Enterprises Ltd