PDA

View Full Version : Max bitrate wrong in Rebuilder: v1.10.6 and CCE SP2


Fishman0919
8th September 2006, 17:50
I just tried a few movies with Rebuilder: v1.10.6 and CCE SP2 and noticed the max bitrate avg was a little low....around 4050k. I did 1 of the same movies with CCE Basic Version: 2.70.1.11 and the max bitrate avg was around 8500k.

I noticed that the OPV max was the same as CCE Basic

; CCE-SP2 Trial Version -- Encoder Control List
; Created by DVD Rebuilder


title=V01002400001025
vi_file=C:\DVD-RB TEMP\D2VAVS\V01002400001025.vaf
aud_file=C:\DVD-RB TEMP\D2VAVS\V01002400001025.mpa
xe_ps_pkt_siz=2048
ve_is_32=0
ve_w=720
ve_h=480
ve_frate_idx=1
ve_CBR_brate_avg_idx=7737
ve_VBR_brate_avg_idx=7737
ve_VBR_brate_min_idx=750
[I]ve_VBR_brate_max_idx=10237
ve_SEQ_END=0
ve_DVD=0
ve_lum_level=0
ve_adjust_q_matrix=1
ve_ASR=3
ve_P_cnt=3
ve_B_cnt=2
ve_GOP_cnt=12
ve_SEQ_cnt=1
ve_closed_GOP_all=0
ve_fixed_GOP=0
ve_rate_conv=0
ae_mpg_brate_idx=7
ae_mpg_crc=1
pic0.progressive_frame=1
pic0.ALS=0
pic0.intra_dc_precision_9_max=1
pic0.intra_dc_precision_10_max=1
ve_top_first=1
ve_ofs_lines=0
ae_file_enable=0
xe_ref_frm=0
xe_drop_frame=0
ve_CBR_fixed_VBV_delay=0
pic0.letter_box=0
ve_is_32=0
ve_i32_pulldown=0
ve_VBR_info_create_always=1
pic0.h_filter=0
pic0.h_filter_idx=8
pic0.dither=0
pic0.dither_Y_max=8
pic0.dither_C_max=4
xe_ref_tc=00:00:00:00
vi_file_enable=1
pic0.q_char_f=25
pic0.v_filter=0
pic0.v_filter_val=6
ve_exec_mode=2
vid_file0=C:\DVD-RB TEMP\D2VAVS\V01002400001025.m2v
vid_file1=C:\DVD-RB TEMP\D2VAVS\V01002400001025.m2v
ve_OPV_q_factor_idx=20
ve_OPV_brate_min_idx=0
ve_OPV_brate_max_idx=20582
ve_VBR_VBR_CBR=25
ve_VBR_pass=2

[file]
vid.path=C:\DVD-RB TEMP\D2VAVS\V01002400001025.avs
vid.guid={7638F668-64BC-4DE3-8C27-5336A741F0EF}
vid.duration=5340000/23976
vid.frate=23976/1000
vid.width=720
vid.step=1440
vid.height=480
vid.fcc0=YUY2
vid.fcc1=YUY2
vid.origin=2
vid.format=2
vid.offset=0
vid.in_p=0
vid.out_p= 26726726
frame_last=5340

jdobbs
8th September 2006, 18:03
You have to be very careful in reviewing these things when they (CCE) make such huge ECL changes. You should go back and review some ECLs created by SP2 alone. The bitrate scale in SP2 isn't the same as SP... all the bitrates are 2.5x the "true" bitrate... I have no idea why -- only Custom Technology could tell you that, I just followed what I saw. Apparently the bitrate's "idx" is different than the "bitrate"???

Load the ECL and see what the encoder tells you is the bitrates... they'll match what you see in SP.

jdobbs
8th September 2006, 18:15
Another note in this light to all NTSC users:

When you see bitrates that you don't like... for example a MAX that looks too low to you -- give DVD-RB some credit and don't change it -- and if you do, change it at your own peril and don't complain when you get playback stutter. Remember that NTSC bitrate values can be 25% higher when they get converted back to 29.97 from 23.976 in the REBUILD phase. So if you decided you wanted to change it to 9000, for example -- you might get a result of 11250 which is way outside of specifications!

Just a warning.

Fishman0919
8th September 2006, 18:41
Heres a ecl file from both CCE SP2 and CCE Basic


SP2 vbr max=4223
SP2 OPV max=8026
Basic vbr max=8026

; CCE-SP2 Trial Version -- Encoder Control List
; Created by DVD Rebuilder

[item]
title=V01000400001005
vi_file=C:\DVD-RB TEMP\D2VAVS\V01000400001005.vaf
aud_file=C:\DVD-RB TEMP\D2VAVS\V01000400001005.mpa
xe_ps_pkt_siz=2048
ve_is_32=0
ve_w=720
ve_h=480
ve_frate_idx=1
ve_CBR_brate_avg_idx=8057
ve_VBR_brate_avg_idx=8057
ve_VBR_brate_min_idx=750
ve_VBR_brate_max_idx=10557
ve_SEQ_END=0
ve_DVD=0
ve_lum_level=0
ve_adjust_q_matrix=1
ve_ASR=3
ve_P_cnt=3
ve_B_cnt=2
ve_GOP_cnt=12
ve_SEQ_cnt=1
ve_closed_GOP_all=0
ve_fixed_GOP=0
ve_rate_conv=0
ae_mpg_brate_idx=7
ae_mpg_crc=1
pic0.progressive_frame=1
pic0.ALS=0
pic0.intra_dc_precision_9_max=1
pic0.intra_dc_precision_10_max=1
ve_top_first=1
ve_ofs_lines=0
ae_file_enable=0
xe_ref_frm=0
xe_drop_frame=0
ve_CBR_fixed_VBV_delay=0
pic0.letter_box=0
ve_is_32=0
ve_i32_pulldown=0
ve_VBR_info_create_always=1
pic0.h_filter=0
pic0.h_filter_idx=8
pic0.dither=0
pic0.dither_Y_max=8
pic0.dither_C_max=4
xe_ref_tc=00:00:00:00
vi_file_enable=1
pic0.q_char_f=25
pic0.v_filter=0
pic0.v_filter_val=6
ve_exec_mode=2
vid_file0=C:\DVD-RB TEMP\D2VAVS\V01000400001005.m2v
vid_file1=C:\DVD-RB TEMP\D2VAVS\V01000400001005.m2v
ve_OPV_q_factor_idx=20
ve_OPV_brate_min_idx=0
ve_OPV_brate_max_idx=20065
ve_VBR_VBR_CBR=25
ve_VBR_pass=2

[file]
vid.path=C:\DVD-RB TEMP\D2VAVS\V01000400001005.avs
vid.guid={7638F668-64BC-4DE3-8C27-5336A741F0EF}
vid.duration=4044000/23976
vid.frate=23976/1000
vid.width=720
vid.step=1440
vid.height=480
vid.fcc0=YUY2
vid.fcc1=YUY2
vid.origin=2
vid.format=2
vid.offset=0
vid.in_p=0
vid.out_p= 20240240
frame_last=4044

; Cinema Craft Encoder Basic -- Encoder Control List
; Created by DVD Rebuilder

[item]
title=V01000400001005
aud_out=0
vaf_file=C:\DVD-RB TEMP\D2VAVS\V01000400001005.vaf
aud_file=C:\DVD-RB TEMP\D2VAVS\V01000400001005.mpa
file_focused=0
packet_size=2048
width=720
height=480
frame_rate_idx=1
cbr_brate=3223
vbr_brate_avg=3223
vbr_brate_min=300
vbr_brate_max=8026
seq_endcode=0
dvd=0
half_width=0
half_height=0
lum_level=0
adjust_q_matrix=1
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=1
alternate_scan=0
intra_dc_prec=0
top_first=1
offset_line=0
aud_mode=0
tc_ref_frm=0
drop_frame=0
fix_vbv_delay=0
letter_box=0
pulldown_detect=0
vid_file=C:\DVD-RB TEMP\D2VAVS\V01000400001005.m2v
video_type=8
tc_offset=0
remove_vaf=0
pict_type=0
pict_complexity=2
filter_off=1
filter_on=0
pict_qchar=25
name=C:\DVD-RB TEMP\D2VAVS\V01000400001005.avs
frame_first=0
frame_last=4044
encode_first=0
encode_last=4044

jdobbs
8th September 2006, 18:44
Hmm... So it should have been set to 20062 rather than 10557... I'll look at it.

jdobbs
8th September 2006, 18:57
Yep, found it and fixed it. Sorry I doubted you, Fishman0919! I was too quick in my answer.

This also explains why all my SP2 encodes in testing had a tendency to undersize!

Good eye.

jdobbs
8th September 2006, 19:17
@Fishman0910

Here's (http://www.jdobbs.com/test/DVD-RB_v1.10.6b_test.zip) a test version. It should correct the maximum bitrate error in the beta SP2 code. Just replace REBUILDER.EXE with the one in the zip file.

Fishman0919
8th September 2006, 19:40
Thanks jdobbs