Quantcast Bitrates: Mulitiple Instances of TMPGEnc - digitalFAQ.com Forums [Archives]
  #1  
01-22-2005, 06:58 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
I think in the past I could run CQMatic while doing TMPGEnc batch processing. My Version 1.4.0.5 stops whenever another instance of TMPGEnc opens.

If TMPGEnc is already processing something else when I run CQMATIC, CQMatic freezes with "Preparing for calibration phase.....".

I can, of course, use by not batch processing while it runs. Is this normal?
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  
01-22-2005, 07:11 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
Hi nicksteel,

CQMatic only allows one instance of itself in memory at any time, and this was made on purpose, because of the temporary files it creates while executing.
If you want to do multiple encodes, use CQMatic in "prediction only" mode for each of your movies, and after you have fould all your CQ values, create your batch project in TMPEG and start your batch encode.

-kwag
Reply With Quote
  #3  
01-22-2005, 08:14 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Karl.

This is what I'm doing now. I thought I was able to run concurrent with another non-CQMatic TMPGEnc run in the past, but must have been mistaken .
Reply With Quote
  #4  
01-22-2005, 08:23 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 nicksteel
I thought I was able to run concurrent with another non-CQMatic TMPGEnc run in the past, but must have been mistaken .
But you can

BUT make sure you UNCHECK the "minimize on run" option, because the way CQMatic minimizes TMPEG is by a Win32API call finding TMPEG's window name
So if you have multiple TMPEG's runnning, CQMatic will probably send the wrong TMPEG to the task bar, because every TMPEG instance in memory has the same name

-kwag
Reply With Quote
  #5  
01-22-2005, 08:52 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
But you can
I never minimize CQMatic.

Must be something unique to my system. Just tried the following:

CQMatic is running:

Quote:
CQMatic Version 1.4.05
http://www.kvcd.net
Copyright KVCD.Net, 2004.
All rights reserved.
Time: 18:45:36 Date: 01/22/2005
Ready!
Project: H:\film\boulderonescript.tpr

Creating: CQMatic.tpr

H:\film\boulderonescript.m2v
Project resolution: 704x480
Execute.
Movie Time: 128:48
Average Bitrate: 2115
Prediction Only mode
Executing Prediction Phase...
Process started at 18:45:56
On 01/22/2005
Preparing for calibration phase...
Calibration phase started.
Step 1 of 10.
Step 2 of 10.
Step 3 of 10.
Step 4 of 10.
Step 5 of 10.
Step 6 of 10.
Step 7 of 10.
Step 8 of 10.
Step 9 of 10.
Step 10 of 10.
Calibration phase complete.
CQ set for prediction
Setting up sampling.
Phase 1 of 7, cycle 1
Encoder started...
Process time: 2.27 minutes.
Encoder end.
File size difference = 1.494967
Low fence: 60.000000
High fence: 90.000000
Last CQ = 60.00
Current CQ = 89.70
CQ difference = 29.698006
Phase 1 of 7, cycle 2
Encoder started...
Process time: 2.27 minutes.
Encoder end.
File size difference = 0.669893
Low fence: 60.000000
High fence: 89.698006
Last CQ = 89.70
Current CQ = 74.85
CQ difference = 14.849007
Phase 1 of 7, cycle 3
Encoder started...
Process time: 2.23 minutes.
Encoder end.
File size difference = 1.063843
Low fence: 74.848999
High fence: 89.698006
Last CQ = 74.85
Current CQ = 82.27
CQ difference = 7.424500
Phase 1 of 7, cycle 4
Encoder started...
Process time: 2.27 minutes.
Encoder end.
File size difference = 0.843603
Low fence: 74.848999
High fence: 82.273499
Last CQ = 82.27
Current CQ = 78.56
CQ difference = 3.712250
Phase 1 of 7, cycle 5
Encoder started...
Process time: 2.23 minutes.
Encoder end.
File size difference = 0.973840
Low fence: 74.848999
High fence: 78.561249
Last CQ = 78.56
Current CQ = 76.51
CQ difference = 2.055130
Phase 1 of 7, cycle 6
Encoder started...
Process time: 2.25 minutes.
Encoder end.
File size difference = 0.995872
Low fence: 74.848999
High fence: 76.506119
Last CQ = 76.51
Current CQ = 76.19
CQ difference = 0.315842
Setting up sampling.
Phase 2 of 7, cycle 1
Encoder started...
Process time: 2.27 minutes.
Encoder end.
File size difference = 1.113574
Low fence: 76.190277
High fence: 90.000000
Last CQ = 76.19
Current CQ = 84.84
CQ difference = 8.653206
Phase 2 of 7, cycle 2
Encoder started...
Process time: 2.25 minutes.
Encoder end.
File size difference = 0.873100
Low fence: 76.190277
High fence: 84.843483
Last CQ = 84.84
Current CQ = 80.52
CQ difference = 4.326607
Phase 2 of 7, cycle 3
Encoder started...
Process time: 2.70 minutes.
Encoder end.
File size difference = 0.986865
Low fence: 76.190277
High fence: 80.516876
Last CQ = 80.52
Current CQ = 79.46
CQ difference = 1.057549
Phase 2 of 7, cycle 4
Encoder started...
Process time: 2.43 minutes.
Encoder end.
File size difference = 1.037968
Low fence: 79.459328
High fence: 80.516876
Last CQ = 79.46
Current CQ = 79.99
CQ difference = 0.528770
Setting up sampling.
Phase 3 of 7, cycle 1
Encoder started...
Process time: 2.50 minutes.
Encoder end.
File size difference = 0.955772
Low fence: 2.000000
High fence: 79.988098
Last CQ = 79.99
Current CQ = 76.45
CQ difference = 3.537743
Phase 3 of 7, cycle 2
Encoder started...
Process time: 2.67 minutes.
Encoder end.
File size difference = 1.045656
Low fence: 76.450356
High fence: 79.988098
Last CQ = 76.45
Current CQ = 78.22
CQ difference = 1.768867
Phase 3 of 7, cycle 3
Encoder started...
Process time: 2.38 minutes.
Encoder end.
File size difference = 1.025964
Low fence: 78.219223
High fence: 79.988098
Last CQ = 78.22
Current CQ = 79.10
CQ difference = 0.884438
Setting up sampling.
Phase 4 of 7, cycle 1
Encoder started...
Process time: 2.32 minutes.
Encoder end.
File size difference = 0.982418
Low fence: 2.000000
High fence: 79.103661
Last CQ = 79.10
Current CQ = 77.71
CQ difference = 1.390831
Phase 4 of 7, cycle 2
Encoder started...
Process time: 2.60 minutes.
Encoder end.
File size difference = 1.013357
Setting up sampling.
Phase 5 of 7, cycle 1
Encoder started...
Process time: 3.20 minutes.
Encoder end.
File size difference = 1.061488
Low fence: 77.712830
High fence: 90.000000
Last CQ = 77.71
Current CQ = 82.49
CQ difference = 4.778427
Phase 5 of 7, cycle 2
Encoder started...
Process time: 2.95 minutes.
Encoder end.
File size difference = 0.902179
Low fence: 77.712830
High fence: 82.491257
Last CQ = 82.49
Current CQ = 80.10
CQ difference = 2.389214
Phase 5 of 7, cycle 3
Encoder started...
Process time: 3.27 minutes.
Encoder end.
File size difference = 0.973055
Low fence: 77.712830
High fence: 80.102043
Last CQ = 80.10
Current CQ = 77.94
CQ difference = 2.158340
Phase 5 of 7, cycle 4
Encoder started...
Process time: 3.42 minutes.
Encoder end.
File size difference = 1.059019
Low fence: 77.943703
High fence: 80.102043
Last CQ = 77.94
Current CQ = 79.02
CQ difference = 1.079170
Phase 5 of 7, cycle 5
Encoder started...
Process time: 3.72 minutes.
Encoder end.
File size difference = 1.033184
Low fence: 79.022873
High fence: 80.102043
Last CQ = 79.02
Current CQ = 79.56
CQ difference = 0.539581
Setting up sampling.
Phase 6 of 7, cycle 1
Encoder started...
Ran TMPGEnc batch for other tpr's.

CQMatic freezes (no TMPGEnc screen for CQMatic comes up)

Waited a few minutes.

Aborted the TMPGEnc batch run. CQMatic starts running (new TMPGEnc screen comes up)
Reply With Quote
  #6  
01-22-2005, 09:00 PM
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 nicksteel
I never minimize CQMatic.
Karl is talking about the "Minimized on run" box that is in the CQMatic window ! Uncheck it.
Reply With Quote
  #7  
01-22-2005, 09:02 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by nicksteel
I never minimize CQMatic.
Karl is talking about the "Minimized on run" box that is in the CQMatic window ! Uncheck it.
Quote:
I never minimize CQMatic.
That's what I mean. I never check the box.

http://s2.yousendit.com/d.aspx?id=25...82JTILELRXNU13
Reply With Quote
  #8  
01-22-2005, 09:38 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 nicksteel
Ran TMPGEnc batch for other tpr's.

CQMatic freezes (no TMPGEnc screen for CQMatic comes up)
Ok Nick, now I know what's happening.
CQMatic waits for the window name of TMPEG to "dissapear", so it can continue it's phases.
When you run another instance of TMPEG, this makes CQMatic see that TMPEG is actually running, but it can't tell if it was his *own* instance of TMPEG.
Originally, when I was writing the last version of CQMatic, I tried to change the window name on TMPEG, but Pegasys, Inc. did something that doesn't allow the Win32 API call to change the window name
This way I could have identified the TMPEG version that I called, and then other instances of TMPEG could run in parallel.
I'll try to find a way around this

-kwag
Reply With Quote
  #9  
01-22-2005, 09:41 PM
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 nicksteel
That's what I mean. I never check the box.
Okay. But this box is not for minimizing CQMatic, it's for minimizing tmpgenc window automatically
Reply With Quote
  #10  
01-22-2005, 10:00 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Ok Nick, now I know what's happening.
I'll try to find a way around this
Great! I use CQMatic constantly and though I was going bonkers!

This may also be causing the problems another user described as CQMatic freezing at "Preparing for calibration phase.....". If I am running TMPGEnc before runing CQMatic, it stops at this point.

Thanks again.
Reply With Quote
  #11  
01-22-2005, 10:11 PM
gretagun gretagun is offline
Free Member
 
Join Date: Dec 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
CQMatic freezes (no TMPGEnc screen for CQMatic comes up)
I am having a similar problem, but it has nothing to do with batch encoding. I get the CQMatic has encounted an error and needs to close message everytime I start a new project unless I manually select the Tmpgenc executable. Should I have to point to the Tmpgenc.exe file everytime I start a new project, or should CQMatic remember this location?

I saw another post where someone was having the similar problem but there was something wrong with their computer. I just reformatted a day ago, so I can't imagine I screwed something up with my computer already. I have only installed one version of Tmpgenc (v2.524.63.181) and I am using CQMatic v1.4.04 since the reformat.
Reply With Quote
  #12  
01-22-2005, 10:15 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 gretagun
Should I have to point to the Tmpgenc.exe file everytime I start a new project, or should CQMatic remember this location?
You only need to do that once. Afterwards, CQMatic remembers the encoder path, because it writes the configuration to a file.

-kwag
Reply With Quote
  #13  
01-22-2005, 10:38 PM
gretagun gretagun is offline
Free Member
 
Join Date: Dec 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
CQMatic remembers the encoder path, because it writes the configuration to a file.
Okay, I figured it out. I have been deleting the CQMatic.conf file in the CQMatic directory after finishing a project Should I delete the CQMatic.tpr and CQMaticMaster.tpr files after finishing a project?
Reply With Quote
  #14  
01-22-2005, 10:45 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 gretagun
Should I delete the CQMatic.tpr and CQMaticMaster.tpr files after finishing a project?
You don't have to. They are overwritten on your next run

-kwag
Reply With Quote
  #15  
01-22-2005, 10:51 PM
gretagun gretagun is offline
Free Member
 
Join Date: Dec 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Kwag
Reply With Quote
  #16  
03-06-2005, 11:44 PM
Anonymous Anonymous is offline
Invalid Email / Banned / Spammer
 
Join Date: Mar 2004
Posts: 0
Thanks: 0
Thanked 0 Times in 0 Posts
hi all first post.

i was able to use multiple instance of tmpgenc until the newer versions of cqmatic, the ones with the calibration. since then, i have had the same problem.

what i mean is the older build i did not have the problem of tmpgenc open causing cqmatic to hang.

edit: i also just did 3 movies, added them to batch by opening tmpgenc once cqmatic was finished, and discovered they were all 1 min 20 sec long. i had to go back and manually uncheck the source range on each one. fyi
Reply With Quote
  #17  
03-07-2005, 05:03 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
@ anon-i-mouse & All,

You can use multiple instances of TMPGEnc with CQMatic, as long as you "uncheck" the "Minimized on run" option.
This way, CQMatic will leave TMPGEnc sessions alone, and won't try to send them to the task bar.

-kwag
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
TMPGEnc: Cq_vbr and min/max bitrates. Fluffbutt Video Encoding and Conversion 5 07-05-2004 05:03 PM
Bitrates: CQMatic calls to TMPGEnc Dave Video Encoding and Conversion 3 11-13-2003 04:42 PM
Bitrates: Recommendatiosn for TMPGEnc when using CQMatic Bud Video Encoding and Conversion 3 08-09-2003 01:49 PM

Thread Tools



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