View Full Version : AutoQ1 Build: 1.5.09.02 - Date 25.06.2005 [R.I.P]
XeoneR
18th March 2005, 23:39
Sure I did that..
Still Calculate sample is not avilable as well as
Run Prediction...
:(
Amnon82
20th March 2005, 00:53
make a screenshot and add it to your reply. Did You setup CCE?
XeoneR
20th March 2005, 04:02
I use files from CCE..
As i understood it doesn't matter for EclStart as it just
writes .ini with path ?
But ok I made full "normal" installation of CCE this time.
And as I expected nothing changed.
Here is a screenshot if it will be helpful..
P.S.
what the hell is wrong with attachment uploading..
anyone sees it ?
i don't :(
igor140
22nd March 2005, 16:30
@Amnon82
As far as I can see, these lines in the ecl would have to be changed in the following way:
gop_m=3
gop_nm=6
gop_hdr=18
And, of course, you'd have to add the 18-option in the GUI.
Thanks a lot!
Amnon82
22nd March 2005, 20:06
@Igor: That will not be the problem Igor. When I find time You'll see it in the next release.
@XenoeR: I don't see the attachment. EclStart is only for the newish 2.70.02.00 Version of CCE. You must setup the CCE in EclStart. EclStart only start CCE with the ECL-File. When it sees the Window of CCE it sends a 'Press-Encode'-Signal to CCE. CCE starts encoding. Also a timer in ECL-Start starts and check the CPU usage. When the CPU usage is under 5% it sends a 'Exit CCE'-Signal to CCE. In the new releases of EclStart You can setup the values when the timer starts and what the lowest CPU Usage should be to send the 'Exit CCE'-Signal.
When I find time, I'll add the minimize-feature to AutoQ.
mrslacker
1st April 2005, 01:19
Originally posted by Amnon82
[BWhen I find time, I'll add the minimize-feature to AutoQ. [/B]
Is there a workaround/hack to accomplish minimized execution? Ecl-Start has been inconsistent at best. :( Could a cctspt.bat like this:
start /MIN cctspt.exe -ecl %1 -batch
be put in the CCE directory and used to start CCE? I just pulled that command out of thin air, so I'm not sure if the syntax is correct.
Alternatively, could a shortcut or .pif somehow be used to specify minimized execution with AutoQ?
I don't want to switch back to 2.67 and I'm hesitant to install both versions of SP. The templates stored in the registry are probably incompatible between these versions.
mrslacker
1st April 2005, 10:13
I got CCE SP 2.70.02 to run minimized when called by AutoQ by creating the following batch file, cctspt.bat:
start /min /wait /belownormal c:\ccesp\cctspt.exe %1 %2 %3 %4 %5
CCE executes in batch mode, minimized, and with below normal process priority. A command window will be opened untill CCE quits. That is necessary, as AutoQ will keep going if the process it called has exited (apparently). I threw the %4 and %5 in for good measure. Maybe there will be more than three arguments for some reason.
When CCE runs, the command window looks something like this:
E:\work\avs>start /min /wait /belownormal c:\ccesp\cctspt.exe -ecl "C:\vidtools\AutoQ\temp\AQFULLENC.ecl" -batch
Of course, I had to select cctspt.bat in the AutoQ settings.
jonny
15th April 2005, 15:27
Amnon, you (MUST!) add the source for shutdown.exe in your distribution (or a link to it).
GPL is GPL ... :rolleyes:
bye
jonny
// qcce by jonny
// Copyright (C) 2004 jonny
//
// Homepage: http://jonny.leffe.dnsalias.com
// E-mail: jonny@leffe.dnsalias.com
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include<windows.h>
#define OS_95 1
#define OS_98 2
#define OS_ME 3
#define OS_NT40 4
#define OS_2000 5
#define OS_XP 6
int OS()
{
OSVERSIONINFO i;
BOOL r;
// GetVersionEx
i.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
r = GetVersionEx(&i);
// Errore
if (r == 0) return 0;
// Windows 95, Windows 98, or Windows Me
if (i.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS)
{
if (i.dwMajorVersion == 4 && i.dwMinorVersion == 0) return OS_95;
if (i.dwMajorVersion == 4 && i.dwMinorVersion == 10) return OS_98;
if (i.dwMajorVersion == 4 && i.dwMinorVersion == 90) return OS_ME;
// Errore
return 0;
}
// Windows NT 3.51, Windows NT 4.0, Windows 2000, Windows XP, or Windows .NET Server
if (i.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
if (i.dwMajorVersion == 4 && i.dwMinorVersion == 0) return OS_NT40;
if (i.dwMajorVersion == 5 && i.dwMinorVersion == 0) return OS_2000;
if (i.dwMajorVersion == 5 && i.dwMinorVersion == 1) return OS_XP;
// Errore
return 0;
}
// Errore
return 0;
}
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
HANDLE h;
TOKEN_PRIVILEGES t;
int os = OS();
// Errore
if (os == 0)
{
return 1;
}
// Windows NT 4.0, Windows 2000, Windows XP
if (os == OS_NT40 || os == OS_2000 || os == OS_XP)
{
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &h))
{
return 2;
}
LookupPrivilegeValue(NULL, SE_SHUTDOWN_NAME, &t.Privileges[0].Luid);
t.PrivilegeCount = 1;
t.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
AdjustTokenPrivileges(h, FALSE, &t, 0, (PTOKEN_PRIVILEGES)NULL, 0);
if (GetLastError() != ERROR_SUCCESS)
{
return 3;
}
}
// Windows 2000, Windows XP
if (os == OS_2000 || os == OS_XP)
{
if (!ExitWindowsEx(EWX_POWEROFF, 0))
{
return 4;
}
}
// Windows 95, Windows 98, or Windows Me, Windows NT 4.0
else
{
if (!ExitWindowsEx(EWX_SHUTDOWN, 0))
{
return 5;
}
}
// Ok
return 0;
}
svsam
20th April 2005, 04:01
Hi! Got some questions, help please..
For some reason CCE window waits until pushing "Encode" every Prediction/Final Run. Can I fix this someway?
Versions are 1.4.1/2.70.02.00
Can I encode audio too in fullencode path?
mrslacker
20th April 2005, 17:18
Read the thread... and the one on EclStart. The new CCE version has a limitation.
svsam
20th April 2005, 22:43
Thanx.. I really appreciate your help.. I've read near all your posts on this subject..
But where is the answer? Is the reason MS Antispyware? No, I have none (neither else hooking soft). CCE should be started minimized for EclStart 0.81 to be able push "Encode" button? Seems not..
Please help me, I feel you know.. :)
mrslacker
20th April 2005, 23:07
Oh, it didn't initially sound like you were using EclStart. It still doesn't work very well for me either. I don't know what the reason is.
If CCE is started minimized, EclStart isn't needed. Encoding will begin by itself. The problem is when CCE is not started minimized. Those bat files I posted on were made to start CCE minimized and avoid using EclStart entirely. It seemed to work too!
svsam
21st April 2005, 22:58
If CCE is started minimized, EclStart isn't needed.
Thanx a lot once more. Your batch works just fine..
But is there a way to modify *.ecl template used by AutoQ? For example I want to encode an audio track on Fullencode..
mrslacker
21st April 2005, 23:21
Just do that manually. Use toolame or BeLight to make a mp2 or whatever.
drob
22nd April 2005, 00:15
Amonon, how about adding a function/mode to AutoQ that would just verify and run a final stage check on a given Q, like was in the former Qcce, allot of the times i can guess the right Q or just want to fine tune it faster then the whole prediction mode, and have AutoQ just check a certain Q and not run a whole prediction scheme, but rather give me the final calculated size and final run prediction, can you add that?
svsam
22nd April 2005, 09:29
Just do that manually
I think the main benefit of AutoQ - encoding speed. I used to encode elementary streams simultaniously - video & audio. In this way I shouldn't spoil time to extract wav and encode it with separate tool. And it would be great if this nice proggy were able to allow customizable *.ecl template.
The other reason - many users can ajust ecl for their own needs.. For instance, if i set in AutoQ UFF flag it makes mpv with wrong fields order, video becomes jerky. If we anlyze .ecl formed by AutoQ - there is "Output top field first stream" flag, but "Offset line" set to 1, but should be 0. So I should make prediction, take obtained Q and open CCE manualy to make encoding with audio and right fields order. That's not very good..
Amnon Thanx for great program! Is it possible to make customizable *.ecl template?
Amnon82
12th May 2005, 17:04
Hello everybody. I found some time to fix AutoQ. Now no EclStart is required to run CCE 2.70.02.00. Also shutdown.exe is removed. I added a shutdown-funktion directly to AutoQ.
Changes in the new version:
Removed: Eclstart
Added: EncodeFix for CCE 2.70.02.00
Works perfectly, even the xvid/firewall error disappeared! great work Amnon.
How about my suggestion for the Q test mode?
Amnon82
15th May 2005, 12:42
Yeah, I'll add it, if I find some time ;)
Amnon82
15th May 2005, 14:54
Added: Q-Test-Mode. THX to drop for pointing me to it ;)
Updated: Help is now Version 1.5.2
Updated languagefiles to 1.5.2: German, English
All translators, please update the alng-files for me.
Here ist the text for translation:
Q-Test:
Check this Q-Value:
Run normal Prediction if it
doesn't fit the wanted size
1.5.2 works fine so does the q test, tiny issue that came with 1.5.1 when cce is running the AutoQ working window goes white completely with no data, but once the test cycle is done, all data comes back.
buzzqw
15th May 2005, 16:50
Amnon82 ... full mail box :rolleyes:
not a big problem
Good work as usually Amnon82 !
link for italian language updated to 1.5.2
http://www.64k.it/andres/external/italian.zip
BHH
svsam
15th May 2005, 17:40
Amnon82 Can the *.ecl template used by AutoQ be modified by user? (I think it shouldn't take much time to fullfill)
Sorry for posting twice, maybe I didn't find this feature, please, answer somebody who knows..
artoor
15th May 2005, 20:28
Polish update lang :)
Attachment
Amnon82
16th May 2005, 03:36
@ARTOOR: THX, but I can't download the attachment ...
@svsam: Till now You can't modify the ecl-file. I used my standard settings I've proofed for over 2 years. You're the first one how want to use his own ecl (or miss I something?).
Post me Your ecl and I'll look into it.
artoor
16th May 2005, 07:30
Originally posted by Amnon82
@ARTOOR: THX, but I can't download the attachment ...
Hmmm... I can't find the attachment file as well :( I've only added 3 lines in the end of polish.alng file so if You can paste it will be done correctly :)
Please paste this:
Q-Test:
Sprawdz ta Q-Wart.:
Zwykle przewidywanie jesli nie
pasuje do szukanego rozm.
Regards
svsam
16th May 2005, 07:51
Post me Your ecl and I'll look into it
Thank you for answering. I'm not so advanced user yet to consider particulary my ecl. Also my ecl's change from time to time..
It would be very convinient if I could change the template used by AutoQ. If it takes a while to do this just forget about. I really know how ever busy talented programmers like you
Amnon just tested with the new CCE SP 2.70.02.01, batch is back so no need for the fix, works just fine minus one bug, when you double click to load the avs, i got a pop up wrong avs, once i click it i can load my avs ok. plus priority now seems to go only up to normal even if you set high, AutoQ will be in high priority but cce would be in normal.
Amnon82
20th May 2005, 14:35
Autoload of the last AVS-Script is removed. I think this fixes the bug.
If the AVS-Script has no frames now 'Error: This AVS has no frames. Check it!' will pop up instead of 'Wrong AVS!'.
Download Update-Version 1.5.3 (http://www.brckomania.net/AUTOQ/files/AutoQUP152to153.exe)
Tested 1.5.3 no errors works fine, great work Amnon!
Amnon82
20th May 2005, 21:24
THX to You ;) (for testing it ...)
svsam
23rd May 2005, 18:26
Amnon82 On my machine 1.5.3 runs with Encode only 1st prediction, others wait for me to press "Encode". The same in Q testing, only first test runs encoding instantly. CCE 2.70.02 trial.
When predictioning, I've mouse-touched AutoQ window to move aside, this caused win explorer to crash (maybe ocasionaly).
Q-testing mode's super!
..do you need russian translation?
Amnon82
28th May 2005, 00:04
Which version of 2.70.02 do You mean? I tested 2.70.02.00 with no problem.
I like to translate it to russian, You can do it. I'll add it to the actual Version.
svsam
28th May 2005, 09:01
Yes, my CCE version 2.70.02.00 too.
svsam
28th May 2005, 13:41
I didn't find attachments in PM so post translation here.
While translating found a little thing - setup dialog have no Cancel button. Once you entered there you should enter CCE data again and no other way to leave.
As for my problem with only first pass running, maybe the reason that I entered path for CCE in unknown version box (2.70 boxes didn't recognize ecl first line)?
Amnon82
28th May 2005, 17:03
K. I'll change this Dialog-Box in the next Version and add Your translation. I think Your the first one, who recognized it ...
Amnon82
29th May 2005, 14:30
Download Version 1.5.4 (http://www.brckomania.net/AUTOQ/files/AutoQUP152to154.exe)
Changes:
Update-Version: You must download 1.5.2
Updated: CCE Setup-Window, Polnish languagefile to 1.5.4
svsam
29th May 2005, 18:32
Amnon82
Why don't you include CYMAT matrix in AutoQ, I've read it produce very good results?
And is there any faq/tutorial about matrices usage, or even list of existing matrices?
1.5.4 tested with 2.7.02.1 works just fine.
ADLANCAS
4th June 2005, 03:32
Hi,
In your tool, you included in version 1.5.1 a "fix" to encode using cce 2.70.02.00. It seems that was a problem with batch mode in CCE, but I´m not sure.
I intend to use this version, so...
What was the problem and could you tell what you did to solve that problem?
Thanks,
Alexandre
2.70.02.00 was missing the command line mode, and so a macro was needed to click the "encode" button, instead of a command line switch, this was fixed in the latest 2.70.02.01.
drob
21st June 2005, 00:20
Amnon, is there away i can add some parameters to the full encode ecl file that would be included in every full encode from now on? there are some settings like "add sequence end code" line offset and so on. i am not talking about one time editing of the created ecl file, but an option to include those settings in All future full encodes. secondly is there a possibility you would add a function to give AutoQ a couple of avs files and a final destination size and have it calculate the appropriate relative Q per file, similar to the one in tylo's ccefront?
Amnon82
21st June 2005, 16:47
@ svsam: CYMAT is my Matrix and it is in AutoQ already. It is called AutoQ2. AutoQ1 is the old Cymat. It is in the matrix-folder of AutoQ. You can easy open it via the menu-buttons. If You want to read the manual click on Help and open it ... (or go to AutoQ-Folder/support/help.html)
@ drob: Post me a ECL and the settings You want change. In my next post I post Your my actuall ECL for CCE 2.70 and the options You can already change with AutoQ 1.5.6.
@ all: Sorry, I forgot to update my page. 1.5.6 is online since 18.06.05 ;)
Amnon82
21st June 2005, 16:52
ECLCCE.lines.add('; CCE SP Trial Version -- Encoder Control List');
ECLCCE.lines.add(' ');
ECLCCE.lines.add('[item]');
ECLCCE.lines.add('title=AutoQ-EclFile');
ECLCCE.lines.add('vid_out=1');
ECLCCE.lines.add('vaf_out=1');
ECLCCE.lines.add('i32_out=0');
ECLCCE.lines.add('i32_pulldown_prg_thres=80');
ECLCCE.lines.add('i32_pulldown_rpt_val_thres=6');
ECLCCE.lines.add('aud_out=0');
ECLCCE.lines.add('aud_mode=0');
ECLCCE.lines.add('vid_file0='+M2VPATH.text);
ECLCCE.lines.add('vid_file1='+M2VPATH.text);
ECLCCE.lines.add('vaf_file='+VAFPATH.text);
ECLCCE.lines.add('i32_file=C:\cce.i32');
ECLCCE.lines.add('aud_file=C:\cce.mpa');
ECLCCE.lines.add('file_focused=0');
ECLCCE.lines.add('xe_exec_mode=0');
ECLCCE.lines.add('ve_exec_mode=0 ');
ECLCCE.lines.add('ve_mpeg1=0');
ECLCCE.lines.add('packet_size=2048');
ECLCCE.lines.add('ref_tc=0');
ECLCCE.lines.add('ref_frm=0');
ECLCCE.lines.add('drop_frame=0');
ECLCCE.lines.add('frame_rate_idx='+fidx.text);
ECLCCE.lines.add('cbr_brate=6000');
ECLCCE.lines.add('opv_q_factor='+QVAL.text);
ECLCCE.lines.add('opv_brate_min='+MINVA.text);
ECLCCE.lines.add('opv_brate_max='+MAXVA.text);
ECLCCE.lines.add('vbr_brate_avg='+MAXVA.text);
ECLCCE.lines.add('vbr_brate_min='+MINVA.text);
ECLCCE.lines.add('vbr_brate_max='+MAXVA.text);
ECLCCE.lines.add('vbr_bias='+QCVA.text);
ECLCCE.lines.add('vbr_pass=3');
ECLCCE.lines.add('create_new_vaf=1');
ECLCCE.lines.add('seq_endcode=0');
ECLCCE.lines.add('dvd=0');
ECLCCE.lines.add('resize=0');
ECLCCE.lines.add('interpolation=4');
ECLCCE.lines.add('width='+width.text);
ECLCCE.lines.add('height='+height.text);
ECLCCE.lines.add('half_width=0');
ECLCCE.lines.add('half_height=0');
ECLCCE.lines.add('uscc=0');
ECLCCE.lines.add('top_first='+uffchecked.text);
ECLCCE.lines.add('offset_line='+uffchecked.text);
ECLCCE.lines.add('lum_level=0');
ECLCCE.lines.add('deinterlace=0');
ECLCCE.lines.add('blanking=0');
ECLCCE.lines.add('blank_top=0');
ECLCCE.lines.add('blank_left=0');
ECLCCE.lines.add('blank_right=0');
ECLCCE.lines.add('blank_bottom=0');
ECLCCE.lines.add('aspect_ratio='+ASR.text);
ECLCCE.lines.add('gop_m=3');
ECLCCE.lines.add('gop_nm='+nm.text);
ECLCCE.lines.add('gop_hdr='+GOP.text);
ECLCCE.lines.add('seq_hdr=1');
ECLCCE.lines.add('all_closed_gop='+cgoptxt.text);
ECLCCE.lines.add('fix_gop_length=0');
ECLCCE.lines.add('fix_vbv_delay=0');
if disadpmat.checked= false then ECLCCE.lines.add('adjust_q_matrix=1') else ECLCCE.lines.add('adjust_q_matrix=0');
ECLCCE.lines.add('last_frame_should_be_I=0');
ECLCCE.lines.add('24p_to_60i=0');
ECLCCE.lines.add('411_to_422=0');
ECLCCE.lines.add('pulldown_detect=0');
ECLCCE.lines.add('pulldown_auto_rebuild=0');
ECLCCE.lines.add('letter_box=0');
ECLCCE.lines.add('panscan=0');
ECLCCE.lines.add('qmat_idx=-1');
ECLCCE.lines.add('q_scale_type=1');
ECLCCE.lines.add('qmat_name=Matrix_by_AutoQ');
ECLCCE.lines.add('qmat=');
ECLCCE.lines.add(' '+StringReplace(listintra.items[0], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[1], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[2], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[3], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[4], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[5], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[6], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[7], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[0], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[1], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[2], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[3], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[4], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[5], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[6], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[7], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add('samples_per_sec=48000');
ECLCCE.lines.add('stereo=2');
ECLCCE.lines.add('brate_idx=7');
ECLCCE.lines.add('crc=1');
ECLCCE.lines.add('aud_sync=0');
ECLCCE.lines.add('pict_name=Matrix_by_AutoQ');
ECLCCE.lines.add('q_char_f='+QCVA.text);
ECLCCE.lines.add('progressive='+PFFCHECKED.text);
ECLCCE.lines.add('alternate_scan='+altchecked.text);
ECLCCE.lines.add('letter_box=0');
ECLCCE.lines.add('h_filter=0');
ECLCCE.lines.add('h_filter_idx='+DCVAL.text);
ECLCCE.lines.add('h_filter_strength=100');
ECLCCE.lines.add('h_filter_idx2=0');
ECLCCE.lines.add('h_filter_hpf=0');
ECLCCE.lines.add('h_filter_hpf_idx=5');
ECLCCE.lines.add('h_filter_hpf_strength=25');
ECLCCE.lines.add('h_filter_hpf_idx2=0');
ECLCCE.lines.add('v_filter=0');
ECLCCE.lines.add('v_filter_val=4');
ECLCCE.lines.add('no_move=0');
ECLCCE.lines.add('dither=0');
ECLCCE.lines.add('dither_Y_max=8');
ECLCCE.lines.add('dither_C_max=4');
ECLCCE.lines.add('intra_dc_precision_9_max=113');
ECLCCE.lines.add('intra_dc_precision_10_max=113');
ECLCCE.lines.add('i32_32=0');
ECLCCE.lines.add('force_black=0');
ECLCCE.lines.add('force_monochrome=0');
ECLCCE.lines.add('fill=0');
ECLCCE.lines.add('fill_Y_val=16');
ECLCCE.lines.add('fill_C_val=128');
ECLCCE.lines.add('fill_lines_top=30');
ECLCCE.lines.add('fill_lines_bottom=30');
ECLCCE.lines.add(' ');
ECLCCE.lines.add('[file]');
ECLCCE.lines.add('name='+Pfad+'temp\AQFULLENC.avs');
ECLCCE.lines.add('stream_no=0');
ECLCCE.lines.add('encode_first=0');
ECLCCE.lines.add('encode_last='+AVSFRAMES.text);
if capyes.checked=true then begin
for i := 0 to Chapterslist.count-1 do
ECLCCE.lines.add('chapter='+chapterslist.items[i]+':');
end;
eclcce.lines.savetofile(pfad+'temp\AQFULLENC.ecl');
end;
The lines where '+someEditname.text' is written AutoQ will edit the ECL.
Examples:
This line is allways the same >> ECLCCE.lines.add('fill_lines_bottom=30');
And this will be changed >> ECLCCE.lines.add('encode_last='+AVSFRAMES.text);
Amnon82
21st June 2005, 16:55
... here the code for the prediction mode:
ECLCCE.lines.add('; CCE SP Trial Version -- Encoder Control List');
ECLCCE.lines.add(' ');
ECLCCE.lines.add('[item]');
ECLCCE.lines.add('title=AutoQ-Prediction');
ECLCCE.lines.add('vid_out=1');
ECLCCE.lines.add('vaf_out=1');
ECLCCE.lines.add('i32_out=0');
ECLCCE.lines.add('i32_pulldown_prg_thres=80');
ECLCCE.lines.add('i32_pulldown_rpt_val_thres=6');
ECLCCE.lines.add('aud_out=0');
ECLCCE.lines.add('aud_mode=0');
ECLCCE.lines.add('vid_file0='+M2VPATH.text);
ECLCCE.lines.add('vid_file1='+M2VPATH.text);
ECLCCE.lines.add('vaf_file='+VAFPATH.text);
ECLCCE.lines.add('i32_file=C:\cce.i32');
ECLCCE.lines.add('aud_file=C:\cce.mpa');
ECLCCE.lines.add('file_focused=0');
ECLCCE.lines.add('xe_exec_mode=0');
ECLCCE.lines.add('ve_exec_mode=0');
ECLCCE.lines.add('ve_mpeg1=0');
ECLCCE.lines.add('packet_size=2048');
ECLCCE.lines.add('ref_tc=0');
ECLCCE.lines.add('ref_frm=0');
ECLCCE.lines.add('drop_frame=0');
ECLCCE.lines.add('frame_rate_idx='+fidx.text);
ECLCCE.lines.add('cbr_brate=6000');
ECLCCE.lines.add('opv_q_factor='+QVAL.text);
ECLCCE.lines.add('opv_brate_min='+MINVA.text);
ECLCCE.lines.add('opv_brate_max='+MAXVA.text);
ECLCCE.lines.add('vbr_brate_avg='+MAXVA.text);
ECLCCE.lines.add('vbr_brate_min='+MINVA.text);
ECLCCE.lines.add('vbr_brate_max='+MAXVA.text);
ECLCCE.lines.add('vbr_bias='+QCVA.text);
ECLCCE.lines.add('vbr_pass=3');
ECLCCE.lines.add('create_new_vaf=1');
ECLCCE.lines.add('seq_endcode=0');
ECLCCE.lines.add('dvd=0');
ECLCCE.lines.add('resize=0');
ECLCCE.lines.add('interpolation=4');
ECLCCE.lines.add('width='+width.text);
ECLCCE.lines.add('height='+height.text);
ECLCCE.lines.add('half_width=0');
ECLCCE.lines.add('half_height=0');
ECLCCE.lines.add('uscc=0');
ECLCCE.lines.add('top_first='+uffchecked.text);
ECLCCE.lines.add('offset_line='+uffchecked.text);
ECLCCE.lines.add('lum_level=0');
ECLCCE.lines.add('deinterlace=0');
ECLCCE.lines.add('blanking=0');
ECLCCE.lines.add('blank_top=0');
ECLCCE.lines.add('blank_left=0');
ECLCCE.lines.add('blank_right=0');
ECLCCE.lines.add('blank_bottom=0');
ECLCCE.lines.add('aspect_ratio='+ASR.text);
ECLCCE.lines.add('gop_m=3');
ECLCCE.lines.add('gop_nm='+nm.text);
ECLCCE.lines.add('gop_hdr='+GOP.text);
ECLCCE.lines.add('seq_hdr=1');
ECLCCE.lines.add('all_closed_gop='+cgoptxt.text);
ECLCCE.lines.add('fix_gop_length=0');
ECLCCE.lines.add('fix_vbv_delay=0');
if disadpmat.checked= false then ECLCCE.lines.add('adjust_q_matrix=1') else ECLCCE.lines.add('adjust_q_matrix=0');
ECLCCE.lines.add('last_frame_should_be_I=0');
ECLCCE.lines.add('24p_to_60i=0');
ECLCCE.lines.add('411_to_422=0');
ECLCCE.lines.add('pulldown_detect=0');
ECLCCE.lines.add('pulldown_auto_rebuild=0');
ECLCCE.lines.add('letter_box=0');
ECLCCE.lines.add('panscan=0');
ECLCCE.lines.add('qmat_idx=-1');
ECLCCE.lines.add('q_scale_type=1');
ECLCCE.lines.add('qmat_name=Matrix_by_AutoQ');
ECLCCE.lines.add('qmat=');
ECLCCE.lines.add(' '+StringReplace(listintra.items[0], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[1], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[2], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[3], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[4], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[5], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[6], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listintra.items[7], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[0], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[1], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[2], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[3], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[4], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[5], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[6], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add(' '+StringReplace(listinter.items[7], ',', ' ', [rfReplaceAll]));
ECLCCE.lines.add('samples_per_sec=48000');
ECLCCE.lines.add('stereo=2');
ECLCCE.lines.add('brate_idx=7');
ECLCCE.lines.add('crc=1');
ECLCCE.lines.add('aud_sync=0');
ECLCCE.lines.add('pict_name=Matrix_by_AutoQ');
ECLCCE.lines.add('q_char_f='+QCVA.text);
ECLCCE.lines.add('progressive='+PFFCHECKED.text);
ECLCCE.lines.add('alternate_scan='+altchecked.text);
ECLCCE.lines.add('letter_box=0');
ECLCCE.lines.add('h_filter=0');
ECLCCE.lines.add('h_filter_idx='+DCVAL.text);
ECLCCE.lines.add('h_filter_strength=100');
ECLCCE.lines.add('h_filter_idx2=0');
ECLCCE.lines.add('h_filter_hpf=0');
ECLCCE.lines.add('h_filter_hpf_idx=5');
ECLCCE.lines.add('h_filter_hpf_strength=25');
ECLCCE.lines.add('h_filter_hpf_idx2=0');
ECLCCE.lines.add('v_filter=0');
ECLCCE.lines.add('v_filter_val=4');
ECLCCE.lines.add('no_move=0');
ECLCCE.lines.add('dither=0');
ECLCCE.lines.add('dither_Y_max=8');
ECLCCE.lines.add('dither_C_max=4');
ECLCCE.lines.add('intra_dc_precision_9_max=113');
ECLCCE.lines.add('intra_dc_precision_10_max=113');
ECLCCE.lines.add('i32_32=0');
ECLCCE.lines.add('force_black=0');
ECLCCE.lines.add('force_monochrome=0');
ECLCCE.lines.add('fill=0');
ECLCCE.lines.add('fill_Y_val=16');
ECLCCE.lines.add('fill_C_val=128');
ECLCCE.lines.add('fill_lines_top=30');
ECLCCE.lines.add('fill_lines_bottom=30');
ECLCCE.lines.add(' ');
ECLCCE.lines.add('[file]');
ECLCCE.lines.add('name='+Path+'temp\AQPREDICTION.avs');
ECLCCE.lines.add('stream_no=0');
ECLCCE.lines.add('encode_first=0');
ECLCCE.lines.add('encode_last='+AVSFRAMES.text);
eclcce.lines.savetofile(path+'temp\AQPREDICTION.ecl');
Amnon82
21st June 2005, 17:01
secondly is there a possibility you would add a function to give AutoQ a couple of avs files and a final destination size and have it calculate the appropriate relative Q per file, similar to the one in tylo's ccefront?
@drop: In which way You will do this? Run AVSs in a Batchmode or use more than one AVS as one. If it is the second one, it will work already. It is only a AVS-Import. If it is the first: Maybe in a future version ...
drob
21st June 2005, 18:46
Amnon thanks for the fast reply,
In AutoQ if i select UFF the offset_line=* is set to 1 this is good for 2.67 but in 2.70 you can select both offset line and UFF so you may need a combination of UFF (top_first=1) and offset_line=1 (some cases of pulldown combinations and so on) so a blank 1 digit space would be scurfiest.
Add sequence end code, AutoQ sets this to 0, all guides i checked on doom9 and the manual suggest this should be checked unless needed otherwise, that is seq_endcode=1.
In case of 23.976 source, AutoQ wont activate the CCE 2.70 built in pulldown 24p_to_60i=1 and pulldown_detect=1, in that case time code needs to be changed to 01 00 00 00, CCE wont allow all zeroes ref_tc=16777216
Small bug in 1.5.6 CGOP is always activated in the next run, even if i uncheck it.
I meant the batch file if i understood you right, that is add more then one avs and get a final Q relative to each one.
How can i run multiple Avs files in one file? seems much easier.
Amnon82
21st June 2005, 19:15
CGOP I didn't add it to the settings.ini. I'll do this in 1.5.7. Also I'll add russian.alng file. ... and fix the sugesstions You posted.
Amnon82
21st June 2005, 19:32
Question: And what is with this timecode?
timecode=0x0000000
I did this now in 1.5.7:
{Framerate}
procedure TForm1.FR23Click(Sender: TObject);
begin
fidx.text:='1';
frameratetxt.text:='23.976';
pulldown1.text:='1';
pulldown2.text:='1';
timecode.text:='0x1000000';
timecode2.text:='16777216';
end;
procedure TForm1.FR24Click(Sender: TObject);
begin
fidx.text:='2';
frameratetxt.text:='24';
pulldown1.text:='0';
pulldown2.text:='0';
timecode.text:='0x0000000';
timecode2.text:='0';
end;
procedure TForm1.FR25Click(Sender: TObject);
begin
fidx.text:='3';
frameratetxt.text:='25';
pulldown1.text:='0';
pulldown2.text:='0';
timecode.text:='0x0000000';
timecode2.text:='0';
end;
procedure TForm1.FR29Click(Sender: TObject);
begin
fidx.text:='4';
frameratetxt.text:='29.976';
pulldown1.text:='0';
pulldown2.text:='0';
timecode.text:='0x0000000';
timecode2.text:='0';
end;
procedure TForm1.FR30Click(Sender: TObject);
begin
fidx.text:='5';
frameratetxt.text:='30';
pulldown1.text:='0';
pulldown2.text:='0';
timecode.text:='0x0000000';
timecode2.text:='0';
end;
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.