Quantcast Bitrates: CQmatic/Calcumatic - Page 4 - digitalFAQ.com Forums [Archives]
  #61  
07-21-2003, 04:04 AM
TLTw TLTw is offline
Free Member
 
Join Date: Jan 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
trying out CQMatic right now

I dont frequent this forum as often as i should, but everytime i come here it just keeps getting better and better all the time, always something new to learn here

shouts out to the krew who work so damn hard here to produce the BEST video on 1 80 min cdr around...
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #62  
07-21-2003, 04:20 AM
TCC TCC is offline
Free Member
 
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag

Will you be making some sort of guide or instructions on how to use/setup CQMatic for newbies or for those that have been out of the loop for quite some time
  #63  
07-21-2003, 04:30 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
Quote:
Originally Posted by TCC
@kwag

Will you be making some sort of guide or instructions on how to use/setup CQMatic for newbies or for those that have been out of the loop for quite some time
If you know how to use TMPEG, you can use CQMatic
CQMatic is tightly coupled to TMPEG's project file. So after you set up TMPEG, and you have all your options set, just run CQMatic and load your project file, movie minutes, and average bitrate for your target. That's all
I forgot to mention, that because CQMatic doesn't load .dv2 or .avs files ( only .tpr files ), there are no limitations to it's use
That is, anything that can be processed with TMPEG, will be automated by CQMatic. So you don't need AviSynth, or other frameserving programs if you don't want them ( But as always, I suggest to use AviSynth, because you'll get the the best filters available )
As for a guide, I believe Avalon just posted a message saying that he is doing one

-kwag
  #64  
07-21-2003, 06:29 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Jeep and i'm finished!

Go for it!!!!!!!!!!!!!

Avalon's CQMatic Guide (English)
  #65  
07-21-2003, 08:44 AM
ezysk ezysk is offline
Free Member
 
Join Date: Apr 2003
Posts: 197
Thanks: 0
Thanked 0 Times in 0 Posts
Curious to know,how it will compare to Tok.
  #66  
07-21-2003, 11:22 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
Quote:
Originally Posted by ezysk
Curious to know,how it will compare to Tok.
It's a complete different approach to ToK.
ToK will process .avs and avi files only, but then, it's more complete in the sense that it will also process audio and the mux your files. On the other hand, the MPEG-1 and MPEG-2 generation are more strict, because if you want to create, say a DVD for PAL, you have to edit the "video.en1" files by hand, and then process with ToK.
CQMatic, relies on the encoder features, so once you set up TMPEG to whatever you want to create, CQMatic simply automates the process to find optimal CQ ( Well, once I finish it )

Edit: And I forgot to mention, that CQMatic accepts project files for both CQ and CQ_VBR

-kwag
  #67  
07-21-2003, 06:57 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
OK having some problems,kind of lost.

When i use cqmatic it starts to do a full encode no matter if i pick full encode or prediction.

i made my script per usual then opened tmpge loaded my avs and set all the settings and then saved tmpge text project.

OPen cqmatic open project selected saved text project,put 81 in minutes and 1240 as average bitrate.

What am i doing wrong,am i suppossed to but a sampler line in my avs script

PLease help

Thanx
  #68  
07-21-2003, 08:11 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the email about this program Kwag! (I'd like to think it was a personal one and not some automated thing because I'm a forum member )

I have one important question though. What should we be setting our MAX and MIN video bitrate at? Traditionally it's been 2500 and 300 respectively, but in one of your latest threads in the File Prediction forum, you suggest a MAX of 2000 and a MIN = 0.57*(avg bitrate). So does it matter what we put in there, will CQmatic automatically change it since you ask to input the avg bitrate? Just a bit confused on this one!
  #69  
07-21-2003, 09:04 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
Version 0.92 BETA 2 is up
www.kvcd.net/cqmatic.exe

Changes:
Added: Boundary check not to go below CQ of 1 or above CQ of 90
Fixed: Avoid eternal looping trying to find CQ, by inserting "trigger" high/low CQ check point markers, and avoid re-entry of "Under" and "over" previous tried CQ values.
Added: When pressing cancel, now you get: "Are you sure you want to abort the process?" Y/N Box
Fixed: MANY File prediction algorithm adjustments. Now let's see if it's better

-kwag
  #70  
07-21-2003, 09:08 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 J-Wo
Thanks for the email about this program Kwag! (I'd like to think it was a personal one and not some automated thing because I'm a forum member )
It was a global personal message
Quote:

I have one important question though. What should we be setting our MAX and MIN video bitrate at? Traditionally it's been 2500 and 300 respectively, but in one of your latest threads in the File Prediction forum, you suggest a MAX of 2000 and a MIN = 0.57*(avg bitrate). So does it matter what we put in there, will CQmatic automatically change it since you ask to input the avg bitrate? Just a bit confused on this one!
Keep the MAX at 2,000 and MIN = 0.57*(avg bitrate) ( Or average - 43% ) The one easier for you
CQMatic doesn't touch your project settings. Data in = data out ( Or trash in = trash out )

-kwag
  #71  
07-21-2003, 09:16 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 bigggt
What am i doing wrong,am i suppossed to but a sampler line in my avs script
Remove all file prediction stuff from your script. CQMatic uses it's own file prediction

-kwag
  #72  
07-21-2003, 09:22 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
heres my script

Quote:
## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
AviSource("C:\MY Movie.avi")
#
undot()
Limiter()
asharp(1, 4)
BicubicResize(496, 318, 1/3, 1/3, 8, 0, 560, 304)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

AddBorders(16, 81, 16, 81)
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
when i load it it encodes 116189 frames but the video is actually just the sample

another thing is when i save my tpr file without source range checked everytime cqmatic opens tmpge the source range is checked
  #73  
07-21-2003, 09:23 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Keep the MAX at 2,000 and MIN = 0.57*(avg bitrate) ( Or average - 43% ) The one easier for you
Perfect, that's what I wanted to know! I really think you should edit your first post to include this because I doubt everyone knows that's the "in" thing to do now.

BTW, v0.92 beta 2 doesn't work at all! Nothing happens when I execute the EXE file. I see a dos window box flash briefly and that's it.
  #74  
07-21-2003, 09:29 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 J-Wo

BTW, v0.92 beta 2 doesn't work at all! Nothing happens when I execute the EXE file. I see a dos window box flash briefly and that's it.
The upload was corrupted. Download it again. Sorry ( Blaim M$ ftp client )

-kwag
  #75  
07-21-2003, 09:35 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 bigggt
when i load it it encodes 116189 frames but the video is actually just the sample
116189 frames, that's not a sample, that's the complete movie
Quote:

another thing is when i save my tpr file without source range checked everytime cqmatic opens tmpge the source range is checked
That's the way it works
CQMatic takes charge of TMPEG

The way I set the sample files, for example if your movie's name is boon.m1v, after the CQ is found, the sample is renamed to boon.m1v-Sample and the encoded movie as boon.m1v
So you can keep your samples around, although you'll probably get a headache watching the CQMatic high speed sample

-kwag
  #76  
07-21-2003, 09:46 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
Just to let everyone know that I just finished running CQMatic 0.92 BETA 2 on 5 movies (Prediction only ) to verify accuracy:
The Boondock Saints, Count of Monte Cristo, K-Pax, K19 and Sum of all fears, and ALL hit the CQ with less than .1% difference of the CQs I had calculated manually
These 5 movies were previously encoded, and all were <2% final size compared to the video stream information in MovieStacker.
This were NTSC movies, so I need some PAL feedback

-kwag
  #77  
07-21-2003, 10:23 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
okay kwag, giving beta 2 a whirl... it's just finished the prediction cycle for an xvid movie I have. Even tho it was super widescreen the CQ was 49.25... anyway I'll see what the results are like in the morning.

BTW I just realized, how does CQMatic know how much to save for audio size? In its beta stage is it hardcoded for 128kbps only or what?
  #78  
07-21-2003, 10:34 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 J-Wo

BTW I just realized, how does CQMatic know how much to save for audio size? In its beta stage is it hardcoded for 128kbps only or what?
CQMatic doesn't know anything about audio. That's why you need MovieStacker or another bitrate calculator. Once you set MovieStacker with your audio bitrates, the video average bitrate is automatically calculated. Also if you set the number of target CDs, etc, the average will also change. So CQMatic only needs to know the average bitrate and the movie time. Everything else is Auto(CQ)Matic

-kwag
  #79  
07-22-2003, 01:42 AM
Avalon Avalon is offline
Free Member
 
Join Date: Jul 2003
Location: Venus
Posts: 187
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
It was a global personal message
Great note!!!!!

OK! I'm YOUR PAL MAN!!!! If I finished with my now running movie I'll test Your new beta 2 Version...

Let's see how it works now...
  #80  
07-22-2003, 01:54 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
Quote:
Originally Posted by Avalon
Quote:
It was a global personal message
Great note!!!!!

OK! I'm YOUR PAL MAN!!!! If I finished with my now running movie I'll test Your new beta 2 Version...

Let's see how it works now...
I'll try to release BETA 3 no later than tomorrow night. Just with revised prediction, and some minor glitches ( if I find any )
I only had one movie that "looped" for a longer time than usual, before finding the correct CQ. As far as the CQ it's finding, it's VERY precise
At least on NTSC material. I don't know about PAL results though

-kwag
Closed Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitrates: CQMatic and CalcuMatic now Open Source! kwag Video Encoding and Conversion 18 07-12-2008 06:13 AM
Bitrates: Latest CQMatic/CalcuMatic epuleda Video Encoding and Conversion 2 05-25-2006 09:54 PM
Bitrates: CQMatic/CalcuMatic Continued... kwag Video Encoding and Conversion 125 12-30-2005 11:55 PM
Bitrates: CQMatic/Calcumatic? Blubear Video Encoding and Conversion 6 07-17-2004 08:53 PM
Bitrates: Success (CQMatic & CalcuMatic) jorel Video Encoding and Conversion 10 10-25-2003 08:00 PM

Thread Tools



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