Quantcast Avisynth: Strange Size Prediction Behavior - digitalFAQ.com Forums [Archives]
  #1  
11-22-2002, 01:30 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
When encoding a divx3 to kvcdx3 with file prediction method, I see that tmpg sees the sample as having the total frames of the movie. It encodes the 100 second sample and then enocdes a black screen for the rest of the frames I tried manually entering the values in SelectRangeEvery to bypass Framecount but it didn't work. Maybe SelectRangeEvery() doesn't work with DivX I'm using Avisynth 2.06
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  
11-22-2002, 02:16 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Hi rendalunit,

rendalunit wrote:
Quote:
When encoding a divx3 to kvcdx3 with file prediction method, I see that tmpg sees the sample as having the total frames of the movie. It encodes the 100 second sample and then enocdes a black screen for the rest of the frames I tried manually entering the values in SelectRangeEvery to bypass Framecount but it didn't work. Maybe SelectRangeEvery() doesn't work with DivX I'm using Avisynth 2.06
I've converted many Divx 5.0.2 (avi) videos using file size predictor
via avs script and Tmpgenc shows the correct numbers of frames,
usually 2424 as the range. The file size estimates have been very
close with file size predictor. It could be the codec is conflicting with
others (i.e. divx 4.0, 5.0.2, etc.). Could you have by accident un-
commented a Trim command. Check the video stream using VirtualDub
--> File Information --> Video Stream and look for frame count,
frames per second, etc. While your there take a look at the Audio
Stream and see if it's mp3 or *Unknown.

-black prince
Reply With Quote
  #3  
11-22-2002, 04:50 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 rendalunit
It encodes the 100 second sample and then enocdes a black screen for the rest of the frames
It does this for me, too. I solved it by going into Source Range, hitting "Default", then "Move to end frame", then "Set end frame".

For some reason the Source Range dialog sees the correct length, so by doing this you force the encoder to stick within that range.

The bug is either in TMPGEnc or SelectRangeEvery, because I get strange results from WMP too.

Edit: By which I mean, the bug must be in SelectRangeEvery, because I get strange results from WMP too.
Reply With Quote
  #4  
11-22-2002, 07:31 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

Selecting source range in TMPGEnc solved the problem for me- Thanks!

-ren
Reply With Quote
  #5  
11-22-2002, 08:37 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Hi SansGrip,

SansGrip wrote:
Quote:
The bug is either in TMPGEnc or SelectRangeEvery, because I get strange results from WMP too.
Never had to set default in Tmpgenc's source range to get correct
frames. Oh well, it's strange.

-black prince
Reply With Quote
  #6  
11-25-2002, 06:25 AM
GFR GFR is offline
Free Member
 
Join Date: May 2002
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
I've had this problem too.

You can solve it in TMPGEnc (with the Source Range tab) or you can add an extra line at the end of the prediction script with a Trim to the desired Framecount.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: How does it do size prediction? Shibblet Video Encoding and Conversion 2 09-09-2004 05:05 PM
File Size Prediction For PAL... Jellygoose Avisynth Scripting 8 01-01-2003 09:18 PM
Strange sample prediction... help! muaddib Avisynth Scripting 9 12-24-2002 05:11 PM
FitCD File Size Prediction Paul0889 Avisynth Scripting 2 12-21-2002 01:03 AM
TMPGEnc: File size prediction akrein62 Video Encoding and Conversion 0 11-15-2002 10:16 PM

Thread Tools



 
All times are GMT -5. The time now is 09:04 PM  —  vBulletin Jelsoft Enterprises Ltd