digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   What is the CCE SP best encoding type and prediction? (http://www.digitalfaq.com/archives/encode/13427-cce-sp-best.html)

Prodater64 04-09-2005 08:13 AM

What is the CCE SP best encoding type and prediction?
 
What is the CCE SP better way related to encoding type and prediction.

Are the following tools useful?
http://www.autoq.net.tc/

Boulder 04-09-2005 09:07 AM

I use Tylo's CCEFront. I create an ecl file in CCE as usual and then run CCE via CCEFront with parameter -roba.

It will predict and do an OPV encode and a sizing VBR pass if necessary. You can set the upper and lower limits for the sizing pass to occur. I've found out that 3% sample size and 3% size adjustment hit the target more often than with the default 1% and 1.4% respectively. The good thing is that the defaults can be set via an ini file so you'll just need the -roba parameter if you already have an ecl file.

IMO AutoQ is a piece of crap. I really don't think Amnon82/Avalon/whatever ever really tested his prediction engine. He just did the predictions but never ran a full encode. AFAIK his program also doesn't do the sizing pass so you'll have to do it manually unless the program hits close enough to the target with the OPV pass.

danpos 04-09-2005 09:36 AM

@Boulder

Hi, mate! Could you post a .ecl file that you have got used it ? In this way I could to use as template for my encondings using new CCE 2.70 and CCEFront by Tylo?

TIA,

Boulder 04-09-2005 09:41 AM

There's really nothing special about the ecls I use. Besides, you'll need to adjust the ecl according to the source. The average bitrate is what CCEFront will target in the OPV and sizing pass.

Dialhot 04-09-2005 09:42 AM

Quote:

Originally Posted by danpos
Hi, mate! Could you post a .ecl file that you have got used it ? In this way I could to use as template for my encondings using new CCE 2.70 and CCEFront by Tylo?

TIA,

I use CCE 2.70 since a few weeks and the old reg that vmesquita did for 2.67 works... almost. The only thing to adjust is the encoding mode (even if it is set to OPV in the reg, CCE 2.70 shows it as CBR -> change this) and change the DC precision also.

Once you loaded, fixed and saved back the template, you can create your own ecl.

danpos 04-09-2005 10:10 AM

@Boulder

Thanks a lot, fella :!: :D

@Dialhot

Merci, camarade :!: :D

Prodater64 04-09-2005 10:53 AM

Quote:

Originally Posted by Boulder
The good thing is that the defaults can be set via an ini file so you'll just need the -roba parameter if you already have an ecl file.

I don't know nothing about CCE. How can I must to do a ecl file?

Dialhot 04-09-2005 11:05 AM

Quote:

Originally Posted by Prodater64
I don't know nothing about CCE. How can I must to do a ecl file?

If you use CSP prior to 2.66, and ecl is the only way to open an avs.
Starting with 2.66, it's not more necessary but an ecl can sttil be done, to save the parameters. It's like saving a tmpgenc project into a text file : you do not need to do that, but you have the possibility to do..

Prodater64 04-09-2005 11:15 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Prodater64
I don't know nothing about CCE. How can I must to do a ecl file?

If you use CSP prior to 2.66, and ecl is the only way to open an avs.
Starting with 2.66, it's not more necessary but an ecl can sttil be done, to save the parameters. It's like saving a tmpgenc project into a text file : you do not need to do that, but you have the possibility to do..

Yes, but what parameters set, when that window pop up?
encoding mode, etc., etc.
Also I know how to change the matrix inside ecl. :D

Boulder 04-09-2005 11:34 AM

All right, all right.

http://www.saunalahti.fi/sam08/progressive.reg
http://www.saunalahti.fi/sam08/interlaced.reg

Prodater64 04-09-2005 11:40 AM

Quote:

Originally Posted by Boulder
All right, all right.

Thank you mate.
Excuse this noob, please. :D

Dialhot 04-09-2005 12:31 PM

Quote:

Originally Posted by Prodater64
Yes, but what parameters set, when that window pop up?
encoding mode, etc., etc.
Also I know how to change the matrix inside ecl. :D

Go on vmesquita site, and retrieve the guide he did for KDVD using CCE. You will find with it 2 reg file that define templates for KVCD and KDVD into CCE. All settings are done in them, including the matrix :)
(the guide explain how to use them)

Prodater64 04-09-2005 12:34 PM

Quote:

Originally Posted by Dialhot
Go on vmesquita site, and retrieve the guide he did for KDVD using CCE. You will find with it 2 reg file that define templates for KVCD and KDVD into CCE. All settings are done in them, including the matrix :)
(the guide explain how to use them)

Yes, but I didn't understand what I have to change (that you say in a post before).

Dialhot 04-09-2005 12:49 PM

Quote:

Originally Posted by Prodater64
Yes, but I didn't understand what I have to change (that you say in a post before).

So you have CCE 2.70 ?
Okay. Load the template form VM into your registry. Then open the CCE. In the template menu you will find a new entry for KDVD and one for KVCD ([b]BE CAREFULL: VM reg files remove all templates delivered by CCE. But they are useless IMHO)

Select the KDVD template twice, this will open the window to change the template. There you can see that the encoding mode is CBR. Change it to 1-pass VBR. Change the DC precision to 8. Save the template.

Now, to encode a KDVD, just check that "KDVD" template is selected in the template menu and simply drag/drop you avs in the CCE window. All settings of the selected template will be applied to this job.

Prodater64 04-10-2005 02:59 AM

Thanks Phil.

Zyphon 04-10-2005 01:18 PM

@Boulder

I agree with you on AutoQ I have tested but was overly impressed.

I use Johnny's QCCE I like it's prediction method and it's pretty close for getting predicting results.

How do you find QCCE Boulder, do u like this tool also?

Boulder 04-10-2005 03:03 PM

I did use QCCE quite a lot before CCE 2.70 came along. Amnon's tool is a ripoff actually :wink: The only thing I found a little annoying was that the prediction is a bit slow due to the binary approach, and that you can't run a sizing pass if the OPV encode is off the target.

kwag 04-10-2005 03:19 PM

Quote:

Originally Posted by Boulder
Amnon's tool is a ripoff actually :wink:

OT-On:
I just keep wondering why doom (owner) permits Avalon (alias Amnon) on his site, when he is clearly aware of all the things he has ripped off :roll:
OT-Off

-kwag

Boulder 04-10-2005 03:44 PM

He's probably noticed that in the end they tend to be crap. A pile of bugs and weird behaviour - and it looks like he doesn't care much about MPEG2 stuff anyway. That OPV comment on the D9 front page was a little weird :roll:

danpos 04-10-2005 06:32 PM

@Boulder

ccefront is really a killer app ! 8O But I just wonder why in the sizepass the app don't call the rejig (transcoder) if I´ve chosen mode=2 ("transcode if opv size > 0%). For now, ccefront is doing all encoding again (no transcoding).

I´ve used:

Code:

ccefront -roba -size_mb 1640 -ecl HP.ecl -HP.avs
and the roba's section in ccefront.ini follows down:

Quote:

[RoBa]
rejig_exe=C:\Arquivos de programas\DVD-RB\ReJig\ReJig.exe
sample_percent=3
adjust_percent=3
prediction_tweak=1
szpass_mode=2
szpass_per_under=2.5
szpass_per_over=0
szpass_q_over=40
log.txt for first OPV:

Quote:

--------------------------------------------------------
ccefront v0.98, by Tylo (c) 2005
--------------------------------------------------------
- 2005-04-10 14:49:52
- WIN_XP
--------------------------------------------------------
- Input video : 2:37:18 (226295 frames, 23.976 fps)
- Input ecl file : C:\Documents and Settings\Danpos\Dados de aplicativos\CCEFront\tmp\v001.ecl
- Input avs file : D:\Compilation\SCRIPTS\HP_LRemoveDust.avs
- Output mpv file : D:\Compilation\SCRIPTS\HP_LRemoveDust.mpv
- Sample percent : 3
- Adjust % : 3 (accuracy tweak: yes)
- Sizing pass : Transcode if opv sz > 0% oversize
- Select ranges : every 400, select 12 frames
- Sample frames : 6792
- Using CCE SP version : 2.70.2.0
--------------------------------------------------------
- Target mpv BR : 1458 (300-8000) kbps, 1720147804 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=32: 1731 kbps, err=18.7%, size=2042877033, sample sz=63211080
- Sample encode : Q=42: 1532 kbps, err=5.1%, size=1808119859, sample sz=55947180
- Sample encode : Q=46: 1471 kbps, err=0.9%, size=1735877516, sample sz=53711844
- Sample encode : Q=47: Skipped
--------------------------------------------------------
- Determined Q : 47 = Round(46 + (0.9/1)) with 3% adjustment.
--------------------------------------------------------
- 2005-04-10 15:11:34
- Start movie OPV encoding (Q 47)
- OPV pass result: 97.8% on target (1682400860 / 1720147804) Speed factor: 0.97
--------------------------------------------------------
- 2005-04-10 17:53:26
- ccefront successfully finished
--------------------------------------------------------
log.txt for "sizing pass":
Quote:

--------------------------------------------------------
ccefront v0.98, by Tylo (c) 2005
--------------------------------------------------------
- 2005-04-10 17:53:26
- WIN_XP
--------------------------------------------------------
- Input video : 2:37:18 (226295 frames, 23.976 fps)
- Input ecl file : C:\Documents and Settings\Danpos\Dados de aplicativos\CCEFront\tmp\v002.ecl
- Input avs file : D:\Compilation\SCRIPTS\HP_LRemoveDust.avs
- Output mpv file : D:\Compilation\SCRIPTS\HP_LRemoveDust.mpv
- Sample percent : 3
- Adjust % : 3 (accuracy tweak: yes)
- Sizing pass : Transcode if opv sz > 0% oversize
- Select ranges : every 400, select 12 frames
- Sample frames : 6792
- Using CCE SP version : 2.70.2.0
--------------------------------------------------------
- Target mpv BR : 1458 (300-8000) kbps, 1720147804 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=32: 1731 kbps, err=18.7%, size=2042877033, sample sz=63211080
- Sample encode : Q=42: 1532 kbps, err=5.1%, size=1808119859, sample sz=55947180
- Sample encode : Q=46: 1471 kbps, err=0.9%, size=1735877516, sample sz=53711844
- Sample encode : Q=47: Skipped
--------------------------------------------------------
- Determined Q : 47 = Round(46 + (0.9/1)) with 3% adjustment.
--------------------------------------------------------
- 2005-04-10 18:14:28
- Start movie OPV encoding (Q 47)
- OPV pass result: 70.4% on target (1210318848 / 1720147804) Speed factor: 1.38
--------------------------------------------------------
- 2005-04-10 20:08:41
- ccefront successfully finished
--------------------------------------------------------
note: the encoding hasn't finished !!!

Should be a bug in ccefront?

TIA,

Boulder 04-11-2005 02:49 AM

Try adding quotes to the ReJig path, or alter the path so that it doesn't contain any spaces :
rejig_exe="C:\Arquivos de programas\DVD-RB\ReJig\ReJig.exe"

danpos 04-11-2005 08:33 AM

@Boulder

Thanks, mate! I'll follow your suggestion and I let you know about that.

Cheers,

Zyphon 04-15-2005 06:14 PM

Quote:

Originally Posted by Boulder
I did use QCCE quite a lot before CCE 2.70 came along. Amnon's tool is a ripoff actually :wink: The only thing I found a little annoying was that the prediction is a bit slow due to the binary approach, and that you can't run a sizing pass if the OPV encode is off the target.

Hi Boulder,

Did you mean that AutoQ is a bit slow if so then I agree AutoQ for me runs reallyi slow which is one of the reasons I dislike it.

Quote:

Originally Posted by kwag
OT-On:
I just keep wondering why doom (owner) permits Avalon (alias Amnon) on his site, when he is clearly aware of all the things he has ripped off :roll:
OT-Off

-kwag

I agree, I remember the problems he caused here with his rip-offs and he's still going.

Boulder 04-16-2005 02:00 AM

AutoQ just doesn't do the work it's supposed to do. The prediction engine doesn't work, you end up with under- or oversized encodes 99% of the time. There's some weird rounding when the sample size is calculated and this screws up things before they even start. Besides, from what I noticed in the posts I read in the AutoQ thread, Amnon mostly did predictions, he didn't do many encodes with those predicted values.

And it is slow as it uses the binary method for calculating the next Q. That is, in range 1-100 first encoding at Q50, then either Q75 or Q25 depending on the result and so on. It's slow and very frustrating if you notice that Q48 would have hit the target but the prediction goes 50->25->37->43->46->48.

I pointed him to Tylo's spreadsheet which would have helped him to speed up the process but he either didn't understand it or whatever :roll:

Zyphon 04-16-2005 02:46 AM

Hi Boulder,

Yeah I read all those posts over at D9 complaining about the undersizing prediction and compared to QCCE produced smaller than desired sizes.

Also like you said it is soooo SLOW! I don't use because of this.

The thing that annoyed me over at D9 is that Anmon didn't listen to any of the people's advice when they tried to tell him to use the algorithms that Johnny used in QCCE and stuck with his own inferior methods of calculating.

The only thing that puts me off CCEFront is that is CLI based I guess im lazy and like nice GUI's. :D

Sorry for the off-topic there guys. :oops:

Boulder 04-16-2005 03:10 AM

Tylo is preparing a simple GUI for the program, but I don't know when it will be out.

Zyphon 04-16-2005 03:12 AM

Quote:

Originally Posted by Boulder
Tylo is preparing a simple GUI for the program, but I don't know when it will be out.

Thanks Boulder, that will be great for lazy peeps like me. :lol:

Boulder 04-16-2005 03:18 AM

Actually there's not much you need to do with a GUI. I run the program with only the -roba parameter, all the default values can be set in its ini file. I adjust all the necessary CCE settings in CCE itself and save the ecl file which I use with CCEFront.

Prodater64 04-16-2005 04:11 AM

Quote:

Originally Posted by Boulder
Actually there's not much you need to do with a GUI. I run the program with only the -roba parameter, all the default values can be set in its ini file. I adjust all the necessary CCE settings in CCE itself and save the ecl file which I use with CCEFront.

Then, is it enough one ecl for progressive and another for interlaced material, or each one must to be adjusted for each source?

Boulder 04-16-2005 04:17 AM

The ecl contains all the information, that is, everything you see in the CCE GUI itself. Thus, the same one cannot be used. You must use the templates for the initial settings, load the avs script and then just change the average bitrate you desire and save the ecl file. With CCEFront you must use VBR mode in CCE, that's where the program takes the target bitrate (unless you specify things manually as a commandline parameter).

Consider CCEFront the same for CCE as CQMatic is for TMPGEnc.

Prodater64 05-12-2005 12:13 PM

Quote:

Originally Posted by Boulder

Thanks Boulder. I would like recall your attention, if i'm not wrong, about that those reg files, have QLB matrix inside, isn't it?

About your spreadsheet of your last post, could you send me copy or post here equations.
Thank you.

Boulder 05-12-2005 12:23 PM

The matrix is QLB with the notch. I like to quantize less so I took QLB and added the notch pattern. You can change it if you like, of course. Just open the template (kind of "select the template twice" and you get to edit it), change the matrix to your liking and choose "Replace".

Here's the spreadsheet : http://www.saunalahti.fi/sam08/kbps_eng.xls . It should be pretty straightforward, but ask if you can't figure out something. The average bitrate you should use for a movie is in the lower part (Avg kbps for final video).

Prodater64 05-12-2005 12:28 PM

Quote:

Originally Posted by Boulder
The matrix is QLB with the notch. I like to quantize less so I took QLB and added the notch pattern. You can change it if you like, of course. Just open the template (kind of "select the template twice" and you get to edit it), change the matrix to your liking and choose "Replace".

Here's the spreadsheet : http://www.saunalahti.fi/sam08/kbps_eng.xls . It should be pretty straightforward, but ask if you can't figure out something. The average bitrate you should use for a movie is in the lower part (Avg kbps for final video).

Thank you Boulder. I have learn already how to change the matrix, but it took some time until I have seen that it was not the KVCD notch matrix. Not even knew that you can take any matrix and put the notch pattern inside.

Prodater64 06-02-2005 08:42 AM

Quote:

Originally Posted by Boulder
Try adding quotes to the ReJig path, or alter the path so that it doesn't contain any spaces :
rejig_exe="C:\Arquivos de programas\DVD-RB\ReJig\ReJig.exe"

Is it a good practice to use rejig to downsize an oversized stream?

Dialhot 06-02-2005 09:09 AM

Rejig is to m2v what DVDShrink is on a complete DVD.
You can use also the recoder include into DVDLab-Pro. Or you can author the DVD without reducing the size of the M2V and you will apply DVDShrink on the generated DVD.

Rejig is like all other tools in this category : nothing very good to wait from them, but for a little ratio (90% or 80% maximum), they make you save a lot of time.

rds_correia 09-04-2005 03:18 PM

Quote:

Originally Posted by Boulder

Hi guys,
I was trying to download these templates but the server says that they are no longer hosted.
Could somebody please upload the templates again.
Thanks guys

Prodater64 09-04-2005 03:43 PM

Quote:

Originally Posted by rds_correia
Quote:

Originally Posted by Boulder

Hi guys,
I was trying to download these templates but the server says that they are no longer hosted.
Could somebody please upload the templates again.
Thanks guys

Take it

http://s21.yousendit.com/d.aspx?id=0...81N2PQY9FETT6T

rds_correia 09-04-2005 05:22 PM

Thanks Pro :)
I owe you one :lol:.
Cheers

Prodater64 09-04-2005 07:34 PM

Quote:

Originally Posted by rds_correia
Thanks Pro :)
I owe you one :lol:.
Cheers

Your welcome.


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.