Log in

View Full Version : AutoQ1 Build: 1.5.09.02 - Date 25.06.2005 [R.I.P]


Pages : 1 [2] 3 4 5

drob
16th January 2005, 14:35
Congrats Amnon, new method gives me very close results, Q11 when Qcce gives Q12, Q7 when Qcce gives Q6, very close. Old method has its moments but sometimes it has unexplained jumps, it would go Q10 Q9 Q8 Q7 then jump to Q16 no idea, lastly Trap mode still get loopy in times, only last complain is the conflict with Sygate firewall, had some nasty blue screens and freezes, all in trap mode btw, anyhow hopefully with fine refinements it would be as good as Qcce predictions, keep on the good work Amnon!

Amnon82
16th January 2005, 20:38
THX my friend. Today I tried Trap-Prediction again. It starts to loop. Then I higher the Min. Bitrate and the Max. Bitrate and tried it again.

... it works.

I fixed the final. I forgot something for the Language-Option. Now all settings working fine. I'll look into the trapmode lets see if I can fix it finaly.

I'll soon start to code the AutoQ-Version for CCE 2.70. Stay tuned.

Amnon82
17th January 2005, 20:55
Added Support for CCE SP 2.70 (Trial).

This new CCE Version is amazing. I uploaded a encodingsample

Download Sample (7 MB) (http://www.brckomania.net/AUTOQ/files/AutoQ11Sample.rar)

AutoQ-Log Version 1.1
___________________________________________________________________________
20:40:13 - 17.01.2005 >> AutoQ started...
20:40:13 - 17.01.2005 >> Using CCE 2.70 Trial
20:40:13 - 17.01.2005 >> AVS loaded from: F:\test2\AQPREDICTION.avs
20:40:19 - 17.01.2005 >> Old Prediction Mode
20:40:19 - 17.01.2005 >> _________________________________________
20:40:19 - 17.01.2005 >> Project-Info:
20:40:19 - 17.01.2005 >> _________________________________________
20:40:19 - 17.01.2005 >> Desired Target: DVD 720x576
20:40:19 - 17.01.2005 >> Entered Bitrate: min. 2500 max. 8500
20:40:19 - 17.01.2005 >> Entered wanted size: 50
20:40:19 - 17.01.2005 >> Entered Audio size(s): 4
20:40:19 - 17.01.2005 >> Entered Extras size: 0
20:40:19 - 17.01.2005 >> Authoring and ISO overhead: 117
20:40:19 - 17.01.2005 >> % of Movie will be used: 15
20:40:19 - 17.01.2005 >> Your desired final encoded sample: 7
20:40:19 - 17.01.2005 >> Your desired final encoded file: 47
20:40:19 - 17.01.2005 >> _________________________________________
20:40:19 - 17.01.2005 >> Start Prediction-Run #1
20:40:19 - 17.01.2005 >> First Q-Value: 9
20:40:27 - 17.01.2005 >> Results of Prediction-Run #1
20:40:27 - 17.01.2005 >> Encoded Sample in MB: 7
20:40:27 - 17.01.2005 >> Wanted Samplesize in MB: 7
20:40:27 - 17.01.2005 >> Precalculated Finalsize in MB: 47
20:40:27 - 17.01.2005 >> Wanted Finalsize in MB: 47
20:40:27 - 17.01.2005 >> Precalculated Q-Value: 0
20:40:27 - 17.01.2005 >> Sum of Q-Values: 0
20:40:27 - 17.01.2005 >> Precalculated final Q-Value: 0
20:40:27 - 17.01.2005 >> New Q-Value: 9
20:40:27 - 17.01.2005 >> New Frameoffset: 5
20:40:27 - 17.01.2005 >> Start Prediction-Run #2
20:40:34 - 17.01.2005 >> Results of Prediction-Run #2
20:40:34 - 17.01.2005 >> Encoded Sample in MB: 7
20:40:34 - 17.01.2005 >> Wanted Samplesize in MB: 7
20:40:34 - 17.01.2005 >> Precalculated Finalsize in MB: 47
20:40:34 - 17.01.2005 >> Wanted Finalsize in MB: 47
20:40:34 - 17.01.2005 >> Precalculated Q-Value: 3
20:40:34 - 17.01.2005 >> Sum of Q-Values: 3
20:40:34 - 17.01.2005 >> Precalculated final Q-Value: 2
20:40:34 - 17.01.2005 >> New Q-Value: 9
20:40:34 - 17.01.2005 >> New Frameoffset: 00
20:40:34 - 17.01.2005 >> Start Prediction-Run #3
20:40:41 - 17.01.2005 >> Results of Prediction-Run #3
20:40:41 - 17.01.2005 >> Encoded Sample in MB: 7
20:40:41 - 17.01.2005 >> Wanted Samplesize in MB: 7
20:40:41 - 17.01.2005 >> Precalculated Finalsize in MB: 47
20:40:41 - 17.01.2005 >> Wanted Finalsize in MB: 47
20:40:41 - 17.01.2005 >> Precalculated Q-Value: 6
20:40:41 - 17.01.2005 >> Sum of Q-Values: 9
20:40:41 - 17.01.2005 >> Precalculated final Q-Value: 4
20:40:41 - 17.01.2005 >> New Q-Value: 9
20:40:41 - 17.01.2005 >> New Frameoffset: 5
20:40:41 - 17.01.2005 >> Start Prediction-Run #4
20:40:48 - 17.01.2005 >> Results of Prediction-Run #4
20:40:48 - 17.01.2005 >> Encoded Sample in MB: 7
20:40:48 - 17.01.2005 >> Wanted Samplesize in MB: 7
20:40:48 - 17.01.2005 >> Precalculated Finalsize in MB: 47
20:40:48 - 17.01.2005 >> Wanted Finalsize in MB: 47
20:40:48 - 17.01.2005 >> Precalculated Q-Value: 9
20:40:48 - 17.01.2005 >> Sum of Q-Values: 18
20:40:48 - 17.01.2005 >> Precalculated final Q-Value: 7
20:40:48 - 17.01.2005 >> Encoding Final-Sample (Old Prediction Mode)
20:40:48 - 17.01.2005 >> Final Frameoffset: 00
20:40:48 - 17.01.2005 >> Final Q-Value: 4
20:40:55 - 17.01.2005 >> Encoded Final-Sample in MB: 7,49
20:40:55 - 17.01.2005 >> Wanted Samplesize in MB: 7
20:40:55 - 17.01.2005 >> Precalculated Finalsize in MB: 50
20:40:55 - 17.01.2005 >> Wanted Finalsize in MB: 47
20:40:55 - 17.01.2005 >> Renamed final Sample to: F:\test2\270finaltest.sample

drob
17th January 2005, 21:55
Great to see the 2.70 support so fast,

Looking at your log, you see what I mean Amnon, old mode gives a concurrent values of Q9, then hopes to Q4 as final, seen it allot in my tests, Q7..Q8..Q9.. final Q16 just seems a huge leap.
Anyhow will test it later tonight and see how it works directly with 2.70.

drob
17th January 2005, 23:37
Amnon I get this error, with both settings of 2.70, plus AutoQ seems not to remember AR from session to session, and in some occasions also frame rate and field order were not saved.


http://img93.exs.cx/img93/167/2223id.png

Amnon82
18th January 2005, 13:39
I'll look into it.

I thougth autodetection will work. I'll disable it again...

I fixed something in version 1.1.01:

AutoQ-Log Version 1.1.01
___________________________________________________________________________
14:03:08 - 18.01.2005 >> AutoQ started...
14:03:08 - 18.01.2005 >> Using CCE 2.70 Trial
14:03:14 - 18.01.2005 >> AVS loaded from: C:\Programme\AutoQ\temp\AQFULLENC.avs
14:03:23 - 18.01.2005 >> Start Fullencode
14:03:23 - 18.01.2005 >> Final Q-Value: 20
14:04:31 - 18.01.2005 >> Results of Fullencode-Run:
14:04:31 - 18.01.2005 >> Your desired final encoded file: 4050
14:04:31 - 18.01.2005 >> Final encoded filesize: 67

Here the ECL:

; CCE SP Trial Version -- Encoder Control List

[item]
title=AutoQ-EclFile
vid_out=1
vaf_out=1
i32_out=0
i32_pulldown_prg_thres=80
i32_pulldown_rpt_val_thres=6
aud_out=0
aud_mode=0
vid_file0=F:\test2\1.m2v
vid_file1=F:\test2\1.m2v
vaf_file=F:\test2\1.vaf
i32_file=C:\cce.i32
aud_file=C:\cce.mpa
file_focused=0
xe_exec_mode=0
ve_exec_mode=0
ve_mpeg1=0
packet_size=2048
ref_tc=0
ref_frm=0
drop_frame=0
frame_rate_idx=3
cbr_brate=6000
opv_q_factor=20
opv_brate_min=2500
opv_brate_max=8500
vbr_brate_avg=8500
vbr_brate_min=2500
vbr_brate_max=8500
vbr_bias=30
vbr_pass=3
create_new_vaf=1
seq_endcode=0
dvd=0
resize=0
interpolation=4
width=720
height=576
half_width=0
half_height=0
uscc=0
top_first=0
offset_line=0
lum_level=0
deinterlace=0
blanking=0
blank_top=0
blank_left=0
blank_right=0
blank_bottom=0
aspect_ratio=2
gop_m=3
gop_nm=4
gop_hdr=12
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
fix_vbv_delay=0
adjust_q_matrix=1
last_frame_should_be_I=0
24p_to_60i=0
411_to_422=0
pulldown_detect=0
pulldown_auto_rebuild=0
letter_box=0
panscan=0
qmat_idx=-1
q_scale_type=1
qmat_name=AutoQ1
qmat=
8 16 19 22 26 27 29 34
16 16 22 24 27 29 34 35
19 22 26 27 29 34 35 38
22 22 26 27 29 34 35 40
22 26 27 29 32 35 40 48
26 27 29 32 35 40 48 50
26 27 29 35 40 48 50 60
27 29 35 40 48 50 60 62
16 20 24 28 32 36 40 44
20 24 28 32 36 40 44 48
24 28 32 36 40 44 48 52
28 32 36 40 44 48 52 56
32 36 40 44 48 52 56 58
36 40 44 48 52 56 58 60
40 44 48 52 56 58 60 62
44 48 52 56 58 60 62 62
samples_per_sec=48000
stereo=2
brate_idx=7
crc=1
aud_sync=0
pict_name=AutoQ1
q_char_f=30
progressive=1
alternate_scan=0
letter_box=0
h_filter=0
h_filter_idx=10
h_filter_strength=100
h_filter_idx2=0
h_filter_hpf=0
h_filter_hpf_idx=5
h_filter_hpf_strength=25
h_filter_hpf_idx2=0
v_filter=0
v_filter_val=4
no_move=0
dither=0
dither_Y_max=8
dither_C_max=4
intra_dc_precision_9_max=113
intra_dc_precision_10_max=113
i32_32=0
force_black=0
force_monochrome=0
fill=0
fill_Y_val=16
fill_C_val=128
fill_lines_top=30
fill_lines_bottom=30

[file]
name=C:\Programme\AutoQ\temp\AQFULLENC.avs
stream_no=0
encode_first=0
encode_last=3872

The line '; CCE SP Trial Version -- Encoder Control List' I change in the CCE 2.70 SP Mode into this: '; Cinema Craft Encoder SP -- Encoder Control List'

What is a CCE SP Works Version? Post me a ECL.

Amnon82
18th January 2005, 14:43
I fixed the Predictionmodes again. (There was a bug into it...)

Old Prediction Mode:
AutoQ-Log Version 1.1.01
___________________________________________________________________________
14:23:54 - 18.01.2005 >> AutoQ started...
14:23:54 - 18.01.2005 >> Using CCE 2.70 Trial
14:23:55 - 18.01.2005 >> AVS loaded from: C:\Programme\AutoQ\temp\AQFULLENC.avs
14:24:15 - 18.01.2005 >> Encode after Prediction enabled
14:24:44 - 18.01.2005 >> Old Prediction Mode
14:24:44 - 18.01.2005 >> _________________________________________
14:24:44 - 18.01.2005 >> Project-Info:
14:24:44 - 18.01.2005 >> _________________________________________
14:24:44 - 18.01.2005 >> Desired Target: DVD 720x576
14:24:44 - 18.01.2005 >> Entered Bitrate: min. 2500 max. 8500
14:24:44 - 18.01.2005 >> Entered wanted size: 60
14:24:44 - 18.01.2005 >> Entered Audio size(s): 4
14:24:44 - 18.01.2005 >> Entered Extras size: 0
14:24:44 - 18.01.2005 >> Authoring and ISO overhead: 5
14:24:44 - 18.01.2005 >> % of Movie will be used: 10
14:24:44 - 18.01.2005 >> Your desired final encoded sample: 5
14:24:44 - 18.01.2005 >> Your desired final encoded file: 50
14:24:44 - 18.01.2005 >> _________________________________________
14:24:44 - 18.01.2005 >> Start Prediction-Run #1
14:24:44 - 18.01.2005 >> First Q-Value: 20
14:24:49 - 18.01.2005 >> Results of Prediction-Run #1
14:24:49 - 18.01.2005 >> Encoded Sample in MB: 4
14:24:49 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:24:49 - 18.01.2005 >> Precalculated Finalsize in MB: 40
14:24:49 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:24:49 - 18.01.2005 >> Precalculated Q-Value: 0
14:24:49 - 18.01.2005 >> Sum of Q-Values: 0
14:24:49 - 18.01.2005 >> Precalculated final Q-Value: 0
14:24:49 - 18.01.2005 >> New Q-Value: 16
14:24:49 - 18.01.2005 >> New Frameoffset: 8
14:24:49 - 18.01.2005 >> Start Prediction-Run #2
14:24:55 - 18.01.2005 >> Results of Prediction-Run #2
14:24:55 - 18.01.2005 >> Encoded Sample in MB: 4
14:24:55 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:24:55 - 18.01.2005 >> Precalculated Finalsize in MB: 40
14:24:55 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:24:55 - 18.01.2005 >> Precalculated Q-Value: 5
14:24:55 - 18.01.2005 >> Sum of Q-Values: 5
14:24:55 - 18.01.2005 >> Precalculated final Q-Value: 2
14:24:55 - 18.01.2005 >> New Q-Value: 13
14:24:55 - 18.01.2005 >> New Frameoffset: 00
14:24:55 - 18.01.2005 >> Start Prediction-Run #3
14:25:00 - 18.01.2005 >> Results of Prediction-Run #3
14:25:00 - 18.01.2005 >> Encoded Sample in MB: 4
14:25:00 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:25:00 - 18.01.2005 >> Precalculated Finalsize in MB: 40
14:25:00 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:25:00 - 18.01.2005 >> Precalculated Q-Value: 10
14:25:00 - 18.01.2005 >> Sum of Q-Values: 15
14:25:00 - 18.01.2005 >> Precalculated final Q-Value: 6
14:25:00 - 18.01.2005 >> New Q-Value: 10
14:25:00 - 18.01.2005 >> New Frameoffset: 8
14:25:00 - 18.01.2005 >> Start Prediction-Run #4
14:25:06 - 18.01.2005 >> Results of Prediction-Run #4
14:25:06 - 18.01.2005 >> Encoded Sample in MB: 5
14:25:06 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:25:06 - 18.01.2005 >> Precalculated Finalsize in MB: 50
14:25:06 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:25:06 - 18.01.2005 >> Precalculated Q-Value: 13
14:25:06 - 18.01.2005 >> Sum of Q-Values: 28
14:25:06 - 18.01.2005 >> Precalculated final Q-Value: 10
14:25:06 - 18.01.2005 >> Encoding Final-Sample (Old Prediction Mode)
14:25:06 - 18.01.2005 >> Final Frameoffset: 00
14:25:06 - 18.01.2005 >> Final Q-Value: 7
14:25:11 - 18.01.2005 >> Encoded Final-Sample in MB: 4,21
14:25:11 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:25:11 - 18.01.2005 >> Precalculated Finalsize in MB: 42
14:25:11 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:25:11 - 18.01.2005 >> Renamed final Sample to: F:\test2\1.sample
14:25:40 - 18.01.2005 >> Start Fullencode
14:25:40 - 18.01.2005 >> Final Q-Value: 7
14:26:54 - 18.01.2005 >> Results of Fullencode-Run:
14:26:54 - 18.01.2005 >> Your desired final encoded file: 50
14:26:54 - 18.01.2005 >> Final encoded filesize: 87

28/4 = 7 > Final Q of Encode is 7 >> Mode works.

New Prediction Mode:
AutoQ-Log Version 1.1.01
___________________________________________________________________________
14:27:40 - 18.01.2005 >> AutoQ started...
14:27:40 - 18.01.2005 >> Using CCE 2.70 Trial
14:27:40 - 18.01.2005 >> AVS loaded from: C:\Programme\AutoQ\temp\AQFULLENC.avs
14:27:40 - 18.01.2005 >> Encode after Prediction enabled
14:27:40 - 18.01.2005 >> New Prediction Mode
14:27:40 - 18.01.2005 >> _________________________________________
14:27:40 - 18.01.2005 >> Project-Info:
14:27:40 - 18.01.2005 >> _________________________________________
14:27:40 - 18.01.2005 >> Desired Target: DVD 720x576
14:27:40 - 18.01.2005 >> Entered Bitrate: min. 2500 max. 8500
14:27:40 - 18.01.2005 >> Entered wanted size: 60
14:27:40 - 18.01.2005 >> Entered Audio size(s): 4
14:27:40 - 18.01.2005 >> Entered Extras size: 0
14:27:40 - 18.01.2005 >> Authoring and ISO overhead: 5
14:27:40 - 18.01.2005 >> % of Movie will be used: 10
14:27:40 - 18.01.2005 >> Your desired final encoded sample: 5
14:27:40 - 18.01.2005 >> Your desired final encoded file: 50
14:27:40 - 18.01.2005 >> _________________________________________
14:27:40 - 18.01.2005 >> Start Prediction-Run #1
14:27:40 - 18.01.2005 >> First Q-Value: 20
14:27:46 - 18.01.2005 >> Results of Prediction-Run #1
14:27:46 - 18.01.2005 >> Encoded Sample in MB: 3
14:27:46 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:27:46 - 18.01.2005 >> Precalculated Finalsize in MB: 30
14:27:46 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:27:46 - 18.01.2005 >> New Q-Value: 12
14:27:46 - 18.01.2005 >> New Frameoffset: 8
14:27:46 - 18.01.2005 >> Start Prediction-Run #2
14:27:51 - 18.01.2005 >> Results of Prediction-Run #2
14:27:51 - 18.01.2005 >> Encoded Sample in MB: 5
14:27:51 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:27:51 - 18.01.2005 >> Precalculated Finalsize in MB: 50
14:27:51 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:27:51 - 18.01.2005 >> SameQ-Run #1
14:27:51 - 18.01.2005 >> (Q - 1)
14:27:51 - 18.01.2005 >> New Q-Value: 11
14:27:51 - 18.01.2005 >> New Frameoffset: 00
14:27:51 - 18.01.2005 >> Start Prediction-Run #3
14:27:57 - 18.01.2005 >> Results of Prediction-Run #3
14:27:57 - 18.01.2005 >> Encoded Sample in MB: 4
14:27:57 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:27:57 - 18.01.2005 >> Precalculated Finalsize in MB: 40
14:27:57 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:27:57 - 18.01.2005 >> New Q-Value: 9
14:27:57 - 18.01.2005 >> New Frameoffset: 8
14:27:57 - 18.01.2005 >> Start Prediction-Run #4
14:28:03 - 18.01.2005 >> Results of Prediction-Run #4
14:28:03 - 18.01.2005 >> Encoded Sample in MB: 5
14:28:03 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:28:03 - 18.01.2005 >> Precalculated Finalsize in MB: 50
14:28:03 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:28:03 - 18.01.2005 >> SameQ-Run #2
14:28:03 - 18.01.2005 >> Encoding Final-Sample (New Prediction Mode)
14:28:03 - 18.01.2005 >> Final Frameoffset: 00
14:28:03 - 18.01.2005 >> Final Q-Value: 9
14:28:08 - 18.01.2005 >> Encoded Final-Sample in MB: 4,32
14:28:08 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:28:08 - 18.01.2005 >> Precalculated Finalsize in MB: 43
14:28:08 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:28:08 - 18.01.2005 >> Renamed final Sample to: F:\test2\2.sample
14:28:37 - 18.01.2005 >> Start Fullencode
14:28:37 - 18.01.2005 >> Final Q-Value: 9
14:29:49 - 18.01.2005 >> Results of Fullencode-Run:
14:29:49 - 18.01.2005 >> Your desired final encoded file: 50
14:29:49 - 18.01.2005 >> Final encoded filesize: 84

5 MB = 5 MB > Final Q 9 >> Final Q of Encode = 9 >> Mode works.

Trap Prediction:
AutoQ-Log Version 1.1.01
___________________________________________________________________________
14:29:56 - 18.01.2005 >> AutoQ started...
14:29:56 - 18.01.2005 >> Using CCE 2.70 Trial
14:29:59 - 18.01.2005 >> New Prediction disabled
14:29:59 - 18.01.2005 >> Trap Prediction enabled
14:30:05 - 18.01.2005 >> Trap Prediction Mode
14:30:05 - 18.01.2005 >> _________________________________________
14:30:05 - 18.01.2005 >> Project-Info:
14:30:05 - 18.01.2005 >> _________________________________________
14:30:05 - 18.01.2005 >> Desired Target: DVD 720x576
14:30:05 - 18.01.2005 >> Entered Bitrate: min. 2500 max. 8500
14:30:05 - 18.01.2005 >> Entered wanted size: 60
14:30:05 - 18.01.2005 >> Entered Audio size(s): 4
14:30:05 - 18.01.2005 >> Entered Extras size: 0
14:30:05 - 18.01.2005 >> Authoring and ISO overhead: 5
14:30:05 - 18.01.2005 >> % of Movie will be used: 10
14:30:05 - 18.01.2005 >> Your desired final encoded sample: 5
14:30:05 - 18.01.2005 >> Your desired final encoded file: 50
14:30:05 - 18.01.2005 >> _________________________________________
14:30:05 - 18.01.2005 >> Start Prediction-Run #1
14:30:05 - 18.01.2005 >> First Q-Value: 26
14:30:10 - 18.01.2005 >> Results of Prediction-Run #1
14:30:10 - 18.01.2005 >> Encoded Sample in MB: 3
14:30:10 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:30:10 - 18.01.2005 >> Precalculated Finalsize in MB: 30
14:30:10 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:30:10 - 18.01.2005 >> New Q-Value(Trap): 21
14:30:10 - 18.01.2005 >> New min. Q-Value: 17 <> max. Q-Value: 25
14:30:10 - 18.01.2005 >> New Frameoffset: 8
14:30:10 - 18.01.2005 >> Start Prediction-Run #2
14:30:16 - 18.01.2005 >> Results of Prediction-Run #2
14:30:16 - 18.01.2005 >> Encoded Sample in MB: 4
14:30:16 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:30:16 - 18.01.2005 >> Precalculated Finalsize in MB: 40
14:30:16 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:30:16 - 18.01.2005 >> New Q-Value(Trap): 17
14:30:16 - 18.01.2005 >> New min. Q-Value: 14 <> max. Q-Value: 20
14:30:16 - 18.01.2005 >> New Frameoffset: 00
14:30:16 - 18.01.2005 >> Start Prediction-Run #3
14:30:21 - 18.01.2005 >> Results of Prediction-Run #3
14:30:21 - 18.01.2005 >> Encoded Sample in MB: 3
14:30:21 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:30:21 - 18.01.2005 >> Precalculated Finalsize in MB: 30
14:30:21 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:30:21 - 18.01.2005 >> New Q-Value(Trap): 14
14:30:21 - 18.01.2005 >> New min. Q-Value: 11 <> max. Q-Value: 16
14:30:21 - 18.01.2005 >> New Frameoffset: 8
14:30:21 - 18.01.2005 >> Start Prediction-Run #4
14:30:29 - 18.01.2005 >> Results of Prediction-Run #4
14:30:29 - 18.01.2005 >> Encoded Sample in MB: 5
14:30:29 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:30:29 - 18.01.2005 >> Precalculated Finalsize in MB: 50
14:30:29 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:30:29 - 18.01.2005 >> Encoding Final-Sample (Trap Prediction Mode)
14:30:29 - 18.01.2005 >> Final Frameoffset: 00
14:30:29 - 18.01.2005 >> Final Q-Value: 14
14:30:35 - 18.01.2005 >> Encoded Final-Sample in MB: 3,73
14:30:35 - 18.01.2005 >> Wanted Samplesize in MB: 5
14:30:35 - 18.01.2005 >> Precalculated Finalsize in MB: 37
14:30:35 - 18.01.2005 >> Wanted Finalsize in MB: 50
14:30:35 - 18.01.2005 >> Renamed final Sample to: F:\test2\2.sample
14:31:04 - 18.01.2005 >> Start Fullencode
14:31:04 - 18.01.2005 >> Final Q-Value: 14
14:32:15 - 18.01.2005 >> Results of Fullencode-Run:
14:32:15 - 18.01.2005 >> Your desired final encoded file: 50
14:32:15 - 18.01.2005 >> Final encoded filesize: 75

5MB = 5MB > Final Q = 14 >> Final Q of Encode = 14 >> Mode works.

Why have I now so different results? I only used a trailer of 3 Min for testing. So there are only a few frames to encode. The test is only to show that the modes working again. THX drob. I only tested Trap-Prediction in the last versions and forgot the other Modes... Sorry for that.

@all
If somebody has a better Prediction in mind please post me a example. If one ECL don't work for Your CCE Version post me a ECL of Yours. THX

drob
18th January 2005, 16:10
Ok latest test:
Qcce: Q12
New mode: Q12 in 5 runs +last sample
Old mode: Q7
Trap mode: loops and loops and loops and loops

All settings are saved right now, thanks for that!
New mode seems to loops sometimes it looped round Q11 and Q12 for few runs till I stopped it, a second run after deleting the sample and temp folder worked ok.

New mode is now accurate in 3 tests for me

Btw as of the conflict with Sygate firewall, if I open and close AutoQ without loading an avs, no problem, if I load the avs, and then run it, or just exit, then I get the error, any chance you can fix this?

needle
18th January 2005, 19:49
@Amnon82

Assuming that PFF means "Progresive frame flag" and UFF "Upper field first" as in QCCE, why is not possible to select both PFF and UFF, or unselect both PFF and UFF?

When Autoq make several projects in the same sesion, seems that the sum of q-values is not set to zero before to start a new project.

Please consider the following algorithm:

Denote the predicted size for a Q-value by s(Q) and the goal size as g.

0. Set QMIN = 0 and QMAX = 100.

1. Let QNEW = (QMAX + QMIN)/2

Compute s(QNEW)

IF ( s(QNEW) <= g) then

QMAX = QNEW
s* = s(QNEW)

ELSE

QMIN = QNEW

ENDIF

IF ( (QMAX - QMIN) > 1 ) GOTO 1

2. RETURN QMAX as the predicted right Q-value and s* as the predicted size.

For this algorithm, I suggest to use the same sample for all the iterations in order to guarantee that s(Q) is a decreasing function of the Q-value.

Best regards

Amnon82
18th January 2005, 22:52
THX needle for the bugreport. I fixed it in the new final 1.2.

Sum of all Q-Values is not needed anymore...

I'll look into your predictionmode. Maybe I add it soon.

I hope there is no bug in the Version 1.2.
If somebody find one, please post it.

Amnon82
19th January 2005, 02:49
Here the log of Version 1.2.01:

AutoQ-Log Version 1.2.01
___________________________________________________________________________
02:33:55 - 19.01.2005 >> AutoQ started...
02:33:55 - 19.01.2005 >> Using CCE 2.70 Trial
02:33:59 - 19.01.2005 >> AVS loaded from: C:\Programme\AutoQ\temp\AQFULLENC.avs
02:34:04 - 19.01.2005 >>
02:34:04 - 19.01.2005 >> _________________________________________
02:34:04 - 19.01.2005 >> Project-Info:
02:34:04 - 19.01.2005 >> _________________________________________
02:34:04 - 19.01.2005 >> Desired Target: DVD 720x576
02:34:04 - 19.01.2005 >> Entered Bitrate: min. 2500 max. 8500
02:34:04 - 19.01.2005 >> Entered wanted size in MiB: 4482 (4700 MB)
02:34:04 - 19.01.2005 >> Entered Audio size(s) in MiB: 286 (300 MB)
02:34:04 - 19.01.2005 >> Entered Extras size in MiB: 0 (0 MB)
02:34:04 - 19.01.2005 >> Authoring and ISO overhead in MiB: 114 (120 MB)
02:34:04 - 19.01.2005 >> % of Movie will be used: 2
02:34:04 - 19.01.2005 >> Your desired final encoded sample in MiB: 82
02:34:04 - 19.01.2005 >> Your desired final encoded file in MiB: 4100
02:34:04 - 19.01.2005 >> _________________________________________
02:34:04 - 19.01.2005 >>
02:34:04 - 19.01.2005 >> _________________________________________
02:34:04 - 19.01.2005 >> Start Prediction-Run #1
02:34:04 - 19.01.2005 >> First Q-Value: 12
02:34:04 - 19.01.2005 >> First Frameoffset: 00
02:35:01 - 19.01.2005 >> Results of Prediction-Run #1
02:35:01 - 19.01.2005 >> Encoded Sample in MiB: 72
02:35:01 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:35:01 - 19.01.2005 >> Precalculated Finalsize in MiB: 3600
02:35:01 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:35:01 - 19.01.2005 >> _________________________________________
02:35:01 - 19.01.2005 >>
02:35:01 - 19.01.2005 >> _________________________________________
02:35:01 - 19.01.2005 >> Start Prediction-Run #2
02:35:01 - 19.01.2005 >> Q-Value of this pass: 11
02:35:01 - 19.01.2005 >> Frameoffset of this pass: 24
02:35:59 - 19.01.2005 >> Results of Prediction-Run #2
02:35:59 - 19.01.2005 >> Encoded Sample in MiB: 75
02:35:59 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:35:59 - 19.01.2005 >> Precalculated Finalsize in MiB: 3750
02:35:59 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:35:59 - 19.01.2005 >> _________________________________________
02:35:59 - 19.01.2005 >>
02:35:59 - 19.01.2005 >> _________________________________________
02:35:59 - 19.01.2005 >> Start Prediction-Run #3
02:35:59 - 19.01.2005 >> Q-Value of this pass: 10
02:35:59 - 19.01.2005 >> Frameoffset of this pass: 00
02:36:56 - 19.01.2005 >> Results of Prediction-Run #3
02:36:56 - 19.01.2005 >> Encoded Sample in MiB: 75
02:36:56 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:36:56 - 19.01.2005 >> Precalculated Finalsize in MiB: 3750
02:36:56 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:36:56 - 19.01.2005 >> _________________________________________
02:36:56 - 19.01.2005 >>
02:36:56 - 19.01.2005 >> _________________________________________
02:36:56 - 19.01.2005 >> Start Prediction-Run #4
02:36:57 - 19.01.2005 >> Q-Value of this pass: 9
02:36:57 - 19.01.2005 >> Frameoffset of this pass: 24
02:37:54 - 19.01.2005 >> Results of Prediction-Run #4
02:37:54 - 19.01.2005 >> Encoded Sample in MiB: 77
02:37:54 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:37:54 - 19.01.2005 >> Precalculated Finalsize in MiB: 3850
02:37:54 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:37:54 - 19.01.2005 >> _________________________________________
02:37:54 - 19.01.2005 >>
02:37:54 - 19.01.2005 >> _________________________________________
02:37:54 - 19.01.2005 >> Start Prediction-Run #5
02:37:55 - 19.01.2005 >> Q-Value of this pass: 8
02:37:55 - 19.01.2005 >> Frameoffset of this pass: 00
02:38:52 - 19.01.2005 >> Results of Prediction-Run #5
02:38:52 - 19.01.2005 >> Encoded Sample in MiB: 78
02:38:52 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:38:52 - 19.01.2005 >> Precalculated Finalsize in MiB: 3900
02:38:52 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:38:52 - 19.01.2005 >> _________________________________________
02:38:52 - 19.01.2005 >>
02:38:52 - 19.01.2005 >> _________________________________________
02:38:52 - 19.01.2005 >> Start Prediction-Run #6
02:38:52 - 19.01.2005 >> Q-Value of this pass: 7
02:38:52 - 19.01.2005 >> Frameoffset of this pass: 24
02:39:50 - 19.01.2005 >> Results of Prediction-Run #6
02:39:50 - 19.01.2005 >> Encoded Sample in MiB: 80
02:39:50 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:39:50 - 19.01.2005 >> Precalculated Finalsize in MiB: 4000
02:39:50 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:39:50 - 19.01.2005 >> _________________________________________
02:39:50 - 19.01.2005 >>
02:39:50 - 19.01.2005 >> _________________________________________
02:39:50 - 19.01.2005 >> Encoding Final-Sample (New Prediction Mode)
02:39:50 - 19.01.2005 >> Final Frameoffset: 00
02:39:50 - 19.01.2005 >> Final Q-Value: 7
02:39:51 - 19.01.2005 >> Encoded Final-Sample in MiB: 79,66
02:39:51 - 19.01.2005 >> Wanted Samplesize in MiB: 82
02:39:51 - 19.01.2005 >> Precalculated Finalsize in MiB: 3983
02:39:51 - 19.01.2005 >> Wanted Finalsize in MiB: 4100
02:39:51 - 19.01.2005 >> _________________________________________
02:39:51 - 19.01.2005 >> Renamed final Sample to: F:\test2\qcce.sample

There the AutoQ.exe(only) Version 1.2.01

Download Testversion Build 1.2.01 (http://www.brckomania.net/AUTOQ/fortesting/AutoQ1201.rar)

Amnon82
19th January 2005, 14:58
Here the Log of the new Version:

AutoQ-Log Version 1.2.03
___________________________________________________________________________
14:14:15 - 19.01.2005 >> AutoQ started...
14:14:15 - 19.01.2005 >> Using CCE 2.70 Trial
14:15:03 - 19.01.2005 >> AVS loaded from: C:\Programme\AutoQ\temp\AQFULLENC.avs
14:15:12 - 19.01.2005 >>
14:15:12 - 19.01.2005 >> _________________________________________
14:15:12 - 19.01.2005 >> Project-Info:
14:15:12 - 19.01.2005 >> _________________________________________
14:15:12 - 19.01.2005 >> Desired Target: DVD 720x576
14:15:12 - 19.01.2005 >> Entered Bitrate: min. 2500 max. 8500
14:15:12 - 19.01.2005 >> Entered wanted size in MiB: 4482 (4700 MB)
14:15:12 - 19.01.2005 >> Entered Audio size(s) in MiB: 286 (300 MB)
14:15:12 - 19.01.2005 >> Entered Extras size in MiB: 95 (100 MB)
14:15:12 - 19.01.2005 >> Authoring and ISO overhead in MiB: 114 (120 MB)
14:15:12 - 19.01.2005 >> % of Movie will be used: 2
14:15:12 - 19.01.2005 >> Your desired final encoded sample in MiB: 80 (84 MB)
14:15:12 - 19.01.2005 >> Your desired final encoded file in MiB: 4000 (4200 MB)
14:15:12 - 19.01.2005 >> _________________________________________
14:15:12 - 19.01.2005 >>
14:15:12 - 19.01.2005 >> _________________________________________
14:15:12 - 19.01.2005 >> Start Prediction-Run #1
14:15:12 - 19.01.2005 >> First Q-Value: 7
14:15:12 - 19.01.2005 >> First Frameoffset: 00
14:16:17 - 19.01.2005 >> Results of Prediction-Run #1
14:16:17 - 19.01.2005 >> Encoded Sample in MiB: 79
14:16:17 - 19.01.2005 >> Wanted Samplesize in MiB: 80
14:16:17 - 19.01.2005 >> Precalculated Finalsize in MiB: 3950
14:16:17 - 19.01.2005 >> Wanted Finalsize in MiB: 4000
14:16:17 - 19.01.2005 >> _________________________________________
14:16:17 - 19.01.2005 >> Start Prediction-Run #2
14:16:17 - 19.01.2005 >> Q-Value of this pass: 6
14:16:17 - 19.01.2005 >> Frameoffset of this pass: 24
14:17:19 - 19.01.2005 >> Results of Prediction-Run #2
14:17:19 - 19.01.2005 >> Encoded Sample in MiB: 81
14:17:19 - 19.01.2005 >> Wanted Samplesize in MiB: 80
14:17:19 - 19.01.2005 >> Precalculated Finalsize in MiB: 4050
14:17:19 - 19.01.2005 >> Wanted Finalsize in MiB: 4000
14:17:19 - 19.01.2005 >> _________________________________________
14:17:19 - 19.01.2005 >> Encoding Final-Sample (New Prediction Mode)
14:17:19 - 19.01.2005 >> Final Frameoffset: 00
14:17:19 - 19.01.2005 >> Final Q-Value: 6
14:17:19 - 19.01.2005 >> Encoded Final-Sample in MiB: 80,78
14:17:19 - 19.01.2005 >> Wanted Samplesize in MiB: 80
14:17:19 - 19.01.2005 >> Precalculated Finalsize in MiB: 4039
14:17:19 - 19.01.2005 >> Wanted Finalsize in MiB: 4000
14:17:19 - 19.01.2005 >> Renamed final Sample to: F:\test2\qcce.sample


@all: Please test this Version. I hope it is now more accurate.

needle
19th January 2005, 18:53
@Amnon82

Sometimes the reported "Final Q-value" is bugged as You can see in the following log:


AutoQ-Log Version 1.2.03
___________________________________________________________________________
15:34:59 - 19/01/2005 >> AutoQ started...
15:34:59 - 19/01/2005 >> Using CCE 2.66/2.67 Trial
15:36:18 - 19/01/2005 >> AVS loaded from: D:\DVD_Volume_11.01.2005_20.04\Video_0xE0.AVS
15:36:21 - 19/01/2005 >> Chapters loaded from: D:\DVD_Volume_11.01.2005_20.04\CellTimes.txt
......
15:44:50 - 19/01/2005 >> _________________________________________
15:44:50 - 19/01/2005 >> Project-Info:
15:44:50 - 19/01/2005 >> _________________________________________
15:44:50 - 19/01/2005 >> Desired Target: DVD 720x576
15:44:50 - 19/01/2005 >> Entered Bitrate: min. 500 max. 7500
15:44:50 - 19/01/2005 >> Entered wanted size in MiB: 4482 (4700 MB)
15:44:50 - 19/01/2005 >> Entered Audio size(s) in MiB: 381 (400 MB)
15:44:50 - 19/01/2005 >> Entered Extras size in MiB: 0 (0 MB)
15:44:50 - 19/01/2005 >> Authoring and ISO overhead in MiB: 114 (120 MB)
15:44:50 - 19/01/2005 >> % of Movie will be used: 2
15:44:50 - 19/01/2005 >> Your desired final encoded sample in MiB: 80 (84 MB)
15:44:50 - 19/01/2005 >> Your desired final encoded file in MiB: 4000 (4200 MB)
....
15:56:18 - 19/01/2005 >> Start Prediction-Run #10
15:56:18 - 19/01/2005 >> Q-Value of this pass: 12
15:56:18 - 19/01/2005 >> Frameoffset of this pass: 30
15:57:33 - 19/01/2005 >> Results of Prediction-Run #10
15:57:33 - 19/01/2005 >> Encoded Sample in MiB: 80
15:57:33 - 19/01/2005 >> Wanted Samplesize in MiB: 80
15:57:33 - 19/01/2005 >> Precalculated Finalsize in MiB: 4000
15:57:33 - 19/01/2005 >> Wanted Finalsize in MiB: 4000
15:57:33 - 19/01/2005 >> _________________________________________
15:57:33 - 19/01/2005 >> Encoding Final-Sample (Same Size)
15:57:33 - 19/01/2005 >> Final Frameoffset: 00
15:57:33 - 19/01/2005 >> Final Q-Value: 92 <---------- (Should be 12)
15:58:48 - 19/01/2005 >> Encoded Final-Sample in MiB: 82,26
15:58:48 - 19/01/2005 >> Wanted Samplesize in MiB: 80
15:58:48 - 19/01/2005 >> Precalculated Finalsize in MiB: 4113
15:58:48 - 19/01/2005 >> Wanted Finalsize in MiB: 4000
15:58:48 - 19/01/2005 >> Renamed final Sample to: D:\DVD_Volume_11.01.2005_20.04\autoq.sample
18:04:53 - 19/01/2005 >>

Amnon82
19th January 2005, 20:05
@needle: Can You test it with the same settings with version 1.2.04? I think this little "bug" is fixed in this version.

How do You enter Your values in AutoQ and in QCCE? Decimal or 1024base?
I only want to know what is easier for the user.

needle
19th January 2005, 20:39
@Amnon82

In a small test it seems that the "Final Q-value" small bug has been fixed.

I prefer to enter values in 1024 base.

Are You planning to add support for CCE SP 2.50?
At least for "Standard matrices" it should be very easy.

Best regards.

drob
19th January 2005, 22:47
Hmmm 1024 base you say.... :D

Amnon82
20th January 2005, 00:09
Tryout Version 1.2.05. I removed the MB > MiB conversation.

Download 1.2.05 (http://www.brckomania.net/AUTOQ/files/AutoQ_Test.exe)

Amnon82
20th January 2005, 16:53
I think the firewall-bug is fixed now ...

drob
20th January 2005, 18:24
Amnon I found a tiny thing, the start value for desired size, and the overhead should be returned to the 1024 values, that is 4479 and 117.

Firewall bug still there, see your pm.

Amnon82
20th January 2005, 19:39
AutoQ loads always Your last run. If there are the values 4700 and 120 then it will load them. Click on 'Load Default Settings' and 4476 and 117 will come again.

I recompiled 1.2.1. I'm using now a newer version of vfw. Maybe it will fix the firewall problem. I also contacted esby, a france delphi-coder who gave me his code. Maybe he know something about this problem with the sygate firewall.

Amnon82
21st January 2005, 17:46
Added Support for CCE 2.50.

@needle: Can't check if I did a mistake in the ECL-Creation. I can't test CCE 2.50 on my AMD64 with AVS. It crashes everytime.
Can You test it for me?

NanoBot
21st January 2005, 18:54
Hi Amnon82,

Originally posted by Amnon82
Added Support for CCE 2.50.

@needle: Can't check if I did a mistake in the ECL-Creation. I can't test CCE 2.50 on my AMD64 with AVS. It crashes everytime.
Can You test it for me?

Did you try to add

audiodub(BlankClip())

at the end of your avs-File ?

Works fine for me with an Athlon XP 3200+. And i will test AutoQ with CCE 2.50 and report in, if necessary.

C.U. NanoBot

Amnon82
21st January 2005, 19:40
THX nanobot. this was it.

NanoBot
21st January 2005, 20:14
Hi again,

Originally posted by Amnon82
THX nanobot. this was it.

Now i ran into a problem when trying to test AutoQ whith CCE 2.5:

AutoQ-Log Version 1.2.2
___________________________________________________________________________
20:08:12 - 21.01.2005 >> AutoQ started...
20:08:19 - 21.01.2005 >> AVS loaded from: H:\Episode4\AutoQTest.avs
20:08:26 - 21.01.2005 >>
20:08:26 - 21.01.2005 >> _________________________________________
20:08:26 - 21.01.2005 >> Project-Info:
20:08:26 - 21.01.2005 >> _________________________________________
20:08:26 - 21.01.2005 >> Desired Target: DVD 720x576
20:08:26 - 21.01.2005 >> Entered Bitrate: min. 1000 max. 7500
20:08:26 - 21.01.2005 >> Entered wanted size in MB: 4700
20:08:26 - 21.01.2005 >> Entered Audio size(s) in MB: 800
20:08:26 - 21.01.2005 >> Entered Extras size in MB: 50
20:08:26 - 21.01.2005 >> Authoring and ISO overhead in MB: 120
20:08:26 - 21.01.2005 >> % of Movie will be used: 2
20:08:26 - 21.01.2005 >> Your desired final encoded sample in MB: 75
20:08:26 - 21.01.2005 >> Your desired final encoded file in MB: 3750

AutoQ seems not to be able to find the executably, it also does not recognice that the executable ist CCE2.5

Nevertheless the file "CCE.set" contains the correct path to the CCE binary: D:\MPEG\CCE250\CCTSP.EXE


Any idea ?


C.U. NanoBot

needle
24th January 2005, 12:51
@Amnon82

Autoq not yet works for CCE SP 250. Seems that Autoq is unable to open the CCE SP 250 executable.

The 250' ecl file generated by Autoq does not contain the lines "vmode=0" and "encode_mode=0", which are equivalent
to "video_type=2" in 267's ecl files.

Note that CCE 250 supports chapters (The syntaxis in the ecl file is the same as in CCE SP 267).

Sometimes the values of "top_first", "offset_line" and "progressive" in the ecl file are bad as follows:
top_first=uffchecked
offset_line=uffchecked
progressive=PFFCHECKED

Best regards

Amnon82
25th January 2005, 07:08
Ok, there was a little offtime for this board here.

So what I did during this offtime? Coding!

I'm working on a new prediction-mode. Workingtitle is Amnon-Prediction.
Check the newest testversion out.

Mainchanges in the last Version:

Added XP-Style;
Added Ballon-Tips;
Tried to fix the new prediction mode (This mode was the only one I keept from Version 1.1);

Amnon82
25th January 2005, 11:00
Finished the Amnon-Prediction.

Here the first Log:

AutoQ-Log Version 1.2.6
___________________________________________________________________________
10:41:09 - 25.01.2005 >> AutoQ started...
10:41:09 - 25.01.2005 >> Using CCE 2.70 Trial
10:41:10 - 25.01.2005 >> AVS loaded from: F:\AutoQWork\AQFULLENC.avs
10:41:13 - 25.01.2005 >> Chapters loaded from: F:\AutoQWork\traffic2.txt
10:41:18 - 25.01.2005 >>
10:41:18 - 25.01.2005 >> _________________________________________
10:41:18 - 25.01.2005 >> Project-Info:
10:41:18 - 25.01.2005 >> _________________________________________
10:41:18 - 25.01.2005 >>
10:41:18 - 25.01.2005 >> Using Amnon-Prediction 0.9
10:41:18 - 25.01.2005 >>
10:41:18 - 25.01.2005 >> Desired Target: DVD 720x576
10:41:18 - 25.01.2005 >> Entered Bitrate: min. 500 max. 7500
10:41:18 - 25.01.2005 >> Entered wanted size in MB: 4476
10:41:18 - 25.01.2005 >> Entered Audio size(s) in MB: 650
10:41:18 - 25.01.2005 >> Entered Extras size in MB: 0
10:41:18 - 25.01.2005 >> Authoring and ISO overhead in MB: 117
10:41:18 - 25.01.2005 >> % of Movie will be used: 4
10:41:18 - 25.01.2005 >> Your desired final encoded sample in MB: 148
10:41:18 - 25.01.2005 >> Your desired final encoded file in MB: 3700
10:41:18 - 25.01.2005 >> Safe Mode disabled
10:41:18 - 25.01.2005 >> _________________________________________
10:41:18 - 25.01.2005 >>
10:41:18 - 25.01.2005 >> _________________________________________
10:41:18 - 25.01.2005 >> Start Prediction-Run #1
10:41:18 - 25.01.2005 >> First Q-Value: 14 [7|21]
10:41:18 - 25.01.2005 >> First Frameoffset: 00
10:43:55 - 25.01.2005 >> Results of Prediction-Run #1
10:43:55 - 25.01.2005 >> Encoded Sample in MB: 153
10:43:55 - 25.01.2005 >> Wanted Samplesize in MB: 148
10:43:55 - 25.01.2005 >> Precalculated Finalsize in MB: 3825
10:43:55 - 25.01.2005 >> Wanted Finalsize in MB: 3700
10:43:55 - 25.01.2005 >> _________________________________________
10:43:55 - 25.01.2005 >> Start Prediction-Run #2
10:43:56 - 25.01.2005 >> Q-Value of this pass: 18 [14|21]
10:43:56 - 25.01.2005 >> Frameoffset of this pass: 15
10:46:33 - 25.01.2005 >> Results of Prediction-Run #2
10:46:33 - 25.01.2005 >> Encoded Sample in MB: 133
10:46:33 - 25.01.2005 >> Wanted Samplesize in MB: 148
10:46:33 - 25.01.2005 >> Precalculated Finalsize in MB: 3325
10:46:33 - 25.01.2005 >> Wanted Finalsize in MB: 3700
10:46:33 - 25.01.2005 >> _________________________________________
10:46:33 - 25.01.2005 >> Start Prediction-Run #3
10:46:33 - 25.01.2005 >> Q-Value of this pass: 16 [14|18]
10:46:33 - 25.01.2005 >> Frameoffset of this pass: 00
10:49:10 - 25.01.2005 >> Results of Prediction-Run #3
10:49:10 - 25.01.2005 >> Encoded Sample in MB: 143
10:49:10 - 25.01.2005 >> Wanted Samplesize in MB: 148
10:49:10 - 25.01.2005 >> Precalculated Finalsize in MB: 3575
10:49:10 - 25.01.2005 >> Wanted Finalsize in MB: 3700
10:49:10 - 25.01.2005 >> _________________________________________
10:49:10 - 25.01.2005 >> Start Prediction-Run #4
10:49:10 - 25.01.2005 >> Q-Value of this pass: 15 [14|16]
10:49:10 - 25.01.2005 >> Frameoffset of this pass: 15
10:51:48 - 25.01.2005 >> Results of Prediction-Run #4
10:51:48 - 25.01.2005 >> Encoded Sample in MB: 144
10:51:48 - 25.01.2005 >> Wanted Samplesize in MB: 148
10:51:48 - 25.01.2005 >> Precalculated Finalsize in MB: 3600
10:51:48 - 25.01.2005 >> Wanted Finalsize in MB: 3700
10:51:48 - 25.01.2005 >> _________________________________________
10:51:48 - 25.01.2005 >> Encoding Final-Sample (Amnon Prediction)
10:51:48 - 25.01.2005 >> Final Frameoffset: 00
10:51:48 - 25.01.2005 >> Final Q-Value: 15
10:54:25 - 25.01.2005 >> Encoded Final-Sample in MB: 147,8
10:54:25 - 25.01.2005 >> Wanted Samplesize in MB: 148
10:54:25 - 25.01.2005 >> Precalculated Finalsize in MB: 3695
10:54:25 - 25.01.2005 >> Wanted Finalsize in MB: 3700
10:54:25 - 25.01.2005 >> Renamed final Sample to: F:\AutoQWork\traffic2.sample

drob
26th January 2005, 04:09
Amnon I wrote you a whole form but your PM is full and I lost it all so to make it short,

Tested RC4 few bugs:

Started Q 5 goes down to 3 then 2 and loops at 2 until I abort.

All functions seems to work ok went by the test file.

BT came back after abort, even that it was disabled, restarting solved it.

Starting value seems to be 2%, touching the slider goes to 4 but after restart 2% again.

Changing from dvd to svcd while on 23.976 gives an error not a legal integer.

I think task priority is unnecessary, AutoQ uses zero cpu power as it is so why bother, its cce who uses all the power, just give it a normal task priority.

BT seems to "flicker"

Amnon82
27th January 2005, 15:23
THX for the replay. I must find out what the bug is. Abort is not running yet. Also I must fix the CCE 2.50 bug.

Amnon82
27th January 2005, 16:08
Here the Code of the ECL for the Prediction for CCE2.50

; Cinema Craft Encoder SP -- Encoder Control List

[item]
title=AutoQ-Prediction
vid_out=1
vaf_out=1
aud_out=0
vid_file0=F:\test\cce250.m2v
vid_file1=F:\test\cce250.m2v
vaf_file=F:\test\cce250.vaf
aud_file=C:\cce.mpa
file_focused=0
encode_mode=0
packet_size=4096
timecode=0x0000000
width=720
height=576
vmode=0
frame_rate_idx=3
cbr_brate=6000
opv_q_factor=42
opv_brate_min=2500
opv_brate_max=8500
vbr_brate_avg=8500
vbr_brate_min=2500
vbr_brate_max=8500
vbr_bias=30
vbr_pass=3
quality_prec=30
use_filter=0
filter_val=6
seq_endcode=0
dvd=0
half_width=0
half_height=0
fast_mode=0
progressive=1
alternate_scan=0
non_linear=1
top_first=0
lum_level=0
intra_dc_prec=3
aspect_ratio=3
gop_m=3
gop_nm=4
gop_hdr=12
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
mpeg1=0
mpeg1_cps=0
samples_per_sec=0
stereo=2
brate_idx=7
crc=1

[file]
name=E:\DelphiProjects\NEW_AUTOQ\temp\AQPREDICTION.avs
type=0
frame_first=0
frame_last=2808
encode_first=0
encode_last=2808

The one for the encoding:

; Cinema Craft Encoder SP -- Encoder Control List

[item]
title=AutoQ-Prediction
vid_out=1
vaf_out=1
aud_out=0
vid_file0=F:\test\cce250.m2v
vid_file1=F:\test\cce250.m2v
vaf_file=F:\test\cce250.vaf
aud_file=C:\cce.mpa
file_focused=0
encode_mode=0
packet_size=4096
timecode=0x0000000
width=720
height=576
vmode=0
frame_rate_idx=3
cbr_brate=6000
opv_q_factor=42
opv_brate_min=2500
opv_brate_max=8500
vbr_brate_avg=8500
vbr_brate_min=2500
vbr_brate_max=8500
vbr_bias=30
vbr_pass=3
quality_prec=30
use_filter=0
filter_val=6
seq_endcode=0
dvd=0
half_width=0
half_height=0
fast_mode=0
progressive=1
alternate_scan=0
non_linear=1
top_first=0
lum_level=0
intra_dc_prec=3
aspect_ratio=3
gop_m=3
gop_nm=4
gop_hdr=12
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
mpeg1=0
mpeg1_cps=0
samples_per_sec=0
stereo=2
brate_idx=7
crc=1

[file]
name=E:\DelphiProjects\NEW_AUTOQ\temp\AQFULLENC.avs
type=0
frame_first=0
frame_last=140676
encode_first=0
encode_last=140676
chapter=0:
chapter=6591:
chapter=10647:
chapter=18824:
chapter=24544:
chapter=28977:
chapter=39936:
chapter=46540:
chapter=50999:
chapter=59306:
chapter=66560:
chapter=73476:
chapter=81185:
chapter=88205:
chapter=94796:
chapter=100646:
chapter=108719:
chapter=115128:
chapter=120978:
chapter=130988:

Hmm I must search the net for the right Batch-code for CCE 2.50.

This Code works only for CCE 2.70 and not for CCE 2.50:

<CCE Path> -ecl <ECL Path> -batch

The uffchecked-Bug is fixed now.
Abortbug should be fixed now. (still testing it out).
Loopbug is fixed now.
Priority is for CCE. (AutoQ gets the priority and all other apps AutoQ starts get the same priority.)

Amnon82
27th January 2005, 21:57
I did some minor changes.

The gui looks a little bit differnt. CCEPath got his own form.
Also I added 'unknown CCE Version' so some of You guys can tweak the
ECL a little bit to get the CCE Version running.

Till now I didn't find a way starting CCE2.50 with AutoQ. So I deaktivate the 2.50 support in this version.

I fixed all bug drob has posted me from the last version.
I tested RC5 and I didn't found a bug.
Please test the RC5. I hope I can rename it to 1.3.0 Final.

Also I uploaded the source. So now can everybody look into the AutoQ.
If somebody has a code for AutoQ please post me a PM.
I hope so some other delphi-coder can help me to get AutoQ better.

NanoBot
27th January 2005, 23:00
Hi Amnon82,

Originally posted by Amnon82
I did some minor changes.
The gui looks a little bit differnt. CCEPath got his own form.
Also I added 'unknown CCE Version' so some of You guys can tweak the
ECL a little bit to get the CCE Version running.

Till now I didn't find a way starting CCE2.50 with AutoQ. So I deaktivate the 2.50 support in this version.


AutoQ 1.30RC5 now works with CCE SP 2.5 by using eclcce.exe as path to an unknown CCE version and selecting the CCE 2.5 radiobutton.

The first line of the ECL file has to be "; Cinema Craft Encoder SP -- Encoder Control List"

Nevertheless there is a small bug in the CCE setup window:

When I select eclcce.exe as mentioned above and press "save", it works the first time the CCE selection window shows up. But when I use setup / CCE again from the menu and press save without altering anything, a small window pops up und tells me to select a CCE version first. Only resetting the CCE settings and entering them again makes the save button work again.

Also, when I quit AutoQ und start it again, the path to eclcce.exe ( and the selected language ) are lost, looks like the path and the language selection is not stored correctly. It seems that AutoQ does not accept the path given to "unknown CCE version" as a valid selection of the CCE version used.


I would also like to suggest an additional option when selecting the CCE version:

Could you please add a second radio button e.g. named "CCE 2.5 quick" ? This radio button should use an ECL-file with "fastmode=1" instead "fastmode=0". This option will activate the "quick compression" of CCE 2.5, which is about 10% faster by only loosing 2%-3% of encoding quality.

C.U. NanoBot

Amnon82
27th January 2005, 23:59
THX for the replay. I'll try to fix it.

http://www.brckomania.net/AUTOQ/img/autoq13011.png

Download Build 13013 (http://www.brckomania.net/AUTOQ/files/AutoQ13013.exe)

Tell me if the final has a bug ...

Changes in Build 13013:

Added CCE 2.50 fast/normal support.
Fixed some things in CCE Setup Window.
Updated the Languagefiles to Build 13013.
Removed Balloon-Tips (I must find a way to stop the flicker ...)
Added Infoline

@nanobot and drop: AutoQ13012.exe is AutoQ13011.exe and AutoQ13010.exe. Download the newest Build 13013
@nanobot: Do You speak german?

CCE 2.50 works:

http://www.brckomania.net/AUTOQ/img/cce250.png

LoadPlugin("C:\Programme\AutoQ\AutoQ.dll")
LoadPlugin("C:\Tools\AutoQ\AutoQ.dll")
LoadPlugin("C:\Tools\DGIndex\DGDecode.dll")
mpeg2source("d:\AutoQWork\re2.d2v")
ConvertToYUY2(interlaced=false)
audiodub(BlankClip())

Did some fixes:

http://www.brckomania.net/AUTOQ/img/autoq13013.png

Download Build 13013 (http://www.brckomania.net/AUTOQ/files/AutoQ13013.exe)

What do You think about the little 'AutoQ uses:'-Infoline? ;)

... hope that I found all bugs in build 13013.

Translating the language-files into other languages will be fine. Till now AutoQ has english and german (written by me). I hope it will have other languages soon ... :D

Amnon82
28th January 2005, 16:00
Final released.

AutoQ-Log
___________________________________________________________________________
15:02:32 - 28.01.2005 >> AutoQ Version 1.3.0 (Build 13014) started...
15:02:32 - 28.01.2005 >> Using CCE 2.70 Trial
15:02:43 - 28.01.2005 >> AVS loaded from: D:\AutoQWork\AQFULLENC.avs
15:03:34 - 28.01.2005 >>
15:03:34 - 28.01.2005 >> _________________________________________
15:03:34 - 28.01.2005 >> Project-Info:
15:03:34 - 28.01.2005 >> _________________________________________
15:03:34 - 28.01.2005 >>
15:03:34 - 28.01.2005 >> Desired Target: DVD 720x576
15:03:34 - 28.01.2005 >> Entered Bitrate: min. 2500 max. 8500
15:03:34 - 28.01.2005 >> Entered wanted size in MB: 3076
15:03:34 - 28.01.2005 >> Entered Audio size(s) in MB: 300
15:03:34 - 28.01.2005 >> Entered Extras size in MB: 0
15:03:34 - 28.01.2005 >> Authoring and ISO overhead in MB: 117
15:03:34 - 28.01.2005 >> % of Movie will be used: 2
15:03:34 - 28.01.2005 >> Your desired final encoded sample in MB: 53
15:03:34 - 28.01.2005 >> Your desired final encoded file in MB: 2650
15:03:34 - 28.01.2005 >> Safe Mode disabled
15:03:34 - 28.01.2005 >> Encode after Prediction enabled
15:03:34 - 28.01.2005 >> _________________________________________
15:03:34 - 28.01.2005 >>
15:03:34 - 28.01.2005 >> _________________________________________
15:03:34 - 28.01.2005 >> Start Prediction-Run #1
15:03:34 - 28.01.2005 >> First Q-Value: 20 [1|60]
15:03:34 - 28.01.2005 >> First Frameoffset: 00
15:04:30 - 28.01.2005 >> Results of Prediction-Run #1
15:04:30 - 28.01.2005 >> Encoded Sample in MB: 41
15:04:30 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:04:30 - 28.01.2005 >> Precalculated Finalsize in MB: 2050
15:04:30 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:04:31 - 28.01.2005 >> _________________________________________
15:04:31 - 28.01.2005 >> Start Prediction-Run #2
15:04:31 - 28.01.2005 >> Q-Value of this pass: 10 [1|20]
15:04:31 - 28.01.2005 >> Frameoffset of this pass: 24
15:05:27 - 28.01.2005 >> Results of Prediction-Run #2
15:05:27 - 28.01.2005 >> Encoded Sample in MB: 49
15:05:27 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:05:27 - 28.01.2005 >> Precalculated Finalsize in MB: 2450
15:05:27 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:05:27 - 28.01.2005 >> _________________________________________
15:05:27 - 28.01.2005 >> Start Prediction-Run #3
15:05:27 - 28.01.2005 >> Q-Value of this pass: 6 [1|10]
15:05:27 - 28.01.2005 >> Frameoffset of this pass: 00
15:06:25 - 28.01.2005 >> Results of Prediction-Run #3
15:06:25 - 28.01.2005 >> Encoded Sample in MB: 59
15:06:25 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:06:25 - 28.01.2005 >> Precalculated Finalsize in MB: 2950
15:06:25 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:06:25 - 28.01.2005 >> _________________________________________
15:06:25 - 28.01.2005 >> Start Prediction-Run #4
15:06:25 - 28.01.2005 >> Q-Value of this pass: 8 [6|10]
15:06:25 - 28.01.2005 >> Frameoffset of this pass: 24
15:07:23 - 28.01.2005 >> Results of Prediction-Run #4
15:07:23 - 28.01.2005 >> Encoded Sample in MB: 52
15:07:23 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:07:23 - 28.01.2005 >> Precalculated Finalsize in MB: 2600
15:07:23 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:07:23 - 28.01.2005 >> _________________________________________
15:07:23 - 28.01.2005 >> Start Prediction-Run #5
15:07:23 - 28.01.2005 >> Q-Value of this pass: 7 [6|8]
15:07:23 - 28.01.2005 >> Frameoffset of this pass: 00
15:08:20 - 28.01.2005 >> Results of Prediction-Run #5
15:08:20 - 28.01.2005 >> Encoded Sample in MB: 57
15:08:20 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:08:20 - 28.01.2005 >> Precalculated Finalsize in MB: 2850
15:08:20 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:08:20 - 28.01.2005 >> _________________________________________
15:08:20 - 28.01.2005 >> Start Prediction-Run #6
15:08:20 - 28.01.2005 >> Q-Value of this pass: 8 [7|8]
15:08:20 - 28.01.2005 >> Frameoffset of this pass: 24
15:09:15 - 28.01.2005 >> Results of Prediction-Run #6
15:09:15 - 28.01.2005 >> Encoded Sample in MB: 52
15:09:15 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:09:15 - 28.01.2005 >> Precalculated Finalsize in MB: 2600
15:09:15 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:09:15 - 28.01.2005 >> _________________________________________
15:09:15 - 28.01.2005 >> Encoding Final-Sample [Same Q-Value]
15:09:15 - 28.01.2005 >> Final Frameoffset: 00
15:09:15 - 28.01.2005 >> Final Q-Value: 8 [7|8]
15:10:13 - 28.01.2005 >> Encoded Final-Sample in MB: 55,57
15:10:13 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:10:13 - 28.01.2005 >> Precalculated Finalsize in MB: 2778
15:10:13 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:10:13 - 28.01.2005 >> Calculated Finalsize in MB: 2689
15:10:13 - 28.01.2005 >> Renamed final Sample to: F:\test2\cce2701.sample
15:10:42 - 28.01.2005 >> _________________________________________
15:10:42 - 28.01.2005 >> Start Fullencode
15:10:42 - 28.01.2005 >> Final Q-Value: 8
15:10:50 - 28.01.2005 >> Results of Fullencode-Run:
15:10:50 - 28.01.2005 >> Your desired final encoded file: 2650
15:50:34 - 28.01.2005 >> Final encoded filesize: 2643

drob
28th January 2005, 16:33
AutoQ13014 Very close!

AutoQ 2% sample Q4=4010
Qcce suggested result is Q3 which is 51MB over, and calculation for Q4 is 3935, close!

AutoQ Q3=4200
Qcce Q3 =4148.6
Again very close!

No Ballontips option?

Btw I think the priority option is redundant, AutoQ uses zero resources as it is, its CCE who gets it all, might as well set it to normal and remove the option.

Infoline is a great touch.


Great work Amnon!

Boulder
28th January 2005, 16:43
Did you actually run the encode in both cases or just compare the calculated final filesizes?

drob
28th January 2005, 16:49
Originally posted by Boulder
Did you actually run the encode in both cases or just compare the calculated final filesizes?

No I didn’t, from my experience Qcce is extremely close in its results within few dozen MB margin, so I didn’t run a full encode, I did however ran few full encodes earlier in the thread, look for it and see how close Qcce came.

Amnon82
28th January 2005, 17:45
http://www.brckomania.net/AUTOQ/img/autoq13015.png

@Drob: Drob You didn't get it yet!

The CPU Priority You set for AutoQ is then the same for CCE.
AutoQ starts CCE and define the priority for CCE. So when AutoQ has Low. CCE gets also Low.

For the balloon-tips. Yes I removed them temporally. With Balloontips on the GUI starts to flicker and creasy things happen. So I decided to freeze them for a while, till I found a solution. I think the buildin help will do it also.

@All: Build 13015 is out. Now it is also Italian. I hope some other user will translate AutoQ.

Next plan is AutoCQ for HC. HC is a brandnew MPEG2 encoder.
AutoQ is now SO CLOSE to QCCE that I think I found the prediction.
The differnce to QCCE is, that AutoQ uses differnt Frames, QCCE always the same (I think so...).

drob
28th January 2005, 18:36
That’s what I thought at first, but I saw it didn’t change for me, whatever priority I choose in AutoQ, it is super past by the option I choose in eclcce option, inside cce. Didn’t test with 2.70 yet.

The priority isn’t saved from one start and exit to another.

Minor bug, or not a bug maybe you planed it that way, if you click abort in the middle of a test run, the abort window comes up, but cce continues encoding until it finishes that segment.

If there is tiny deference with Qcce still, and the only change you made it to change the frame size, then why not make it identical frames like Qcce and see if you get exact results?

Amnon82
28th January 2005, 19:20
Abort-Run-Function: If You click on Abort it kills CCE and go back to the main-window. It didn't work with CCE 2.50. Here it kills only EclCCE. CCE works till it ends the encode. If You use CCE 2.66+ Trial it ends also CCE.

Why I use differnt frames? Cos if You encode always the same frames You get maybe oversized. Example: We have a dark movie with 20 Min in the end a hugh actionsequence. If You use the same frames You may get only 50% of this scene. If You use different frames You get the other 50% of this scene also. So the %-Value in AutoQ is exactly the %-Value of the movie. You get 100% the %-Value of the Actionsequence.

You can see this in the log. The encode before the Final sample encode has the same Q-Value but with a different frameoffset.

15:08:20 - 28.01.2005 >> Start Prediction-Run #6
15:08:20 - 28.01.2005 >> Q-Value of this pass: 8 [7|8]
15:08:20 - 28.01.2005 >> Frameoffset of this pass: 24
15:09:15 - 28.01.2005 >> Results of Prediction-Run #6
15:09:15 - 28.01.2005 >> Encoded Sample in MB: 52
15:09:15 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:09:15 - 28.01.2005 >> Precalculated Finalsize in MB: 2600
15:09:15 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:09:15 - 28.01.2005 >> _________________________________________
15:09:15 - 28.01.2005 >> Encoding Final-Sample [Same Q-Value]
15:09:15 - 28.01.2005 >> Final Frameoffset: 00
15:09:15 - 28.01.2005 >> Final Q-Value: 8 [7|8]
15:10:13 - 28.01.2005 >> Encoded Final-Sample in MB: 55,57
15:10:13 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:10:13 - 28.01.2005 >> Precalculated Finalsize in MB: 2778
15:10:13 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:10:13 - 28.01.2005 >> Calculated Finalsize in MB: 2689
15:10:13 - 28.01.2005 >> Renamed final Sample to: F:\test2\cce2701.sample
15:10:42 - 28.01.2005 >> _________________________________________
15:10:42 - 28.01.2005 >> Start Fullencode
15:10:42 - 28.01.2005 >> Final Q-Value: 8
15:10:50 - 28.01.2005 >> Results of Fullencode-Run:
15:10:50 - 28.01.2005 >> Your desired final encoded file: 2650
15:50:34 - 28.01.2005 >> Final encoded filesize: 2643


We take the relevant values out of my last encode:
>> First Encode
______________________________________________________________
15:08:20 - 28.01.2005 >> Frameoffset of this pass: 24
15:09:15 - 28.01.2005 >> Encoded Sample in MB: 52
15:09:15 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:09:15 - 28.01.2005 >> Precalculated Finalsize in MB: 2600
15:09:15 - 28.01.2005 >> Wanted Finalsize in MB: 2650

>> Second Encode
______________________________________________________________
15:09:15 - 28.01.2005 >> Final Frameoffset: 00
15:10:13 - 28.01.2005 >> Encoded Final-Sample in MB: 55,57
15:10:13 - 28.01.2005 >> Wanted Samplesize in MB: 53
15:10:13 - 28.01.2005 >> Precalculated Finalsize in MB: 2778
15:10:13 - 28.01.2005 >> Wanted Finalsize in MB: 2650
15:10:13 - 28.01.2005 >> Calculated Finalsize in MB: 2689

>> Final Encode
______________________________________________________________
15:10:50 - 28.01.2005 >> Your desired final encoded file: 2650
15:50:34 - 28.01.2005 >> Final encoded filesize: 2643

In the first encode we have a frameoffset of 24 FPS.
In the second we encode with frameoffset of 00 FPS.

1st encode gives me 52 MB. 2nd gives me 55,57 MB.
In the first encode the precalculated finalsize is 2600 MB.
The 2nd encode gives me a precalculated finalsize of 2778 MB.
I wanted a finalsize of 2650 MB.
The calculated finalsize will be 2689 MB. So I will be a little oversized by 39 MB. (2600+2778)/2=2689
The final encoded finalsize is 2643 MB. I wanted 2650 MB and got 2643 MB what is realy close.

I hope You know now why I decided this way ...

needle
28th January 2005, 20:46
@Anmon82

Thanks for support CCE SP 250. It works fine now!

I have the following comments in order to improve AutoQ:

Since the "encoding final sample" can be avoided I suggest to add an user's option to control this.

The range of admisible Q-values according to the CCE SP User's Guides is 1-300. In the current version the automatic selection of Max Q-value can be bad. Assume for example that the user sets 2 as the initial Q value. Then Autoq automatically set Max Q to 6. If the (unknown) right Q is 20, then Autoq can not converge to the right value. Hence, in order to guaranty convergence of the algorithm to the correct Q value I consider convinient to set the defaul of Max Q value to 300 (and of course the default for Min Q should be 1).

For CCE unknown versions, Autoq should permit more control to the user since it is necessary to set in the ecl file the "One Pass VBR" video type. For example, in order to use CCE SP 267 Retail seems necessary to set "video_type=4", instead of "video_type=2" (which is correct for CCE SP 2.67 trial).

Best regards

drob
28th January 2005, 20:53
Now I'm curies so ill run the full encode and see if AutoQ gets it closer then Qcce.

When I click abort, I get the aborted popup, and the window returns to AutoQ, eclcce is killed, but cce keeps running until the end of that segment. Using eclcce 1.81 and cce 2.67.0.27.

Tested also with 2.70, abort is perfect, kills' cce immediately.

AutoQ doesn’t seem to impact the priority for me not on 2.67 or 2.70, no matter if I set to high or idle, in 2.70 its normal, and in 2.67 its whatever I had set eclcce to be. The priority is not parsed beyond the cce default priority, and is not save between runs.

One last tiny bug, AutoQ won't save window position after restart.


needle,
You really shouldn’t go beyond 80, above that quality is horrible.

*****
UPDATE:
After full encode:
mathematically calculated=4100
Full encode Q4=3888
AutoQ Q4=4010
Qcce=3934

AutoQ is about 3% off, Qcce about 1.2%

NanoBot
29th January 2005, 00:30
Hi folks, hi Anmon82

build 13015 now works fine here using CCE 2.5, and thanks for adding the fast mode.

At least I found a small bug ( or is at a feature ? ;-) :

It is possible to start a prediction run before selecting a name and path for the output files ( m2v + vaf ). The result will be stored in ../AutoQ/temp using the filenames "Speichere M2V nach ..." and "Speichere VAF nach ..."

And yes, german is my native language, Anmon82

C.U. NanoBot

Amnon82
29th January 2005, 02:28
THX for the bugreport. It is fixed in Build 13016.

@NanoBot: click on About (Über). I added You to the Aboutwindow my friend ;)

My nic is Amnon82 - and not Anmon82 :devil:

Amnon82
29th January 2005, 14:34
The little brother of AutoQ is now released!

There is a brandnew MPEG2Encoder Out Guys! I'm the first Coder how wrote a prediction-tool for it. The Encoder is called HC.

With my eyes ... I think HC gives me better quality than CCE ;)

More Infos here: http://forum.doom9.org/showthread.php?s=&threadid=89122

drob
29th January 2005, 21:59
Priority is now saved, but won't parse for 2.67.
window position is still not remembered.

Amnon82
30th January 2005, 15:02
I didn't saved windowpositions in any version of AutoQ.

drob
31st January 2005, 03:07
well not a bug, a "feature" then :D

just don't neglect us cce users now,remember the roba and the sygate bug thingies. :p

Amnon82
31st January 2005, 05:06
yakyakyak. Till now no new news about roba. Still now news about sygate.

... I fixed the AVS import. THX goes to marcellus (AutoCQ Tester).
Now all AVS scripts can be imported.

drob
31st January 2005, 17:58
Amono, test build 18, on a pal movie, all results were nice and close to Qcce. only one problem, which was there in the past, AutoQ wont go up to Q1, even when it had the space, when i started with Q1 i got Q1 as a result, started with Q3, AutoQ stops at Q2,see this log:



AutoQ-Log
___________________________________________________________________________
18:46:27 - 31-Jan-05 >> AutoQ Version 1.3.0 (Build 13018) started...
18:46:27 - 31-Jan-05 >> Using CCE 2.66/2.67 Trial
18:46:30 - 31-Jan-05 >> AVS loaded from: D:\Movies\Work In Progress\DVD.avs
18:47:38 - 31-Jan-05 >>
18:47:38 - 31-Jan-05 >> _________________________________________
18:47:38 - 31-Jan-05 >> Project-Info:
18:47:38 - 31-Jan-05 >> _________________________________________
18:47:38 - 31-Jan-05 >>
18:47:38 - 31-Jan-05 >> Desired Target: DVD 720x576
18:47:38 - 31-Jan-05 >> Entered Bitrate: min. 500 max. 9400
18:47:38 - 31-Jan-05 >> Entered wanted size in MB: 4479
18:47:38 - 31-Jan-05 >> Entered Audio size(s) in MB: 247
18:47:38 - 31-Jan-05 >> Entered Extras size in MB: 0
18:47:38 - 31-Jan-05 >> Authoring and ISO overhead in MB: 117
18:47:38 - 31-Jan-05 >> % of Movie will be used: 2
18:47:38 - 31-Jan-05 >> Your desired final encoded sample in MB: 82
18:47:38 - 31-Jan-05 >> Your desired final encoded file in MB: 4100
18:47:38 - 31-Jan-05 >> Safe Mode disabled
18:47:38 - 31-Jan-05 >> Encode after Prediction disabled
18:47:38 - 31-Jan-05 >> _________________________________________
18:47:38 - 31-Jan-05 >>
18:47:38 - 31-Jan-05 >> _________________________________________
18:47:38 - 31-Jan-05 >> Start Prediction-Run #1
18:47:38 - 31-Jan-05 >> First Q-Value: 3 [1|9]
18:47:38 - 31-Jan-05 >> First Frameoffset: 00
18:48:38 - 31-Jan-05 >> Results of Prediction-Run #1
18:48:38 - 31-Jan-05 >> Encoded Sample in MB: 70
18:48:38 - 31-Jan-05 >> Wanted Samplesize in MB: 82
18:48:38 - 31-Jan-05 >> Precalculated Finalsize in MB: 3500
18:48:38 - 31-Jan-05 >> Wanted Finalsize in MB: 4100
18:48:39 - 31-Jan-05 >> _________________________________________
18:48:39 - 31-Jan-05 >> Start Prediction-Run #2
18:48:39 - 31-Jan-05 >> Q-Value of this pass: 2 [1|3]
18:48:39 - 31-Jan-05 >> Frameoffset of this pass: 24
18:49:40 - 31-Jan-05 >> Results of Prediction-Run #2
18:49:40 - 31-Jan-05 >> Encoded Sample in MB: 73
18:49:40 - 31-Jan-05 >> Wanted Samplesize in MB: 82
18:49:40 - 31-Jan-05 >> Precalculated Finalsize in MB: 3650
18:49:40 - 31-Jan-05 >> Wanted Finalsize in MB: 4100
18:49:40 - 31-Jan-05 >> _________________________________________
18:49:40 - 31-Jan-05 >> Encoding Final-Sample [Same Q-Value]
18:49:40 - 31-Jan-05 >> Final Frameoffset: 00
18:49:40 - 31-Jan-05 >> Final Q-Value: 2 [1|2]
18:50:43 - 31-Jan-05 >> Encoded Final-Sample in MB: 73.37
18:50:43 - 31-Jan-05 >> Wanted Samplesize in MB: 82
18:50:43 - 31-Jan-05 >> Precalculated Finalsize in MB: 3668
18:50:43 - 31-Jan-05 >> Wanted Finalsize in MB: 4100
18:50:43 - 31-Jan-05 >> Calculated Finalsize in MB: 3659
18:50:43 - 31-Jan-05 >> Renamed final Sample to: D:\Movies\Work In Progress\111.sample
18:51:05 - 31-Jan-05 >>
18:51:05 - 31-Jan-05 >> _________________________________________
18:51:05 - 31-Jan-05 >> Project-Info:
18:51:05 - 31-Jan-05 >> _________________________________________
18:51:05 - 31-Jan-05 >>
18:51:05 - 31-Jan-05 >> Desired Target: DVD 720x576
18:51:05 - 31-Jan-05 >> Entered Bitrate: min. 500 max. 9400
18:51:05 - 31-Jan-05 >> Entered wanted size in MB: 4479
18:51:05 - 31-Jan-05 >> Entered Audio size(s) in MB: 247
18:51:05 - 31-Jan-05 >> Entered Extras size in MB: 0
18:51:05 - 31-Jan-05 >> Authoring and ISO overhead in MB: 117
18:51:05 - 31-Jan-05 >> % of Movie will be used: 2
18:51:05 - 31-Jan-05 >> Your desired final encoded sample in MB: 82
18:51:05 - 31-Jan-05 >> Your desired final encoded file in MB: 4100
18:51:05 - 31-Jan-05 >> Safe Mode disabled
18:51:05 - 31-Jan-05 >> Encode after Prediction disabled
18:51:05 - 31-Jan-05 >> _________________________________________
18:51:05 - 31-Jan-05 >>
18:51:05 - 31-Jan-05 >> _________________________________________
18:51:05 - 31-Jan-05 >> Start Prediction-Run #1
18:51:06 - 31-Jan-05 >> First Q-Value: 1 [1|3]
18:51:06 - 31-Jan-05 >> First Frameoffset: 00
18:52:09 - 31-Jan-05 >> Results of Prediction-Run #1
18:52:09 - 31-Jan-05 >> Encoded Sample in MB: 77
18:52:09 - 31-Jan-05 >> Wanted Samplesize in MB: 82
18:52:09 - 31-Jan-05 >> Precalculated Finalsize in MB: 3850
18:52:09 - 31-Jan-05 >> Wanted Finalsize in MB: 4100
18:52:09 - 31-Jan-05 >> _________________________________________
18:52:09 - 31-Jan-05 >> Encoding Final-Sample [Same Q-Value]
18:52:09 - 31-Jan-05 >> Final Frameoffset: 24
18:52:09 - 31-Jan-05 >> Final Q-Value: 1 [1|1]
18:53:12 - 31-Jan-05 >> Encoded Final-Sample in MB: 77.09
18:53:12 - 31-Jan-05 >> Wanted Samplesize in MB: 82
18:53:12 - 31-Jan-05 >> Precalculated Finalsize in MB: 3854
18:53:12 - 31-Jan-05 >> Wanted Finalsize in MB: 4100
18:53:12 - 31-Jan-05 >> Calculated Finalsize in MB: 3852
18:53:12 - 31-Jan-05 >> Renamed final Sample to: D:\Movies\Work In Progress\111.sample