PDA

View Full Version : EclStart 0.81 - Get CCE 2.70.02.00 working with AutoQ


Amnon82
16th February 2005, 22:09
EclStart is a tool to get the full batchmode back. Since Release 2.70.02.00 the batchmode is half gone. You can use the swich -batch only if You start CCE minimized. I wrote this tool to click for You on the 'Encode' and 'Exit' buttons. So You can see CCE working ;)

I coded EclStart for AutoQ. In some cases the EclCCE-Mode is useless. In DVD-RB for example use the function "run encoder minimized". The Trial-version is able to load and save ECL-Files.

http://www.brckomania.net/EclStart/eclstart.png

You can download it Here (http://www.autoq.fx.to)

Release 0.81 (20050301)

Usage:

-ecl "<path to Ecl-File>" Use this command to load a ecl-file

-shutdown Use this command to shutdown the pc

-debugmode Use this command to display the debugwindow

-cpu:<value> Use this command to change the lowest CPU usage

-timer:<value> Use this command to change the timer intervals

EclCCE Mode:

Rename EclStart.exe to EclCCE.exe to use the EclCCE mode.
ONLY 'EclCCE.exe' activates the EclCCE mode!

Timer Interval:

Standard interval for the timers is 1000. If You have problems with EclStart
You can higher the value.

Lowest CPU Usage:

Standard lowest CPU usage is 5. If You have problems with EclStart
You can higher the value.

Example:

EclStart.exe -ecl "C:\Test.ecl" -debugmode -timer:3000 -cpu:10


Releases:

0.81

Fixed the switches -cpu:<value> and -timer:<value>

0.8

Added the switches -cpu:<value> and -timer:<value>. (Not full functional!)
Fixed some bugs.

0.6/0.7

You can edit lowest CPU Usage and Timer interval.

0.5

Added EclCCE mode 0.1. EclStart creates now the EclCCE.ini.

0.4

Now You can use EclStart as EclCCE

0.3

Support for CCE Fullversion

0.2

Added switch -ecl and -shutdown

0.1

First Release, Support for CCE 2.70.02.00

hobyho
17th February 2005, 06:15
Nice work, thanks for the additional tool. Keep up the good work :)

Amnon82
18th February 2005, 15:59
I'm working now on changing -ecl:"<path of ecl>" to -ecl "<path of ecl>"

Amnon82
18th February 2005, 19:57
I found a way to add parameters like the one of CCE. The next release will work like EclCCE and CCE.

Amnon82
19th February 2005, 02:22
Rename EclStart.exe into EclCCE.exe to use it for programs which only supports EclCCE to get CCE 2.70.02.00 run.

drob
19th February 2005, 02:32
Great work Amnon!

Amnon82
19th February 2005, 02:38
@drob: Now U can test QCCE with the newish CCE 2.70.02.00

ernstblaauw
19th February 2005, 14:28
So now it is possible to use DVD2SVCD with CCE 270.02.00? Great!

Amnon82
19th February 2005, 15:45
Yeah. This is also possible!

jarthel
19th February 2005, 15:58
tried to use this software with batchccews. doesn't work :|

Steel
19th February 2005, 18:20
Unable to connect to http://www.autoq.tk/!!

Can someone email me or post a working URL for eclstart?

Amnon82
19th February 2005, 19:47
@steel: Why? I've got more than 6498 visitors using www.autoq.tk. You can also use this Link (http://www.brckomania.net/AUTOQ/index.html) to go to my site.

@jarthel: EclStart only is the -batch switch for CCE. I start CCE and click on 'Encode'. After CCE does his job I click on 'Exit' and close my program. I don't create ECL-Files. Maybe this is why it doesn't work.

Venom_IL
19th February 2005, 20:11
using DVD2SVCD 1.2.2 build 3 (latest)
I renamed EclStart.exe to EclCCE.exe and placed it in CCE's folder. i then ran it once to point it to cce's executable so it could save it in the ini

I configured eclcce.exe as the cce executable in the encoder options in D2S and created and referenced D2S to an appropriate template

I then started encoding and when it reached the video encoding phase and ran eclstart (thinking it's running eclcce of course) eclstart opened up with an error message: "No ECL-File found!"

I think this is because DVD2SVCD first opens CCE with no ecl file, then saves an ecl file with a macro and opens it later, or something to that effect. in any case, if you configured EclStart to open CCE normally, only with ecl support, when no ECL file is supplied, i think it would remedy the problem. of course, i'm not really sure if that can be done easily, or maybe there's a simpler way to solve it.. in any case, i'd be happy to hear your opinion in the matter

also, the original eclcce's syntax seems to have the filename in square brackets [] whereas eclstart uses quotes "".. that might also be a source of incompatibility


please note that my goal is to use D2SRoba with your tool, so any insight as to other compatibility issues which might arise with D2SRoba (and not necessarily with dvd2svcd alone) would also be greatly appreciated

thanks a lot in advance

Amnon82
19th February 2005, 23:08
@Venom_IL: I can add every shitch, parameter etc to EclStart. Also I can add a EclCCE mode to the tool. If EclStart is renamed to EclCCE.exe it will use the EclCCE mode.

Till now I added the followed switches:

-ecl "<Path of ECL-File>"
-shutdown
-debugmode

-ecl ["<Path of ECL-File>"] is possible. Also I can create a fake ecl to get DVD2SVCD running. Only thing is, I need more info about what EclCCE is realy doing in DVD2SVCD.

I reopend the manual of EclCCE. Here the switches of EclCCE:

-ecl [filename] => Example: -ecl "C:\Test.ecl"
-encode => Start encoding automatically
-exit => Exit CCE when finished
(encode and exit are already in EclStart. Encode is clicking the 'Encode'-Button, exit for the 'Exit'-Button)
-batch => encode + exit in one switch
-nocancel => This switch I can't add. There is realy no need for it.
-hideshutdown => Same like nocancel
-nochapterlist => This was a workaround for CCE 2.66/2.67
-shutdown => Added in EclStart already

So we come to the result: -ecl ["<Path of ECL-File>"] is totaly wrong. Man I can still read ;)

Here again the sample of the EclCCE manual:

eclcce.exe -ecl "d:\Video\Some Movie\movie.ecl" -batch /nocancel

So the only thing is now to get the name of the Ecl, which DVD2SVCD creates. I'll play a little with the switches of EclCCE and create some test.bat-files where I change the order of the switches.

During my last tests all unknown switches will be ignored by EclStart.
-ecl, -debugmode and -shutdown are the switches and "C:\Test.ecl" is the parameter. So if DVD2SVCD start without a parameter like "C:\Test.ecl", EclStart will give You the Error "No Ecl-file found".

@jarthel: BatchCCEWS, I think needs also a fake Ecl or vaf file to get started. If I've the right filenames, I'll be able to add a support for this programs.

Venom_IL
20th February 2005, 00:19
regarding [filename] - my bad :cool:

RE dvd2svcd, it seems to work like this

open CCE with no parameters

open AVS file with macro emulating user doing it

saves ecl file with macro emulating user doing it

opens ecl file with macro emulating user doing it

starts encoding, again by emulating user click

obviously, other things happen in the background which i can't see, im sure a more knowledgable person than me in this matter could enlighten us.

D2sRoba also seems to open CCE with no paramteres and again simulate with a macro the user opening its (d2sroba's) ecl file and hitting the ENCODE button

the names of the discussed files are
CCE_Project_file.ecl
AviSynth_Script_file.avs
D2SRoBa.ecl

If you would like, i can also post here how typical ecl's and avs's created by said program would look like.

cheers

Amnon82
20th February 2005, 17:27
Yeah, post the files. I'll look into it and ask the coder of the tools.

Venom_IL
20th February 2005, 18:41
In order not to clutter the thread, the file contents are here

http://forum.doom9.org/showthread.php?s=&threadid=90322

cheers :cool:

Steel
20th February 2005, 21:16
http://www.autoq.tk/ still does not connect. BUt thank you for the other
URL, it works. I've tried for 3 days and it still won't connect.

Amnon82
20th February 2005, 21:48
@Steel: Here some URLs to my site: www.autoq.net.tc, www.autoq.tk, www.autoq.fx.to

@Venom_IL: I'll look into it, if I find some time ...

Venom_IL
20th February 2005, 23:24
Great, thanks !

I'm off for a week anyway (army.. :rolleyes: )

Amnon82
21st February 2005, 11:11
@ Venom_IL:You're in the army now Whouwho. You're in the army ... ;)

@All: I got a mail form a new user of my EclStart. He has some problems with it. Here is the interesting part of it. > it's he, * it's me:

> I have the same problem that your betatester.

* Yeah I know, drob told me already.

> I use WinXP SP2 fully updated, I dont use netlimit, netmeeting or sygate.

* Sygate firewall was drobs problem. Without it, it works for drob.

> The avi I was using it's a Xvid but this bug is also in eclstart 0.4, on exit I get the same message and eclstart doesn't start the encoding in CCE.

* This is new for me. So if EclStart can't open the AVS it won't send it to CCE. For me is this logical.

> I tried eclstart with qcce and I get the same error. I think it's a delphi problem, ...

* Maybe it is a delphi-problem. Drob tested EclStart with QCCE, but I don't think he used a XviD source, or I'm wrong drob?

> ... I also had a problem with qcce but only on exit, when qcce is predicting it doesn't gives the message, maybe you can see what your program does when it changes predictions that qcce doesnt?

* My program uses a loop. A special AVS-Script is used for the sample. AutoQ encodes this script with different frameoffsets till it gets the wanted size. Then it encodes the final sample and asked You 'Wanna fullencode?'. For all who wanna know what EclStart realy does:

You have the commandline C:\EclStart.exe -ecl "C:\Test.ecl" for example
EclStart write the path of the ecl into a edit and start CCE. Then a timer get activated give the message to CCE -> User clicked on 'Encode'. Another timer get activated and checks every 5th second the CPU Usage. If the usage is under 5% the third timer gets activated. It sends the -> User clicked on 'Exit'-Message to CCE. Then EclStart stops the CPU Usage Check and close it self.

drob
21st February 2005, 18:13
OK here is the thing, i get the error ONLY on exit from AutoQ, after loading an avs script, using xvid source, AND having Syagte firewall active. i do NOT get it using eclstart as a command line batch.


I tried using eclstart as eclcce with Qcce just now (i don't use it normally), but with a problem, since eclstart creates an eclstart.ini file even when running as eclcce, while Qcce is looking for eclcce.ini file.

Amnon82
21st February 2005, 18:48
It creates now the EclCCE.ini file like EclCCE.

Release 0.5 (20050221)

Usage:

-ecl "<path to Ecl-File>" Use this command to load a ecl-file

-shutdown Use this command to shutdown the pc

-debugmode Use this command to display the debugwindow


EclCCE Mode:

Rename EclStart.exe to EclCCE.exe to use the EclCCE mode.
ONLY 'EclCCE.exe' activates the EclCCE mode!


Example:

EclStart.exe -ecl "C:\Test.ecl" -debugmode

Amnon82
21st February 2005, 19:16
Here the Ecl created by QCCE:

; CCE SP Trial Version -- Encoder Control List

[item]
title=QCCE-CYBER-EDITION
vid_out=1
vaf_out=1
aud_out=0
aud_mode=0
vid_file0=E:\resi2trailer\qcce.m2v
vid_file1=E:\resi2trailer\qcce.m2v
vaf_file=E:\resi2trailer\qcce.vaf
aud_file=C:\cce.mpa
file_focused=0
video_type=2
width=720
height=576
timecode=0x0000000
tc_ref_frm=0
drop_frame=0
cbr_brate=6000
opv_q_factor=20
opv_brate_min=500
opv_brate_max=7500
vbr_brate_avg=7500
vbr_brate_min=500
vbr_brate_max=7500
vbr_bias=30
vbr_pass=3
create_new_vaf=0
pulldown_detect=0
letter_box=0
panscan=0
aspect_ratio=3
credits_tweak=0
credits_start=0x00000
credits_brate=1000
h_filter=0
h_filter_idx=8
use_filter=0
filter_val=4
dither=0
dither_max=8
quality_prec=30
intra_dc_prec=1
alternate_scan=0
non_linear=1
progressive=1
gop_m=3
gop_nm=5
gop_hdr=15
seq_hdr=1
seq_endcode=1
dvd=0
all_closed_gop=0
fix_gop_length=0
fix_vbv_delay=0
top_first=0
offset_line=0
half_width=0
half_height=0
uscc=0
lum_level=0
packet_size=2048
frame_rate_idx=3
qmat_idx=-1
qmat_name=AutoQ1
qmat=
8 16 19 22 26 28 32 38
16 16 22 24 28 32 38 44
19 22 26 28 32 38 44 48
22 22 26 32 38 44 48 54
22 26 32 38 44 48 54 64
26 32 38 44 48 54 64 74
32 38 44 48 54 64 74 84
38 44 48 54 64 74 84 94
16 20 24 28 36 42 46 52
20 24 28 36 42 46 52 58
24 28 36 42 46 52 58 62
28 36 42 46 52 58 62 68
36 42 46 52 58 62 68 78
42 46 52 58 62 68 78 88
46 52 58 62 68 78 88 99
52 58 62 68 78 88 99 99
mpeg1=0
mpeg1_cps=1
brate_idx=7
stereo=2
samples_per_sec=44100
crc=1

[file]
name=C:\Tools\QCCECEGER\tmp\QCCE-CYBER-EDITION.avs
type=0
frame_first=0
frame_last=3872
encode_first=0
encode_last=3872

The Ecl of AutoQ:

; 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=E:\resi2trailer\test2.m2v
vid_file1=E:\resi2trailer\test2.m2v
vaf_file=E:\resi2trailer\test2.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=14
opv_brate_min=2500
opv_brate_max=7000
vbr_brate_avg=7000
vbr_brate_min=2500
vbr_brate_max=7000
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=3
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 28 32 38
16 16 22 24 28 32 38 44
19 22 26 28 32 38 44 48
22 22 26 32 38 44 48 54
22 26 32 38 44 48 54 64
26 32 38 44 48 54 64 74
32 38 44 48 54 64 74 84
38 44 48 54 64 74 84 94
16 20 24 28 36 42 46 52
20 24 28 36 42 46 52 58
24 28 36 42 46 52 58 62
28 36 42 46 52 58 62 68
36 42 46 52 58 62 68 78
42 46 52 58 62 68 78 88
46 52 58 62 68 78 88 99
52 58 62 68 78 88 99 99
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

If I want to support QCCE I've to translate the old Ecl to the Ecl270 to get it work. If I find time, maybe I'll add it. Basicly I coded EclStart for getting the newest CCE in AutoQ working ...

drob
21st February 2005, 21:49
Don't stress yourself Amnon, AutoQ is close enough and has a much improved interface, no need for Qcce no more.

BTW
can you specify a link for .5

Amnon82
21st February 2005, 22:25
You can download it from the mainpage at www.autoq.fx.to

Amnon82
22nd February 2005, 00:36
I added a downloadlink to the AutoQ homepage. Some user can't find the big download link on the Index.html ;)

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

Amnon82
23rd February 2005, 02:04
EclStart You can find now at the AutoQ-Homepage. I removed it form the index-page ...

Amnon82
26th February 2005, 07:41
In the version 0.7 You can fully edit the intervals of the timer and the lowest CPU Usage for the last timer. Hope this helps some guys here.

Tell me if You want this options as commandlineswitches ... -lowCPU:5 -timer:1000

damian_dimitri
27th February 2005, 01:22
Hi

In the dvdrebuilder forum they talk about a trick in the ecl-header which seems to work.

So my question is..... why is there a Eclstart for cc2.7 if the above trick seems to work?


Thanx in advance

D.

ps. It gives the ECL-error when i switch languages. Found this out while translating.

ps2. Just heard :) that ecl-start is for batch processing.

radar
27th February 2005, 06:17
hi damian_dimitri


im also trying to get cce 2.7 going.you said to change your ini for dvd rb.i tried what you said,wouldnt work.i may not be doing it right.heres my ini,please let me know if i did it right.thanks

[Audio]
Selected=1
[Options]
Mode=1
OneClick=0
ReduceOpt=1
NoWarn=1
AdditionalOutput=1
LogFile=1
QuEncHQ=1
EncoderMinimized=1
RemoveDTS=1
Skin=Rockas Original
CCE=1
Backcolor=13680655
Completed=1
path to cce (unknown version)/ecl first line
[Paths]

QuEnc=F:\rb 72\QuEnc\QuEnc.exe
ReJig=F:\rb 72\ReJig\ReJig.exe
DECOMB=F:\AviSynth 2.5\plugins\Decomb521.dll
ProCoder=F:\rb 72\EclPro\EclPro.exe
MPEG2DEC=F:\AviSynth 2.5\plugins\DGDecode.dll
Working=F:\DVD-RB\WORKPATH\PATH2\
Output=F:\DVD-RB\FINALFILES\PATH2\
CCENew=F:\cce2.70\cctspt.exe
Source=F:\SHRINK-2RB\VIDEO_TS\
[Setup]
Language11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
sLanguage11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
[CCEOptions]
VBR_bias=25
Quality_prec=16
eclPasses=2

damian_dimitri
27th February 2005, 11:34
radar

I will pm you, because this is the wrong thread to discuss it

D.

Amnon82
27th February 2005, 11:43
EclStart is only a tool to give You the full batchmode of the new CCE 2.70.02.00 back.

artoor
28th February 2005, 14:20
OK... I'm layman so I'm sorry for trivialing question.
Does EclStart give us possibility to run CCE 2.70.02.00 minimize on try like EclCCE with 2.67.00.23, 2.67.00.27 etc. or not??
If somewher is an answer for my question - forgive me please. Some things are not understandable for me in this case with ease.
Thanks for understanding :)

Amnon82
1st March 2005, 10:47
Some of my betatesters told me that there are some problems using CCE 2.50 and CCE 2.70.02.00 with the newest AutoQ build. Maybe EclStart is the problem... I can't reproduce the errors. So if somebody finds a bug in AutoQ please write in the PM the versions of the programs You use. Version of AutoQ, EclStart and CCE. I can't recheck it, if I don't have this informations!

Here some tips:

EclStart 0.8:

The only thing I changed in EclStart is this.
You have now the option to change the timer interval and the lowest CPU usage.

Standard is 1000 and 5. This was always the standard settings in the last EclStart builds. In my tests all worked like it always did.
To test it if it works, don't run anything else with eclstart and cce in the same time.

For cce 2.50 use this script:

LoadPlugin("<path to>\DGDecode.dll")
mpeg2source("<path to>\*.d2v")
#Use the next command to convert to YUV2
ConvertToYUY2(interlaced=false)
#ConvertToYUY2(interlaced=true)
audiodub(BlankClip())

Amnon82
1st March 2005, 10:48
@Artoor: Eclstart only clicks on the buttons 'Encode' and 'Exit' in CCE. Thats all. I don't minimize CCE.

0.81 released ...

mrslacker
8th March 2005, 04:43
EclStart won't start encoding or exit CCE SP 2.70.02 trial. It loads the ecl as expected, but encoding never begins. EclStart just exits in a few seconds, it just depends on what timer is set for. I have tried vales from 1000 to 10000 with no luck. The cpu value doesn't seem to be relevant to the start of encoding, but i tried changing it too. I'm running XP SP1, with latest DirectX, no firewall, etc.

Hmm, I just disabled the Microsoft Antispyware program, and EclStart seems to work about half the time. It never misses the exit button at least. Maybe something was getting in the way of the windows messages.

Amnon82
12th March 2005, 23:17
I coded EclStart for AutoQ. In some cases the EclCCE-Mode is useless. In DVD-RB for example use the function "run encoder minimized". The Trial-version is able to load and save ECL-Files.

I think I'll add also a "run encoder minimized"-function in one of my next AutoQ-Releases. So eclstart will get useless ;)