[x264-devel] Entry into Scaling List
ST
st599 at zepler.net
Mon Jul 23 12:00:47 CEST 2012
>> Hi,
>> I am attempting to add a scaling list for 8x8 Intra Frame Luminance
>> (Sl_8x8_Intra_Y in scaling list index 6, as per ITU-T H.264 table
>> 7-2) encoding for a video I am encoding in x264 (compiled for 10-bit)
>> According to http://mewiki.project357.com/wiki/X264_Settings#cqm
>> there should be a --cqm8iy switch available, but attempting to run
>> x264 with the following parameter:
>> "--cqm8iy
>>
16,19,20,23,24,26,32,42,18,19,22,24,26,32,36,42,18,20,23,24,26,32,36,63,19,20,23,26,32,36,42,63,20,22,24,26,32,36,59,63,22,23,24,26,32,36,59,68,22,23,24,26,32,42,59,68,22,23,24,26,36,42,59,72
>> throws the following error message:
>> "x264: unrecognized option '--cqm8iy'"
>Look careful there is no such option in your link because there is no
>such option in x264 cli.
--cqm4iy, --cqm4ic, --cqm4py, --cqm4pc: Set individual quant matrices. Same
switches exist for cqm8
Suggests that there should be a --cqm8iy.
>> Running with
>> "--cqm8i
>>
16,19,20,23,24,26,32,42,18,19,22,24,26,32,36,42,18,20,23,24,26,32,36,63,19,20,23,26,32,36,42,63,20,22,24,26,32,36,59,63,22,23,24,26,32,36,59,68,22,23,24,26,32,42,59,68,22,23,24,26,36,42,59,72
>> runs fine, however, when running h264_parse, the following is observed:
>> " Pic Scaling List[3] Present Flag: 0
>> Pic Scaling List[4] Present Flag: 0
>> Pic Scaling List[5] Present Flag: 0
>> Pic Scaling List[6] Present Flag: 0
>> Pic Scaling List[7] Present Flag: 0"
>> How does one set Pic_Scaling_List[6] from the commandline?
It works here http://privatepaste.com/25a4861dde . I used command line:
x264 foreman_cif_352x288.yuv -o test.h264 --cqm8i
16,19,20,23,24,26,32,42,18,19,22,24,26,32,36,42,18,20,23,24,26,32,36,63,19,20,23,26,32,36,42,63,20,22,24,26,32,36,59,63,22,23,24,26,32,36,59,68,22,23,24,26,32,42,59,68,22,23,24,26,36,42,59,72
Post your full command line.
x264 --profile high422 --level 4.1 -I 1 -i 1 -b 0 -r 0 --no-cabac --bitrate
100000 --8x8dct --partitions i8x8 --nr 100 --videoformat component --range
pc --colorprim bt709 --colormatrix bt709 --transfer bt709 --overscan show
--tff --chroma-qp-offset 5 --cqm4ic
16,20,26,32,20,26,32,38,26,32,38,44,32,38,44,50 --cqm8i
16,19,20,23,24,26,32,42,18,19,22,24,26,32,36,42,18,20,23,24,26,32,36,63,19,20,23,26,32,36,42,63,20,22,24,26,32,36,59,63,22,23,24,26,32,36,59,68,22,23,24,26,32,42,59,68,22,23,24,26,36,42,59,72
--nal-hrd cbr --pic-struct --aud --fps 25 -v --muxer raw -o $2 $1
Which gives the following Picture Parameter Set:
Nal length 25 start code 4 bytes
ref 3 type 8 Picture parameter set
pic_parameter_set_id: 0
seq_parameter_set_id: 0
entropy_coding_mode_flag: 0
pic_order_present_flag: 1
num_slice_groups_minus1: 0
num_ref_idx_l0_active_minus1: 0
num_ref_idx_l1_active_minus1: 0
weighted_pred_flag: 0
weighted_bipred_idc: 0
pic_init_qp_minus26: 0
pic_init_qs_minus26: 0
chroma_qp_index_offset: 3
deblocking_filter_control_present_flag: 1
constrained_intra_pred_flag: 0
redundant_pic_cnt_present_flag: 0
transform_8x8_mode_flag: 1
pic_scaling_matrix_present_flag: 1
Pic Scaling List[0] Present Flag: 0
Pic Scaling List[1] Present Flag: 1
delta: 8
scaling list[1][0]: 16
delta: 4
scaling list[1][1]: 20
delta: 0
scaling list[1][2]: 20
delta: 6
scaling list[1][3]: 26
delta: 0
scaling list[1][4]: 26
delta: 0
scaling list[1][5]: 26
delta: 6
scaling list[1][6]: 32
delta: 0
scaling list[1][7]: 32
delta: 0
scaling list[1][8]: 32
delta: 0
scaling list[1][9]: 32
delta: 6
scaling list[1][10]: 38
delta: 0
scaling list[1][11]: 38
delta: 0
scaling list[1][12]: 38
delta: 6
scaling list[1][13]: 44
delta: 0
scaling list[1][14]: 44
delta: 6
scaling list[1][15]: 50
Pic Scaling List[2] Present Flag: 1
delta: 8
scaling list[2][0]: 16
delta: 4
scaling list[2][1]: 20
delta: 0
scaling list[2][2]: 20
delta: 6
scaling list[2][3]: 26
delta: 0
scaling list[2][4]: 26
delta: 0
scaling list[2][5]: 26
delta: 6
scaling list[2][6]: 32
delta: 0
scaling list[2][7]: 32
delta: 0
scaling list[2][8]: 32
delta: 0
scaling list[2][9]: 32
delta: 6
scaling list[2][10]: 38
delta: 0
scaling list[2][11]: 38
delta: 0
scaling list[2][12]: 38
delta: 6
scaling list[2][13]: 44
delta: 0
scaling list[2][14]: 44
delta: 6
scaling list[2][15]: 50
Pic Scaling List[3] Present Flag: 0
Pic Scaling List[4] Present Flag: 0
Pic Scaling List[5] Present Flag: 0
Pic Scaling List[6] Present Flag: 0
Pic Scaling List[7] Present Flag: 0
second_chroma_qp_index_offset: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20120723/201f5045/attachment.html>
More information about the x264-devel
mailing list