Quantcast Bitrates: TMPGEnc Closes Quickly? - digitalFAQ.com Forums [Archives]
  #1  
07-25-2004, 09:10 AM
OrbMan OrbMan is offline
Free Member
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Hi I could use some help with CQMatic:

I have had CQMatic working already today, but it suddenly stopped being able to run TMPGEnc. Things I have tried:

1 - I use 8.3 folder and file names in all cases, using v1.2.06
2 - am loading a working .avs file in TMPGEnc, after resetting project file
3 - select my output directory (8.3 also) in TMPGEnc
4 - load my KVCDx3 MPEG1 template
5 - confirm source range is de-selected
5 - save project as text
6 - launch CQMatic
7 - load project file
8 - set TMPGEnc location in Settings
9 - run CalcuMatic to get my time and bitrate, in this case 95/918.6, and enter them in CQMatic
10 - select X1/Prediction Only
11 - click Execute

I get the quick open and close problem. Then I tried deleting the .conf and .tpr files in the CQMatic directory and running through the whole process again. Same problem.

Here is the log:

http://www.kvcd.net
CQMatic Version 1.2.06
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 10:06:02 Date: 07/25/2004
Ready!
Project: C:\CQmatic\WM.tpr

Creating: CQMatic.tpr

D:\CQMatic\WM.m1v
Project resolution: 528x480
Execute.
Movie Time: 95
Average Bitrate: 918.6
Prediction Only mode
Executing Prediction Phase...
Process started at 10:08:27
On 07/25/2004
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 75.00
CQ difference = 15.000000
Using CQ of 75.00
Prediction cycle #2
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 75.000000
High fence: 90.000000
Last CQ = 75.00
Current CQ = 82.50
CQ difference = 7.500000
Using CQ of 82.50
Prediction cycle #3
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 82.500000
High fence: 90.000000
Last CQ = 82.50
Current CQ = 86.25
CQ difference = 3.750000
Using CQ of 86.25
Prediction cycle #4
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 86.250000
High fence: 90.000000
Last CQ = 86.25
Current CQ = 88.13
CQ difference = 1.875000
Using CQ of 88.13
Prediction cycle #5
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 88.125000
High fence: 90.000000
Last CQ = 88.13
Current CQ = 89.06
CQ difference = 0.937500
Using CQ of 89.06
Prediction cycle #6
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 89.062500
High fence: 90.000000
Last CQ = 89.06
Current CQ = 89.53
CQ difference = 0.468750
Using CQ of 89.53
Prediction cycle #7
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 89.531250
High fence: 90.000000
Last CQ = 89.53
Current CQ = 89.77
CQ difference = 0.234375
Using CQ of 89.77
Prediction cycle #8
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = -14100480.000000
Low fence: 89.765625
High fence: 90.000000
Last CQ = 89.77
Current CQ = 89.88
CQ difference = 0.117188
Final CQ value is 89.77
CQMatic complete!
Total minutes of process: 0.35
Process ended at 10:08:48
On 07/25/2004
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  
07-25-2004, 09:15 AM
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
ll your File size differences are negative.
Reset your source range in TMPEG before saving the project.

-kwag
Reply With Quote
  #3  
07-25-2004, 09:55 AM
OrbMan OrbMan is offline
Free Member
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
already done, see #5 (the first one ) above
Reply With Quote
  #4  
07-25-2004, 09:56 AM
OrbMan OrbMan is offline
Free Member
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
That is, source range is not checked. Do you mean check it and then un-check it again?
Reply With Quote
  #5  
07-25-2004, 10:53 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Unchecking is not enought as it keeps the previous settings in memory. you have to RESET them.

For that : double click on the "source range" feature, don't worry if a warnign windows pops up, just continue. Click on "default" button, then on the cut editing menu (bottom, left) select "reset editting" (if that entry is not already greyed). Then exit from this screen.

The source range is now checked: NOW uncheck it

Thats is what "reset range editing" means, and you have to do all that evry time.
Reply With Quote
  #6  
07-25-2004, 11:39 AM
OrbMan OrbMan is offline
Free Member
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, that did it! I thought I had read everything, but maybe I missed those instructions somwehere...
Reply With Quote
  #7  
10-05-2004, 07:11 AM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Unchecking is not enought as it keeps the previous settings in memory. you have to RESET them.

For that : double click on the "source range" feature, don't worry if a warnign windows pops up, just continue. Click on "default" button, then on the cut editing menu (bottom, left) select "reset editting" (if that entry is not already greyed). Then exit from this screen.

The source range is now checked: NOW uncheck it

Thats is what "reset range editing" means, and you have to do all that evry time.
did that, i still get the 'closes quick' problem.

please help me, i just cannot figure CQMatic out.
Reply With Quote
  #8  
10-05-2004, 10:21 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by tyler5
did that, i still get the 'closes quick' problem..
Did you manage to use it once or is it the first try you do with this tool ?
Reply With Quote
  #9  
10-05-2004, 03:10 PM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
this would be my first try. i've managed to encode movies to kvcd before but i've always put a random cq number in tmpgenc so sometimes i get a file thats 400mb and sometimes i get a file thats 850mb. i would really like to learn to use cqmatic so i could avoid guessing the cq myself.

hope someone can teach me how to use it.
Reply With Quote
  #10  
10-05-2004, 04:13 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You surely didn't do all the steps. Follow carefully what OrbMan descibe in it's post dated from "Sun Jul 25, 2004 3:10 pm".
Reply With Quote
  #11  
10-05-2004, 10:33 PM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by OrbMan
1 - I use 8.3 folder and file names in all cases, using v1.2.06 - don't know what that means. can someone explain please?
2 - am loading a working .avs file in TMPGEnc, after resetting project file - i don't use scripts, i just encode following the "idiot's guide".
3 - select my output directory (8.3 also) in TMPGEnc - what's a "8.3" ?
4 - load my KVCDx3 MPEG1 template - yes, i did that. also tried other templates.
5 - confirm source range is de-selected - did that too following exactly what DialHot said.
5 - save project as text - done.
6 - launch CQMatic - done.
7 - load project file - done.
8 - set TMPGEnc location in Settings - done.
9 - run CalcuMatic to get my time and bitrate, in this case 95/918.6, and enter them in CQMatic - done.
10 - select X1/Prediction Only - done.
11 - click Execute - done.

TMPGEnc then opens and closes like 4-6 times in 1.5-2 seconds and the CQ value is 89.77
Reply With Quote
  #12  
10-06-2004, 06:02 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by tyler5
TMPGEnc then opens and closes like 4-6 times in 1.5-2 seconds and the CQ value is 89.77
[/quote]
That means taht you did not do CORRECTLY all the steps
After OrbMan post there are others post to read.

You MUST RESET the editing, not only uncheck it.
Reply With Quote
  #13  
10-06-2004, 08:54 AM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
1 - I use 8.3 folder and file names in all cases, using v1.2.06 - don't know what that means. can someone explain please?
3 - select my output directory (8.3 also) in TMPGEnc - what's a "8.3" ?

could someone explain this to me. and yes i did reset it if reseting means doing exactly as you said.

settings>advanced>source range
i open it (it is already unchecked, btw), hit the default button and exit (because 'reset cut editing' is already greyed. then i uncheck 'source range')
Reply With Quote
  #14  
10-06-2004, 09:10 AM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
ok, i finally got cqmatic to work but after predicting it always ends up with 89.77 no matter what the movie or the bitrate is. how can i get rid of that and if that has already been answered in this forum then PLEASE forward me to the thread (a link would be nice) not tell me to search it myself

thanks in advance
Reply With Quote
  #15  
10-06-2004, 09:36 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by tyler5
ok, i finally got cqmatic to work but after predicting it always ends up with 89.77 no matter what the movie or the bitrate is.
Do a new attempt after having removed the two tpr files that are in the same directory where is cqmatic.exe. These files will be regenerated by CQMatic.

If something is still wrong, post the log file to see if there is something strange.
Reply With Quote
  #16  
10-06-2004, 11:11 AM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.kvcd.net
CQMatic Version 1.2.06
Copyright Softronex Corporation, 2003.
All rights reserved.
Time: 19:12:24 Date: 10/06/2004
Ready!
Project: C:\Documents and Settings\Administrator\Desktop\Mean.Girls.tpr

Creating: CQMatic.tpr

F:\Videos\Mean.Girls.m2v
Project resolution: 528x480
Execute.
Movie Time: 50
Average Bitrate: 10000
Full Encode mode
Executing Prediction Phase...
Process started at 19:12:35
On 10/06/2004
CQ set for prediction
Setting up initial sampling.
Using CQ of 60.00
Prediction cycle #1
Encoder started...
Process time: 0.08 minutes.
Encoder end.
File size difference = 773.195862
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 75.00
CQ difference = 15.000000
Using CQ of 75.00
Prediction cycle #2
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = 3345.749268
Low fence: 75.000000
High fence: 90.000000
Last CQ = 75.00
Current CQ = 82.50
CQ difference = 7.500000
Using CQ of 82.50
Prediction cycle #3
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = 3065.501221
Low fence: 82.500000
High fence: 90.000000
Last CQ = 82.50
Current CQ = 86.25
CQ difference = 3.750000
Using CQ of 86.25
Prediction cycle #4
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = 3079.081787
Low fence: 86.250000
High fence: 90.000000
Last CQ = 86.25
Current CQ = 88.13
CQ difference = 1.875000
Using CQ of 88.13
Prediction cycle #5
Encoder started...
Process time: 0.05 minutes.
Encoder end.
File size difference = 7788.256836
Low fence: 88.125000
High fence: 90.000000
Last CQ = 88.13
Current CQ = 89.06
CQ difference = 0.937500
Using CQ of 89.06
Prediction cycle #6
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = 11861.003906
Low fence: 89.062500
High fence: 90.000000
Last CQ = 89.06
Current CQ = 89.53
CQ difference = 0.468750
Using CQ of 89.53
Prediction cycle #7
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = 2888.684082
Low fence: 89.531250
High fence: 90.000000
Last CQ = 89.53
Current CQ = 89.77
CQ difference = 0.234375
Using CQ of 89.77
Prediction cycle #8
Encoder started...
Process time: 0.03 minutes.
Encoder end.
File size difference = 27128.222656
Low fence: 89.765625
High fence: 90.000000
Last CQ = 89.77
Current CQ = 89.88
CQ difference = 0.117188
Final CQ value is 89.77
Encoding set to Full encode.
Full encode start...
CQMatic complete!
Total minutes of process: 0.37
Process ended at 19:12:57
On 10/06/2004
Reply With Quote
  #17  
10-06-2004, 11:18 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Can you check the sample encoded by CQMatic (it should have the name "F:\Videos\Mean.Girls.m2v.sample"). Read it into a media player (if you have a mpeg2 codec installed) or open it into virtualdubmod. What is in this file ?
Reply With Quote
  #18  
10-06-2004, 01:14 PM
tyler5 tyler5 is offline
Free Member
 
Join Date: Nov 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
ok i got cqmatic to work (i didnt let the testing finish, thats why i got no results, silly me ) but now i have another question. do i have to set the average bitrate myself in tmpgenc or will cqmatic do it for me? if it will then it doesnt work for me cause after calculating out the cq which works great, it leaves the bitrate still at 'maximum 2500, minimum 300' although i did set the average bitrate in cqmatic before processing (got it from calcumatic). so what should i do? set it myself manually? if so, then if my average bitrate is supposed to be 1016kbit/s then whats my max. and min. cause there is no option in tmpgenc for 'average' bitrate, only max. and min.

thanks in advance.
Reply With Quote
  #19  
10-06-2004, 04:13 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi Tyler5 ,
Well there is a better way than average bitrate with tmpgenc that is CQ mode
So based on the data you provide it with, CQMatic calculates the correct CQ (constant quality) to apply in the encoding phase.
Don't worry you don't need average bitrate, at all
Just give it a run and see if the resulting encoded file stays near the final wanted size
I'm sure it will.
Oh, almost forgot.
If you need something to calculate the average bitrate needed by the CQMatic options use it's brother Calcumatic .
Cheers
__________________
Rui
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: Cqmatic problem with tmpgenc oxycotton420 Video Encoding and Conversion 24 01-23-2005 02:35 PM
Bitrates: ABR option in Tmpgenc? JonnyD Video Encoding and Conversion 2 01-21-2005 01:54 PM
AVSGenerator - quickly and easily write scripts for AviSynth jorel Avisynth Scripting 1 09-25-2004 08:50 AM
TMPGEnc: Cq_vbr and min/max bitrates. Fluffbutt Video Encoding and Conversion 5 07-05-2004 05:03 PM
only the first encode is completed and tmpgenc completely closes? Narc Video Encoding and Conversion 2 12-22-2002 05:00 PM

Thread Tools



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