Log in

View Full Version : Have you ever seen this CCE error?


redfive19
24th November 2004, 15:08
Hey guys,
This is happening when I try and back up my 1st season 4 dvd of MR SHOW. I've re-ripped this and even tried it on a different machine. I keep getting this error when I run DVD RB on it. Does anyone have any clue? I've never seen this and I've used CCE for a while.

Thanks in advance!

-redfive

EDIT: Dont know why you can't see the attachement but here's what the error says: "CCE ENCODING FAILED: VBR VBV ovf frame #72 (00:00:02:23) B 36124 max 35561.88 pln 32983.22 rel 502.13.1.01 qsv 96.00 -> 96.01"

jdobbs
24th November 2004, 15:23
You might want to try reencoding that segment with CBR if it is small (which is probably is).

redfive19
24th November 2004, 15:26
How do I specify that?

Faust2
24th November 2004, 15:27
I had something similar, a buffer overflow error IIRC. I suppose its related to a glitch in the source. I succeeded with encoding this particular segment in quenc. At first you have to stop the encoding process. Then you have to check out the bitrate for the offending segment in the .ecl-file, then change the related .avs-file to converttoyuy12() and set up quenc manually to encode just this segment. Then count the number of successfully encoded m2vs in your work dir (double check with the related avs's to be sure) and set encode_progress in rebuilder.inf to this number. Then resume the encode and rb will start after the offending segment.

edit: or try cbr first, as jdobbs said. you have to edit the ecl.-file to do that, but i don't know exactly how :)

jdobbs
24th November 2004, 17:37
Originally posted by redfive19
How do I specify that? You change the value of "Video_Type=" in the .ECL file. But unfortunately the correct value changes depending upon which version of CCE you have.

redfive19
26th November 2004, 14:36
Okay, i figured it out. It was failing on the third pass so I just chose one pass vbr and now dvd came out 14 megs oversized. There's nothing I could even cut out to get it down to dvd size. What'd I do wrong?

Faust2
9th December 2004, 11:03
Originally posted by jdobbs
You might want to try reencoding that segment with CBR if it is small (which is probably is).

I ran into this error myself. CCE (with rbv 0.68) aborted with encode init failed. It turned out to be a very small segment (40 frames) of black, so i edited the ecl to cbr and changed the cbr encoding br to the right value. After the 3rd repetition of this behavior, i went through the whole ecl and changed all the short segments in this way (some 40 segments :mad: ). So far it seems to be working now. Any idea how this error occured? IIRC, shouldn't all of these small segments be encoded as cbr by default? Oh, and i didn't do any preprocessing, apart from using rb-opt to use ultra low br matr and undot.deen on the extras.(hope i didn't screw things up there) Other settings: half&half enabled, disable interlaced.

greetings, faust

pg55555
9th December 2004, 19:47
This cce_init_failed() (or something similar) error is a known problem with RB in this situation:
- Cell size 60 frames or less but more than one (for 1 frame cells RB automatically set CBR)
- Half D1

All the cases I have encountered so far are for blank cells.

The workaround is what you have done: edit the rebuilder.ecl file to change the encoding to CBR for all the small segments for those VOBIDs set to Half D1 (it is not necessary for those that not)

jdobbs have mentioned before it would be easy to make RB to set the encode of these cells to CBR automaticaly, as it happens today with stills (one frame cells). But apparently is not high in his priority list :(

If there are a lot of these cells (I just backed up one of Sex and the City disks and it have 60) the backup can came out a little oversized. In thoose cases just run the RB output through Shrink, trying to get to the target size by just compressing the menus (which were not compressed by RB) and only if necessary the main movie (the ratio would by 98% and up). This method is usefull for any small oversized output (as that reported by redfive19)

redfive19
9th December 2004, 19:50
Thanks so much for your tips! I will try these on the problem disc when I get home from work.

Faust2
9th December 2004, 21:01
Thanks for the feedback; i didn't know the problem was this well known. As i know jdobbs, it will be fixed more sooner then later :)

jdobbs
9th December 2004, 23:50
Sorry I forgot about this one.

Does it only happen when the output is half-d1?

wmansir
10th December 2004, 00:11
I think there are two different errors getting confused here.

VBV ovf occurs when the birate is too low for a complex scene. HBO's 'static' logo is a common cause and probably the culprit here.

The error that occurs with short clips (Usually under 60 frames and half-D1) is different. I believe that is "cce_encoding_init() failed".

jptheripper
10th December 2004, 16:15
i can confirm what wmansir said.

a second workaround for the "cce_encoding_init() failed":
for me it always at the end of the first vbr pass (vaf created fine). Changing vbr passes to 1 for those short cells at half d1 with bitrates that were low (sub 200-300) allowed for successful re-encoded and rebuild

pg55555
10th December 2004, 19:17
jdobbs - wmansir

Sorry for creating confussion.

YES, I was referring to "cce_encoding_init() failed", not the original error of this thread (I got confused by Faust2 post-my fault). And as wmansir said, in my experience it happens with Half D1 and short cells. It does not happens, in my case, with full size frames (720 x 480)

Regarding bitrate, I usually have the Half D1 and Half Space for Extras selected, and even reduce the extras bitrate a little more with RBOpt, so the bitrate where this error occurs is in the 750-1200 range. Í'm not saying it happens only in this range, only that it is the range where I have experienced it. I have not tried other ranges.

redfive19
10th December 2004, 20:25
funny you said that about the HBO thing since the dvd I am trying to backup is my Mr Show Season 4 DVD....also, it's not half d1.

gabo
11th December 2004, 20:31
sorry for my englisch but

i have the same problem now with my dvd4 of the live aid concert there,s only 2 big one's en the rest are extra's en an average of 300 MB iput 2 links for screenshots i made of the failure maybe someone can help me with this problem now the rebuild fase stops because he has a ifo update failure

screenshots 1
http://img105.exs.cx/img105/5233/Screen4.jpg


screenshot 2
http://img105.exs.cx/img105/2927/screen23.jpg

Toranaga
13th December 2004, 10:34
Originally posted by redfive19
Okay, i figured it out. It was failing on the third pass so I just chose one pass vbr and now dvd came out 14 megs oversized. There's nothing I could even cut out to get it down to dvd size. What'd I do wrong?

I have a backup that keeps failing when encoding the very last segment of the disc. CCE just crashes. When I look through the ecl files and ini it looks like the last segment only has 1 frame. How can I change to CBR like you say and try encoding again?

pg55555
13th December 2004, 15:43
jdobbs explains how in the fourth post of this thread
You change the value of "Video_Type=" in the .ECL file. But unfortunately the correct value changes depending upon which version of CCE you have.
For CCE 2.66 is from Video_Type=4 (VBR) to Video_Type=1 (CBR)

Toranaga
13th December 2004, 16:15
Ok, I am using SP 2.67. Anyone know the types for that?

Trahald
13th December 2004, 16:55
Just so that the answer will help anyone with the question, for any version of cce, just load an avi/avs file, change the encode method to cbr (or whatever method(s) you would like the video_type code for and just save the ecl. load that ecl in notepad and viola.

Toranaga
13th December 2004, 17:43
Well I tried opening the ecl in CCE and seems no matter what I select CCE crashes :(
Maybe it just can't handle 1 frame?

Toranaga
13th December 2004, 17:48
Is there a way to just remove that one frame from the whole process?

pg55555
13th December 2004, 20:56
Just an idea: Use RBOpt to encode the VOBID for that frame in OPV.

It has worked for me in some cases where CCE VBR choked.

Faust2
13th December 2004, 21:55
OK, sorry if i brought confusion. Yes, its two errors we're talking about: redfive reported his vbr vbv ovf ... error, then jdobbs indicated a possible workaround for short segments, which is what i remembered (and applied succesfully) when i had my ccc_encode_init_failed error. Yes, so far as i can tell, its related to half d1, short (<60 fr) segments and low br (in my case sometimes 100 mbits/s, because of black frames...). Yes, cbr fixed it nicely.

Now, to complicate things even more, I had some time ago another cce error, which was iirc some buffer overflow error, and i solved it whith encoding this particular segment with quenc, as i described at my first post to this thread. I THINK i tried before with cbr, to no avail. Maybe this is of some help...

If i can provide further information, just tell me...

All the best...

Toranaga
13th December 2004, 22:20
When I load the ECL file it seems the one frame IS allready set at CBR.

Faust2
14th December 2004, 17:51
Originally posted by Toranaga
When I load the ECL file it seems the one frame IS allready set at CBR.

AFAIK, the default IS to encode one-frame-segments, like stills, in cbr...

Toranaga
14th December 2004, 19:02
Just tried again with 0.69 but still the same crash :(

Here are the values concerning the segment that crashes:

Rebuilder.ini:

[V01003700003001]
SCR=,000
PTS=4680,000
Frame_Rate_Code=3
Pulldown=0
Structure=3
Frames=1
Last_Sector=2670131
Reduction=82,3
Aspect_Ratio=3
HalfD1=0
EndPTM=47880,000

Rebuilder.ecl:

[item]
title=V01003700003001
aud_out=0
vaf_file=F:\TEMP\D2VAVS\V01003700003001.vaf
aud_file=F:\TEMP\D2VAVS\V01003700003001.mpa
file_focused=0
packet_size=2048
width=720
height=576
frame_rate_idx=3
cbr_brate=6000
vbr_brate_avg=819
vbr_brate_min=0
vbr_brate_max=8552
seq_endcode=1
dvd=0
half_width=0
half_height=0
lum_level=0
aspect_ratio=3
gop_m=3
gop_nm=4
gop_hdr=12
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
samples_per_sec=44100
stereo=2
brate_idx=7
crc=1
progressive=0
alternate_scan=1
intra_dc_prec=2
aud_mode=0
tc_ref_frm=0
drop_frame=0
fix_vbv_delay=0
letter_box=0
pulldown_detect=0
offset_line=0
create_new_vaf=1
credits_tweak=0
credits_start=0x00000
credits_brate=1000
h_filter=0
h_filter_idx=8
dither=0
dither_max=8
qmat_idx=0
quality_prec=16
timecode=0x0000000
video_type=1
vid_file0=F:\TEMP\D2VAVS\V01003700003001.m2v
vid_file1=F:\TEMP\D2VAVS\V01003700003001.m2v
vid_out=1
vaf_out=1
opv_q_factor=22
opv_brate_min=0
opv_brate_max=6841
vbr_bias=25
vbr_pass=4
use_filter=0
filter_val=6
non_linear=1
top_first=0
mpeg1=0
mpeg1_cps=1

[file]
name=F:\TEMP\D2VAVS\V01003700003001.avs
frame_first=0
frame_last=1
encode_first=0
encode_last=1

Item.ecl:

[item]
title=V01003700003001
aud_out=0
vaf_file=F:\TEMP\D2VAVS\V01003700003001.vaf
aud_file=F:\TEMP\D2VAVS\V01003700003001.mpa
file_focused=0
packet_size=2048
width=720
height=576
frame_rate_idx=3
cbr_brate=6000
vbr_brate_avg=819
vbr_brate_min=0
vbr_brate_max=8552
seq_endcode=1
dvd=0
half_width=0
half_height=0
lum_level=0
aspect_ratio=3
gop_m=3
gop_nm=4
gop_hdr=12
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
samples_per_sec=44100
stereo=2
brate_idx=7
crc=1
progressive=0
alternate_scan=1
intra_dc_prec=2
aud_mode=0
tc_ref_frm=0
drop_frame=0
fix_vbv_delay=0
letter_box=0
pulldown_detect=0
offset_line=0
create_new_vaf=1
credits_tweak=0
credits_start=0x00000
credits_brate=1000
h_filter=0
h_filter_idx=8
dither=0
dither_max=8
qmat_idx=0
quality_prec=16
timecode=0x0000000
video_type=1
vid_file0=F:\TEMP\D2VAVS\V01003700003001.m2v
vid_file1=F:\TEMP\D2VAVS\V01003700003001.m2v
vid_out=1
vaf_out=1
opv_q_factor=22
opv_brate_min=0
opv_brate_max=6841
vbr_bias=25
vbr_pass=4
use_filter=0
filter_val=6
non_linear=1
top_first=0
mpeg1=0
mpeg1_cps=1

[file]
name=F:\TEMP\D2VAVS\V01003700003001.avs
frame_first=0
frame_last=1
encode_first=0
encode_last=1